source: trunk/qt/SessionDialog.h @ 14561

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: 773 bytes
Line 
1/*
2 * This file Copyright (C) 2010-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: SessionDialog.h 14561 2015-09-01 20:19:26Z mikedld $
8 */
9
10#ifndef QTR_SESSION_DIALOG_H
11#define QTR_SESSION_DIALOG_H
12
13#include <QWidgetList>
14
15#include "BaseDialog.h"
16
17#include "ui_SessionDialog.h"
18
19class Prefs;
20class Session;
21
22class SessionDialog: public BaseDialog
23{
24    Q_OBJECT
25
26  public:
27    SessionDialog (Session& session, Prefs& prefs, QWidget * parent = nullptr);
28    virtual ~SessionDialog () {}
29
30  private slots:
31    void onAccepted ();
32    void resensitize ();
33
34  private:
35    Session& mySession;
36    Prefs& myPrefs;
37
38    Ui::SessionDialog ui;
39
40    QWidgetList myRemoteWidgets;
41    QWidgetList myAuthWidgets;
42};
43
44#endif // QTR_SESSION_DIALOG_H
Note: See TracBrowser for help on using the repository browser.