#include <inputstring.h>
Public Types | |
enum | StringMode { StringFree =0, StringFile =1, StringDir =2, StringFixed =3, StringImage =4 } |
Public Types inherited from Input | |
enum | Kind { Bool, Int, String, StrList, Obsolete } |
Public Slots | |
void | reset () |
void | setValue (const QString &) |
Signals | |
void | changed () |
void | showHelp (Input *) |
Public Member Functions | |
InputString (QGridLayout *layout, int &row, const QString &id, const QString &s, StringMode m, const QString &docs, const QString &absPath=QString()) | |
~InputString () | |
void | addValue (QString s) |
void | setDefault () |
QVariant & | value () |
void | update () |
Kind | kind () const |
QString | docs () const |
QString | id () const |
QString | templateDocs () const |
void | addDependency (Input *) |
void | setEnabled (bool) |
void | updateDependencies () |
void | writeValue (QTextStream &t, QTextCodec *codec) |
void | setTemplateDocs (const QString &docs) |
Public Member Functions inherited from Input | |
virtual | ~Input () |
virtual void | reset ()=0 |
Private Slots | |
void | browse () |
void | clear () |
void | help () |
Private Member Functions | |
void | updateDefault () |
Private Attributes | |
QLabel * | m_lab |
QLineEdit * | m_le |
QLabel * | m_im |
QToolBar * | m_br |
QComboBox * | m_com |
QString | m_str |
QString | m_default |
StringMode | m_sm |
QStringList | m_values |
int | m_index |
QVariant | m_value |
QString | m_docs |
QString | m_id |
bool | m_absPath |
QString | m_tdocs |
Definition at line 30 of file inputstring.h.
Enumerator | |
---|---|
StringFree | |
StringFile | |
StringDir | |
StringFixed | |
StringImage |
Definition at line 35 of file inputstring.h.
InputString::InputString | ( | QGridLayout * | layout, |
int & | row, | ||
const QString & | id, | ||
const QString & | s, | ||
StringMode | m, | ||
const QString & | docs, | ||
const QString & | absPath = QString() |
||
) |
Definition at line 39 of file inputstring.cpp.
InputString::~InputString | ( | ) |
Definition at line 116 of file inputstring.cpp.
|
inlinevirtual |
void InputString::addValue | ( | QString | s | ) |
Definition at line 221 of file inputstring.cpp.
|
privateslot |
Definition at line 183 of file inputstring.cpp.
|
signal |
|
privateslot |
Definition at line 216 of file inputstring.cpp.
|
inlinevirtual |
|
privateslot |
Definition at line 110 of file inputstring.cpp.
|
inlinevirtual |
|
inlinevirtual |
|
slot |
Definition at line 247 of file inputstring.cpp.
void InputString::setDefault | ( | ) |
Definition at line 230 of file inputstring.cpp.
|
virtual |
|
inlinevirtual |
|
slot |
Definition at line 121 of file inputstring.cpp.
|
signal |
|
inlinevirtual |
|
virtual |
|
private |
Definition at line 130 of file inputstring.cpp.
|
inlinevirtual |
|
virtual |
Implements Input.
Definition at line 236 of file inputstring.cpp.
|
virtual |
Implements Input.
Definition at line 253 of file inputstring.cpp.
|
private |
Definition at line 92 of file inputstring.h.
|
private |
Definition at line 82 of file inputstring.h.
|
private |
Definition at line 83 of file inputstring.h.
|
private |
Definition at line 85 of file inputstring.h.
|
private |
Definition at line 90 of file inputstring.h.
|
private |
Definition at line 91 of file inputstring.h.
|
private |
Definition at line 81 of file inputstring.h.
|
private |
Definition at line 88 of file inputstring.h.
|
private |
Definition at line 79 of file inputstring.h.
|
private |
Definition at line 80 of file inputstring.h.
|
private |
Definition at line 86 of file inputstring.h.
|
private |
Definition at line 84 of file inputstring.h.
|
private |
Definition at line 93 of file inputstring.h.
|
private |
Definition at line 89 of file inputstring.h.
|
private |
Definition at line 87 of file inputstring.h.