Olive
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
effects
fields
buttonfield.h
Go to the documentation of this file.
1
#ifndef BUTTONFIELD_H
2
#define BUTTONFIELD_H
3
4
#include "../effectfield.h"
5
18
class
ButtonField
:
public
EffectField
19
{
20
Q_OBJECT
21
public
:
25
ButtonField
(
EffectRow
* parent,
const
QString&
string
);
26
40
void
SetCheckable
(
bool
c);
41
47
virtual
QWidget*
CreateWidget
(QWidget *existing =
nullptr
)
override
;
48
49
public
slots:
57
void
SetChecked
(
bool
c);
58
59
signals:
65
void
CheckedChanged
(
bool
);
66
72
void
Toggled
(
bool
);
73
74
private
:
78
bool
checkable_
;
79
83
bool
checked_
;
84
88
QString
button_text_
;
89
};
90
91
#endif // BUTTONFIELD_H
ButtonField::checkable_
bool checkable_
Internal button text string passed to widgets created by CreateWidget()
Definition:
buttonfield.h:78
ButtonField::SetChecked
void SetChecked(bool c)
A slot for when a widget's (created and connected from CreateWidget() ) checked state is changed...
Definition:
buttonfield.cpp:15
ButtonField::Toggled
void Toggled(bool)
A signal emitted whenever the checked state of a connected widget changes.
ButtonField::button_text_
QString button_text_
Internal button text string passed to widgets created by CreateWidget()
Definition:
buttonfield.h:88
ButtonField::CheckedChanged
void CheckedChanged(bool)
A signal emitted whenever the field's internal checked state is changed.
ButtonField
The ButtonField class.
Definition:
buttonfield.h:18
ButtonField::checked_
bool checked_
Internal checked value passed to and from widgets created by CreateWidget()
Definition:
buttonfield.h:83
ButtonField::ButtonField
ButtonField(EffectRow *parent, const QString &string)
Reimplementation of EffectField::EffectField().
Definition:
buttonfield.cpp:5
ButtonField::CreateWidget
virtual QWidget * CreateWidget(QWidget *existing=nullptr) override
Reimplementation of EffectField::CreateWidget()
Definition:
buttonfield.cpp:21
EffectField
The EffectField class.
Definition:
effectfield.h:56
ButtonField::SetCheckable
void SetCheckable(bool c)
Set whether this pushbutton is checkable.
Definition:
buttonfield.cpp:10
EffectRow
The EffectRow class.
Definition:
effectrow.h:51
Generated by
1.8.5