Seamly2D
Code documentation
shortcuts_dialog.h
Go to the documentation of this file.
1
/************************************************************************
2
**
3
** @file shortcuts_dialog.h
4
** @author DSCaskey <dscaskey@gmail.com>
5
** @date 5 11, 2022
6
**
7
** @brief
8
** @copyright
9
** This source code is part of the Valentine project, a pattern making
10
** program, whose allow create and modeling patterns of clothing.
11
** Copyright (C) 2013-2015 Seamly2D project
12
** All Rights Reserved.
13
**
14
** Seamly2D is free software: you can redistribute it and/or modify
15
** it under the terms of the GNU General Public License as published by
16
** the Free Software Foundation, either version 3 of the License, or
17
** (at your option) any later version.
18
**
19
** Seamly2D is distributed in the hope that it will be useful,
20
** but WITHOUT ANY WARRANTY; without even the implied warranty of
21
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22
** GNU General Public License for more details.
23
**
24
** You should have received a copy of the GNU General Public License
25
** along with Seamly2D. If not, see <http://www.gnu.org/licenses/>.
26
**
27
*************************************************************************/
28
29
#ifndef SHORTCUTS_DIALOG_H
30
#define SHORTCUTS_DIALOG_H
31
32
#include <QDialog>
33
34
namespace
Ui
35
{
36
class
ShortcutsDialog
;
37
}
38
39
class
ShortcutsDialog
:
public
QDialog
40
{
41
Q_OBJECT
42
43
public
:
44
explicit
ShortcutsDialog
(QWidget *parent =
nullptr
);
45
virtual
~ShortcutsDialog
();
46
47
protected
:
48
virtual
void
showEvent
(QShowEvent *event) Q_DECL_OVERRIDE;
49
50
private
:
51
Ui::ShortcutsDialog *
ui
;
52
bool
isInitialized
;
53
Q_DISABLE_COPY(
ShortcutsDialog
)
54
55
void
copyToClipboard
();
56
void
sendToPrinter
();
57
void
exportPdf
();
58
};
59
60
#endif
// SHORTCUTS_DIALOG_H
ShortcutsDialog
Definition:
shortcuts_dialog.h:40
ShortcutsDialog::copyToClipboard
void copyToClipboard()
Definition:
shortcuts_dialog.cpp:88
ShortcutsDialog::~ShortcutsDialog
virtual ~ShortcutsDialog()
Definition:
shortcuts_dialog.cpp:62
ShortcutsDialog::ui
Ui::ShortcutsDialog * ui
Definition:
shortcuts_dialog.h:51
ShortcutsDialog::showEvent
virtual void showEvent(QShowEvent *event) Q_DECL_OVERRIDE
Definition:
shortcuts_dialog.cpp:68
ShortcutsDialog::isInitialized
bool isInitialized
Definition:
shortcuts_dialog.h:52
ShortcutsDialog::sendToPrinter
void sendToPrinter()
Definition:
shortcuts_dialog.cpp:93
ShortcutsDialog::ShortcutsDialog
ShortcutsDialog(QWidget *parent=nullptr)
Definition:
shortcuts_dialog.cpp:48
ShortcutsDialog::exportPdf
void exportPdf()
Definition:
shortcuts_dialog.cpp:105
Ui
Definition:
calculator_dialog.h:38
src
app
seamly2d
dialogs
shortcuts_dialog.h
Generated by
1.9.1