Mercurial > hg > easyhg
comparison src/workstatuswidget.h @ 523:d869e6a18f63
Make the text labels in the work status area squeezable for small window sizes. Fixes #329
author | Chris Cannam |
---|---|
date | Tue, 15 Nov 2011 16:02:18 +0000 |
parents | b9c153e00e84 |
children | 533519ebc0cb |
comparison
equal
deleted
inserted
replaced
522:43ddfa5e9fd0 | 523:d869e6a18f63 |
---|---|
17 | 17 |
18 #ifndef WORKSTATUSWIDGET_H | 18 #ifndef WORKSTATUSWIDGET_H |
19 #define WORKSTATUSWIDGET_H | 19 #define WORKSTATUSWIDGET_H |
20 | 20 |
21 #include <QWidget> | 21 #include <QWidget> |
22 | |
23 class SqueezedLabel; | |
22 | 24 |
23 class QLabel; | 25 class QLabel; |
24 class QPushButton; | 26 class QPushButton; |
25 class QFileInfo; | 27 class QFileInfo; |
26 class ClickableLabel; | 28 class ClickableLabel; |
49 private: | 51 private: |
50 QString m_localPath; | 52 QString m_localPath; |
51 ClickableLabel *m_openButton; | 53 ClickableLabel *m_openButton; |
52 | 54 |
53 QString m_remoteURL; | 55 QString m_remoteURL; |
54 QLabel *m_remoteURLLabel; | 56 SqueezedLabel *m_remoteURLLabel; |
55 | 57 |
56 QString m_state; | 58 QString m_state; |
57 QLabel *m_stateLabel; | 59 QLabel *m_stateLabel; |
58 | 60 |
59 void updateStateLabel(); | 61 void updateStateLabel(); |