diff options
Diffstat (limited to 'Tools/QtTestBrowser/locationedit.h')
-rw-r--r-- | Tools/QtTestBrowser/locationedit.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Tools/QtTestBrowser/locationedit.h b/Tools/QtTestBrowser/locationedit.h index 962b422..e8afe70 100644 --- a/Tools/QtTestBrowser/locationedit.h +++ b/Tools/QtTestBrowser/locationedit.h @@ -39,6 +39,8 @@ class LocationEdit : public QLineEdit { public: LocationEdit(QWidget* parent = 0); + void setPageIcon(const QIcon&); + public slots: void setProgress(int progress); @@ -48,10 +50,14 @@ private slots: protected: virtual void paintEvent(QPaintEvent*); virtual void focusInEvent(QFocusEvent*); + virtual void resizeEvent(QResizeEvent*); private: + void updateInternalGeometry(); + int m_progress; QTimer m_clearTimer; + QLabel* m_pageIconLabel; }; #endif |