Mercurial > hg > easyhg
comparison filestatuswidget.cpp @ 319:1aba0914dcfc filelist_right_button_menu
Add comment listing which menu functions are desired where
author | Chris Cannam |
---|---|
date | Wed, 02 Mar 2011 13:25:49 +0000 |
parents | e4284fab6962 |
children | adb14d3f780f |
comparison
equal
deleted
inserted
replaced
318:124a3ea9fafb | 319:1aba0914dcfc |
---|---|
171 m_noModificationsLabel->setText | 171 m_noModificationsLabel->setText |
172 (tr("<qt>You have no uncommitted changes.</qt>")); | 172 (tr("<qt>You have no uncommitted changes.</qt>")); |
173 } | 173 } |
174 } | 174 } |
175 | 175 |
176 | |
177 | |
178 //!!! So, we want a right-button menu on each list view. With which options? | |
179 // | |
180 // Modified -- commit, revert, remove, diff, annotate | |
181 // Added -- commit, revert, remove | |
182 // Removed -- commit, revert, add | |
183 // InConflict -- merge, mark resolved (can't do revert for a single file during merge? or can we?), annotate? | |
184 // Missing -- remove, restore | |
185 // Unknown -- add, ignore (!) | |
186 // Clean -- remove, annotate | |
187 // Ignored -- un-ignore? but how?, edit .hgignore | |
188 // | |
189 // or by function: | |
190 // | |
191 // commit -- Modified, Added, Removed | |
192 // revert -- Modified, Added, Removed, InConflict, Missing (but call it restore?) | |
193 // diff -- Modified | |
194 // remove -- Clean, Modified, Missing, Added | |
195 // add -- Unknown, Removed | |
196 // merge (redo) -- InConflict | |
197 // mark resolved -- InConflict | |
198 // annotate -- Clean, Modified, Added?, Removed?, Missing? | |
199 // ignore -- Unknown | |
200 // un-ignore (?), edit hgignore -- Ignored | |
201 | |
202 | |
203 | |
176 void FileStatusWidget::itemSelectionChanged() | 204 void FileStatusWidget::itemSelectionChanged() |
177 { | 205 { |
178 DEBUG << "FileStatusWidget::itemSelectionChanged" << endl; | 206 DEBUG << "FileStatusWidget::itemSelectionChanged" << endl; |
179 | 207 |
180 QListWidget *list = qobject_cast<QListWidget *>(sender()); | 208 QListWidget *list = qobject_cast<QListWidget *>(sender()); |