source: trunk/qt/AboutDialog.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: 652 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: AboutDialog.h 14561 2015-09-01 20:19:26Z mikedld $
8 */
9
10#ifndef QTR_ABOUT_DIALOG_H
11#define QTR_ABOUT_DIALOG_H
12
13#include <QPointer>
14
15#include "BaseDialog.h"
16
17#include "ui_AboutDialog.h"
18
19class LicenseDialog;
20
21class AboutDialog: public BaseDialog
22{
23    Q_OBJECT
24
25  public:
26    AboutDialog (QWidget * parent = nullptr);
27    virtual ~AboutDialog () {}
28
29  private slots:
30    void showCredits ();
31    void showLicense ();
32
33  private:
34    Ui::AboutDialog ui;
35
36    QPointer<LicenseDialog> myLicenseDialog;
37};
38
39#endif // QTR_ABOUT_DIALOG_H
Note: See TracBrowser for help on using the repository browser.