API Documentation
Loading...
Searching...
No Matches
AboutDialog.h
Go to the documentation of this file.
1/*--------------------------------------------------------------------------------------------
2Copyright (c) 2019, NDEVR LLC
3tyler.parke@ndevr.org
4 __ __ ____ _____ __ __ _______
5 | \ | | | __ \ | ___|\ \ / / | __ \
6 | \ | | | | \ \ | |___ \ \ / / | |__) |
7 | . \| | | |__/ / | |___ \ V / | _ /
8 | |\ |_|_____/__|_____|___\_/____| | \ \
9 |__| \__________________________________| \__\
10
11Subject to the terms of the Enterprise+ Agreement, NDEVR hereby grants
12Licensee a limited, non-exclusive, non-transferable, royalty-free license
13(without the right to sublicense) to use the API solely for the purpose of
14Licensee's internal development efforts to develop applications for which
15the API was provided.
16
17The above copyright notice and this permission notice shall be included in all
18copies or substantial portions of the Software.
19
20THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
21INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
22PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE
23FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
24OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
25DEALINGS IN THE SOFTWARE.
26
27Library: NDEVR
28File: AboutDialog
29Included in API: True
30Author(s): Tyler Parke
31 *-----------------------------------------------------------------------------------------**/
32#pragma once
33#include <QWidget>
34namespace Ui
35{
36 class AboutDialogUI;
37}
38class QButtonGroup;
39class QPrinter;
40class QPrintDialog;
41class QPageSetupDialog;
42namespace NDEVR
43{
44 class String;
45 class WindowManager;
46 class ModulesDialog;
47 /**--------------------------------------------------------------------------------------------------
48 Class: AboutDialog
49
50 \brief Shows information about the current software version
51
52 A large dialog that displays information on version.
53 Shows any bundled manuals. Shows active and inactive modules.
54 Usually accessed via the ribbon via the "About" button.
55 **/
56 class AboutDialog : public QWidget
57 {
58 Q_OBJECT
59 public:
60 explicit AboutDialog(WindowManager* window_manager, QWidget* parent = nullptr);
61 virtual ~AboutDialog();
62 QSize sizeHint() const override;
63 void setVisible(bool visible) override;
64 protected:
66 protected:
67 Ui::AboutDialogUI* ui;
69 QButtonGroup* m_manual_buttons;
71 };
72}
Shows information about the current software version.
Definition AboutDialog.h:57
virtual ~AboutDialog()
QSize sizeHint() const override
Ui::AboutDialogUI * ui
Definition AboutDialog.h:67
QButtonGroup * m_manual_buttons
Definition AboutDialog.h:69
ModulesDialog * m_module_dialog
Definition AboutDialog.h:68
WindowManager * m_window_manager
Definition AboutDialog.h:70
AboutDialog(WindowManager *window_manager, QWidget *parent=nullptr)
void setVisible(bool visible) override
Allows the user to see which Modules are available and toggle them on or off, when Modules are toggle...
Definition ModulesDialog.h:12
Manages all windows and logic surrounding dialogs and views for displaying and managing any environme...
Definition WindowManager.h:68
Definition ACIColor.h:37
Definition FontEditor.h:6