comparison filestatuswidget.h @ 186:6c15700f4103

* Open local folder in Finder/Explorer/whatever when its path is clicked on
author Chris Cannam
date Mon, 20 Dec 2010 14:37:35 +0000
parents 5c262ac73948
children f16fe0db11f3
comparison
equal deleted inserted replaced
185:ec2baee80833 186:6c15700f4103
24 24
25 class QLabel; 25 class QLabel;
26 class QListWidget; 26 class QListWidget;
27 class QPushButton; 27 class QPushButton;
28 class QFileInfo; 28 class QFileInfo;
29 class ClickableLabel;
29 30
30 class FileStatusWidget : public QWidget 31 class FileStatusWidget : public QWidget
31 { 32 {
32 Q_OBJECT 33 Q_OBJECT
33 34
73 public slots: 74 public slots:
74 void clearSelections(); 75 void clearSelections();
75 76
76 private slots: 77 private slots:
77 void itemSelectionChanged(); 78 void itemSelectionChanged();
79 void openButtonClicked();
78 80
79 private: 81 private:
80 QString m_localPath; 82 QString m_localPath;
81 QLabel *m_localPathLabel; 83 ClickableLabel *m_openButton;
82 84
83 QString m_remoteURL; 85 QString m_remoteURL;
84 QLabel *m_remoteURLLabel; 86 QLabel *m_remoteURLLabel;
85 87
86 QString m_state; 88 QString m_state;