Go to the documentation of this file.
29 #include <QHBoxLayout>
51 QComboBox::focusInEvent(event);
62 explicit OptionalEdit(
const QString& elementName,
const QString& propertyName, QWidget* parent = 0);
81 void slotEnabledChanged(
int state);
84 bool fixComboboxValues =
false;
85 QHBoxLayout* layout =
nullptr;
87 QComboBox* combo =
nullptr;
88 QLineEdit* readOnlyLineEdit =
nullptr;
90 QCheckBox* checkbox =
nullptr;
93 QStringList valueList;
void enabledChanged(const bool &enabled)
void keyPressEvent(QKeyEvent *e) override
void focusInEvent(QFocusEvent *event) override
void focusOutEvent(QFocusEvent *e) override
void focusInEvent(QFocusEvent *e) override
void keyReleaseEvent(QKeyEvent *e) override
std::shared_ptr< Value > value()
void focusOutEvent(QFocusEvent *event) override
void setValue(const QString &value)
OptionalEdit(const QString &elementName, const QString &propertyName, QWidget *parent=0)
void setPossibleValues(const QStringList &values)
CustomComboBox(QWidget *parent)
void updateHistory(const QString &value)
void setReadOnly(bool readOnly)
void setPropertyEnabled(const bool &enabled=true)
void valueChanged(const QString &value)
void valueChanged(const QString &value)
This file offers overloads of toIce() and fromIce() functions for STL container types.