Documentation of
MARTY
A
M
odern
AR
tificial
T
heoretical ph
Y
sicist
grafed
grafed-gui
toolbar.h
Go to the documentation of this file.
1
// This file is part of MARTY.
2
//
3
// MARTY is free software: you can redistribute it and/or modify
4
// it under the terms of the GNU General Public License as published by
5
// the Free Software Foundation, either version 3 of the License, or
6
// (at your option) any later version.
7
//
8
// MARTY is distributed in the hope that it will be useful,
9
// but WITHOUT ANY WARRANTY; without even the implied warranty of
10
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
// GNU General Public License for more details.
12
//
13
// You should have received a copy of the GNU General Public License
14
// along with MARTY. If not, see <https://www.gnu.org/licenses/>.
15
23
#ifndef TOOLBAR_H
24
#define TOOLBAR_H
25
26
#include <QWidget>
27
28
namespace
Ui
{
29
class
ToolBar
;
30
}
31
32
class
ToolBar
:
public
QWidget
33
{
34
Q_OBJECT
35
36
friend
class
MainWidget
;
37
38
public
:
39
explicit
ToolBar
(QWidget *parent =
nullptr
);
40
~
ToolBar
();
41
42
public
slots:
43
44
void
addChecked(
bool
);
45
void
selectChecked(
bool
);
46
void
removeChecked(
bool
);
47
48
private
:
49
Ui::ToolBar *ui;
50
};
51
52
#endif // TOOLBAR_H
Ui
Definition:
diagramrenderer.h:34
ToolBar
Definition:
toolbar.h:32
MainWidget
Definition:
mainwidget.h:34
Generated by
1.8.13