diff filestatuswidget.h @ 100:0dc7305acbc8

* Helpful texts
author Chris Cannam
date Wed, 24 Nov 2010 19:53:36 +0000
parents d1be9712818a
children 0bd32aedc6f6
line wrap: on
line diff
--- a/filestatuswidget.h	Wed Nov 24 17:29:31 2010 +0000
+++ b/filestatuswidget.h	Wed Nov 24 19:53:36 2010 +0000
@@ -68,12 +68,17 @@
     QLabel *m_remoteURLLabel;
     
     FileStates m_fileStates;
+    QMap<FileStates::State, QString> m_simpleLabels;
+    QMap<FileStates::State, QString> m_descriptions;
     QMap<FileStates::State, QListWidget *> m_stateListMap;
+    QString m_highlightExplanation;
 
     QFileInfo *m_dateReference;
     QStringList m_selectedFiles;
 
     void updateWidgets();
+    QString labelFor(FileStates::State, bool addHighlightExplanation = false);
+    void setLabelFor(QWidget *w, FileStates::State, bool addHighlightExplanation);
 };
 
 #endif