forked from loaded02/ICF_Report
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgui_functionform.h
49 lines (39 loc) · 991 Bytes
/
gui_functionform.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#ifndef GUI_FUNCTIONFORM_H
#define GUI_FUNCTIONFORM_H
#include <QWidget>
/*
* View class. Shows visualisation of Function entity.
* This QWidget is used in GUI_Function.
*/
namespace Ui {
class GUI_FunctionForm;
}
class GUI_FunctionForm : public QWidget
{
Q_OBJECT
public:
explicit GUI_FunctionForm(QWidget *parent = 0);
~GUI_FunctionForm();
void setDescription(QString text);
bool isChecked();
int getValue();
void setValue(int val);
QString getDescription();
QString getId();
void setId(QString id);
QString getText();
void setText(QString txt);
void resetInput();
void showContextRadio();
signals:
void idChanged(QString arg, int rnd);
public slots:
void changeDescription(const QString &arg1, int rnd);
void addIcfCodeToCb(const QString &arg1);
private slots:
void on_comboBox_currentIndexChanged(const QString &arg1);
private:
Ui::GUI_FunctionForm *ui;
int rnd;
};
#endif // GUI_FUNCTIONFORM_H