author | insilmaril |
Fri Oct 02 13:24:55 2009 +0000 (2009-10-02) | |
changeset 802 | f076fdec767d |
parent 623 | 7ba1c04d96d5 |
permissions | -rw-r--r-- |
1 #ifndef ATTRIBUTEWIDGET_H
2 #define ATTRIBUTEWIDGET_H
4 #include "ui_attributewidget.h"
6 #include "attribute.h"
8 #include <QWidget>
10 class AttributeWidget: public QWidget
11 {
12 Q_OBJECT
13 public:
14 AttributeWidget (QWidget *parent=0);
15 void setTable (AttributeTable *at=0);
16 void setKey (const QString &k);
17 void setValues (const QStringList &vl);
19 public slots:
20 virtual void keyTextChanged(const QString &t);
21 virtual void valueTextChanged(const QString &t);
23 private:
24 Ui::AttributeWidget ui;
25 AttributeTable *table;
26 QString key;
27 };
28 #endif