diff options
author | deva <deva> | 2010-08-28 11:26:59 +0000 |
---|---|---|
committer | deva <deva> | 2010-08-28 11:26:59 +0000 |
commit | 02b791c8edb911895b5e71e6521db1d6799c34c8 (patch) | |
tree | a159a96d149735851facbc56d99b6a099a8ba2bf /client/widgets/combobox.cc | |
parent | 691529884f4adb4753f14d8a1e0b0743c5cf665a (diff) |
Add combobox lua callbacks/
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); +} |