Various fixes, also from 1.12. branch
1 #include "attributewidget.h"
3 AttributeWidget::AttributeWidget (QWidget *parent):QWidget (parent)
6 //ui.keyComboBox->setEditable (true);
7 ui.valueComboBox->setEditable (true);
10 void AttributeWidget::setTable(AttributeTable *at)
15 void AttributeWidget::setKey (const QString &k)
18 ui.keyComboBox->insertItem (ui.keyComboBox->count(), key);
21 void AttributeWidget::setValues(const QStringList &vl)
23 ui.valueComboBox->clear();
24 ui.valueComboBox->insertStringList(vl);
28 void AttributeWidget::setValue (const QString &v)
33 void AttributeWidget::keyTextChanged(const QString &t)
37 void AttributeWidget::valueTextChanged(const QString &t)