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:
828 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: RelocateDialog.h 14561 2015-09-01 20:19:26Z mikedld $ |
---|
8 | */ |
---|
9 | |
---|
10 | #ifndef QTR_RELOCATE_DIALOG_H |
---|
11 | #define QTR_RELOCATE_DIALOG_H |
---|
12 | |
---|
13 | #include <QSet> |
---|
14 | |
---|
15 | #include "BaseDialog.h" |
---|
16 | |
---|
17 | #include "ui_RelocateDialog.h" |
---|
18 | |
---|
19 | class Session; |
---|
20 | class TorrentModel; |
---|
21 | |
---|
22 | class RelocateDialog: public BaseDialog |
---|
23 | { |
---|
24 | Q_OBJECT |
---|
25 | |
---|
26 | public: |
---|
27 | RelocateDialog (Session&, const TorrentModel&, const QSet<int>& ids, QWidget * parent = nullptr); |
---|
28 | virtual ~RelocateDialog () {} |
---|
29 | |
---|
30 | private: |
---|
31 | QString newLocation () const; |
---|
32 | |
---|
33 | private slots: |
---|
34 | void onSetLocation (); |
---|
35 | void onMoveToggled (bool); |
---|
36 | |
---|
37 | private: |
---|
38 | Session& mySession; |
---|
39 | const QSet<int> myIds; |
---|
40 | |
---|
41 | Ui::RelocateDialog ui; |
---|
42 | |
---|
43 | static bool myMoveFlag; |
---|
44 | }; |
---|
45 | |
---|
46 | #endif // QTR_RELOCATE_DIALOG_H |
---|
Note: See
TracBrowser
for help on using the repository browser.