MagicSmoke
$VERSION$
|
simple widget that displays flags and allows to edit them More...
#include <flagedit.h>
Public Slots | |
void | setEditable (bool e=true) |
makes the widget editable (this is the default) More... | |
void | setEditorLabel (QString e) |
sets the label for the flag editor when the user changes flags More... | |
void | setFlags (QString) |
sets the flags displayed in this widget More... | |
void | setFlags (QStringList) |
sets the flags displayed in this widget More... | |
void | setReadonly (bool ro=true) |
makes the widget readonly (per default it is editable) More... | |
void | setText (QString) |
sets the flags displayed in this widget (alias for compatibility with other widgets) More... | |
Public Member Functions | |
MFlagWidget (QWidget *parent=0, Qt::WindowFlags f=0) | |
creates a flag widget with no flags set, per default it is editable More... | |
MFlagWidget (QString flags, QWidget *parent=0, Qt::WindowFlags f=0) | |
creates a flag widget with flags set, per default it is editable More... | |
MFlagWidget (QStringList flags, QWidget *parent=0, Qt::WindowFlags f=0) | |
creates a flag widget with flags set, per default it is editable More... | |
QString | editorLabel () const |
returns the label that will be used for the flag editor More... | |
QString | flags () const |
returns the currently displayed flags as string More... | |
QString | text () const |
alias for flags() (for compatibility with other widgets) More... | |
simple widget that displays flags and allows to edit them
MFlagWidget::MFlagWidget | ( | QWidget * | parent = 0 , |
Qt::WindowFlags | f = 0 |
||
) |
creates a flag widget with no flags set, per default it is editable
MFlagWidget::MFlagWidget | ( | QString | flags, |
QWidget * | parent = 0 , |
||
Qt::WindowFlags | f = 0 |
||
) |
creates a flag widget with flags set, per default it is editable
References setFlags().
MFlagWidget::MFlagWidget | ( | QStringList | flags, |
QWidget * | parent = 0 , |
||
Qt::WindowFlags | f = 0 |
||
) |
creates a flag widget with flags set, per default it is editable
References setFlags().
|
inline |
returns the label that will be used for the flag editor
|
inline |
returns the currently displayed flags as string
|
slot |
makes the widget editable (this is the default)
Referenced by setReadonly().
|
slot |
sets the label for the flag editor when the user changes flags
Referenced by MEventEditor::MEventEditor().
|
slot |
sets the flags displayed in this widget
Referenced by MFlagWidget(), setFlags(), and setText().
|
slot |
sets the flags displayed in this widget
References setFlags().
|
slot |
makes the widget readonly (per default it is editable)
References setEditable().
|
slot |
sets the flags displayed in this widget (alias for compatibility with other widgets)
References setFlags().
|
inline |
alias for flags() (for compatibility with other widgets)