MagicSmoke
$VERSION$
|
enables the user to edit flags attached to an entity as defined by MagicSmoke More...
#include <flagedit.h>
Public Member Functions | |
MFlagEditor (QWidget *parent, QString flags, QString label=QString()) | |
creates an editor window More... | |
QString | currentFlags () const |
returns the flag string corresponding to the current state of the editor More... | |
QString | originalFlags () const |
returns the original string with which the editor was initialized More... | |
Static Public Member Functions | |
static QString | edit (QWidget *parent, QString flags, QString label=QString()) |
convenience function: opens a flag editor and returns the result or the original string if unchanged More... | |
Friends | |
class | MFlagEditorDelegate |
enables the user to edit flags attached to an entity as defined by MagicSmoke
MFlagEditor::MFlagEditor | ( | QWidget * | parent, |
QString | flags, | ||
QString | label = QString() |
||
) |
creates an editor window
References MTGetValidFlags::getflags(), MFlagEditorDelegate, and MTGetValidFlags::query().
QString MFlagEditor::currentFlags | ( | ) | const |
|
static |
convenience function: opens a flag editor and returns the result or the original string if unchanged
References currentFlags().
QString MFlagEditor::originalFlags | ( | ) | const |
returns the original string with which the editor was initialized
|
friend |
Referenced by MFlagEditor().