Mercurial > hg > easyhg
diff filestatuswidget.h @ 199:f16fe0db11f3
* Add "Show All Files" toggle to show ignored and clean files
* Clear selection when Esc is pressed
* Don't delete and recreate the filesystem watcher on stat, just update it
author | Chris Cannam |
---|---|
date | Mon, 03 Jan 2011 22:02:08 +0000 |
parents | 6c15700f4103 |
children | e67bd8abc3e3 |
line wrap: on
line diff
--- a/filestatuswidget.h Mon Jan 03 14:31:22 2011 +0000 +++ b/filestatuswidget.h Mon Jan 03 22:02:08 2011 +0000 @@ -27,6 +27,7 @@ class QPushButton; class QFileInfo; class ClickableLabel; +class QCheckBox; class FileStatusWidget : public QWidget { @@ -70,6 +71,7 @@ signals: void selectionChanged(); + void showAllChanged(bool); public slots: void clearSelections(); @@ -90,6 +92,8 @@ QLabel *m_noModificationsLabel; + QCheckBox *m_showAllFiles; + FileStates m_fileStates; QMap<FileStates::State, QString> m_simpleLabels; QMap<FileStates::State, QString> m_descriptions;