diff options
Diffstat (limited to 'client/widgets/combobox.cc')
-rw-r--r-- | client/widgets/combobox.cc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/client/widgets/combobox.cc b/client/widgets/combobox.cc index ec260ea..b625848 100644 --- a/client/widgets/combobox.cc +++ b/client/widgets/combobox.cc @@ -228,3 +228,13 @@ void ComboBox::setWdgValid(bool valid) if(combobox->lineEdit()) combobox->lineEdit()->setPalette(palette); combobox->setPalette(palette); } + +void ComboBox::clear() +{ + combobox->clear(); +} + +void ComboBox::addItem(QString item) +{ + combobox->addItem(item, item); +} |