Last change
on this file since 14561 was
14561,
checked in by mikedld, 7 years ago
|
Remove context help button from dialogs on Windows
We don't currently (if ever) provide context help, so the button is
useless. Moreover, on Windows 10 it's even larger than before and
sometimes title text doesn't fit because of it.
|
-
Property svn:keywords set to
Date Rev Author Id
|
File size:
677 bytes
|
Line | |
---|
1 | /* |
---|
2 | * This file Copyright (C) 2009-2015 Mnemosyne LLC |
---|
3 | * |
---|
4 | * It may be used under the GNU GPL versions 2 or 3 |
---|
5 | * or any future license endorsed by Mnemosyne LLC. |
---|
6 | * |
---|
7 | * $Id: StatsDialog.h 14561 2015-09-01 20:19:26Z mikedld $ |
---|
8 | */ |
---|
9 | |
---|
10 | #ifndef QTR_STATS_DIALOG_H |
---|
11 | #define QTR_STATS_DIALOG_H |
---|
12 | |
---|
13 | #include "BaseDialog.h" |
---|
14 | |
---|
15 | #include "ui_StatsDialog.h" |
---|
16 | |
---|
17 | class QTimer; |
---|
18 | |
---|
19 | class Session; |
---|
20 | |
---|
21 | class StatsDialog: public BaseDialog |
---|
22 | { |
---|
23 | Q_OBJECT |
---|
24 | |
---|
25 | public: |
---|
26 | StatsDialog (Session&, QWidget * parent = nullptr); |
---|
27 | ~StatsDialog (); |
---|
28 | |
---|
29 | // QWidget |
---|
30 | virtual void setVisible (bool visible); |
---|
31 | |
---|
32 | private slots: |
---|
33 | void updateStats (); |
---|
34 | |
---|
35 | private: |
---|
36 | Session& mySession; |
---|
37 | |
---|
38 | Ui::StatsDialog ui; |
---|
39 | |
---|
40 | QTimer * myTimer; |
---|
41 | }; |
---|
42 | |
---|
43 | #endif // QTR_STATS_DIALOG_H |
---|
Note: See
TracBrowser
for help on using the repository browser.