tuchulcha
0.10.1
Graphical Workflow Configuration Editor
PriorityDialog.h
Go to the documentation of this file.
1
/* Copyright (C) 2012 David Stronczek
2
3
This file is part of Tuchulcha.
4
5
Tuchulcha is free software: you can redistribute it and/or modify
6
it under the terms of the GNU Lesser 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
Tuchulcha 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 Lesser General Public License for more details.
14
15
You should have received a copy of the GNU Lesser General Public License
16
along with Tuchulcha. If not, see <http://www.gnu.org/licenses/>.
17
*/
24
#ifndef PRIORITYDIALOG_H_
25
#define PRIORITYDIALOG_H_
26
27
#include <QDialog>
28
29
namespace
Ui {
30
class
PriorityDialog
;
31
}
32
class
QAbstractButton;
33
35
38
class
PriorityDialog
:
public
QDialog {
39
Q_OBJECT
40
41
public
:
43
46
PriorityDialog
(QWidget* parent = 0,
int
selection
= 0);
47
49
virtual
~PriorityDialog
();
50
52
int
selection
()
const
;
53
54
public
slots:
56
virtual
void
accept
();
57
59
void
on_buttonBox_clicked
(QAbstractButton* button)
const
;
60
61
protected
:
63
Ui::PriorityDialog*
_ui
;
64
65
private
:
67
int
_selection
;
68
};
69
70
#endif
/* PRIORITYDIALOG_H_ */
PriorityDialog
Priority Dialog.
Definition:
PriorityDialog.h:38
PriorityDialog::PriorityDialog
PriorityDialog(QWidget *parent=0, int selection=0)
Default constructor, setting parent widget.
Definition:
PriorityDialog.cpp:29
PriorityDialog::selection
int selection() const
Get selected index.
Definition:
PriorityDialog.cpp:43
PriorityDialog::_selection
int _selection
var to store selection
Definition:
PriorityDialog.h:67
PriorityDialog::accept
virtual void accept()
set selection value
Definition:
PriorityDialog.cpp:47
PriorityDialog::_ui
Ui::PriorityDialog * _ui
designer gui
Definition:
PriorityDialog.h:63
PriorityDialog::~PriorityDialog
virtual ~PriorityDialog()
default destructor
Definition:
PriorityDialog.cpp:39
PriorityDialog::on_buttonBox_clicked
void on_buttonBox_clicked(QAbstractButton *button) const
handle buttonBox clicks
Definition:
PriorityDialog.cpp:52
src
PriorityDialog.h
Generated on Wed Aug 6 2014 12:31:05 for tuchulcha by
1.8.6