Cppcheck
gui
scratchpad.h
Go to the documentation of this file.
1
/*
2
* Cppcheck - A tool for static C/C++ code analysis
3
* Copyright (C) 2007-2023 Cppcheck team.
4
*
5
* This program is free software: you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License as published by
7
* the Free Software Foundation, either version 3 of the License, or
8
* (at your option) any later version.
9
*
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
14
*
15
* You should have received a copy of the GNU General Public License
16
* along with this program. If not, see <http://www.gnu.org/licenses/>.
17
*/
18
19
#ifndef SCRATCHPAD_H
20
#define SCRATCHPAD_H
21
22
#include <QDialog>
23
#include <QObject>
24
#include <QString>
25
26
class
MainWindow
;
27
namespace
Ui
{
28
class
ScratchPad
;
29
}
30
31
/// @addtogroup GUI
32
/// @{
33
34
/**
35
* @brief A window with a text field that .
36
*/
37
class
ScratchPad
:
public
QDialog {
38
Q_OBJECT
39
public
:
40
explicit
ScratchPad
(
MainWindow
& mainWindow);
41
~ScratchPad
()
override
;
42
43
/**
44
* @brief Translate dialog
45
*/
46
void
translate
();
47
48
private
slots:
49
/**
50
* @brief Called when check button is clicked.
51
*/
52
void
checkButtonClicked
();
53
54
private
:
55
Ui::ScratchPad *
mUI
;
56
MainWindow
&
mMainWindow
;
57
};
58
59
/// @}
60
61
#endif
// SCRATCHPAD_H
MainWindow
Main window for cppcheck-gui.
Definition:
mainwindow.h:58
ScratchPad
A window with a text field that .
Definition:
scratchpad.h:37
ScratchPad::~ScratchPad
~ScratchPad() override
Definition:
scratchpad.cpp:39
ScratchPad::ScratchPad
ScratchPad(MainWindow &mainWindow)
Definition:
scratchpad.cpp:29
ScratchPad::mUI
Ui::ScratchPad * mUI
Definition:
scratchpad.h:55
ScratchPad::translate
void translate()
Translate dialog.
Definition:
scratchpad.cpp:44
ScratchPad::mMainWindow
MainWindow & mMainWindow
Definition:
scratchpad.h:56
ScratchPad::checkButtonClicked
void checkButtonClicked()
Called when check button is clicked.
Definition:
scratchpad.cpp:49
Ui
Definition:
aboutdialog.h:27
Generated on Tue May 14 2024 11:53:15 for Cppcheck by
1.9.1