X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=attributewidget.h;fp=attributewidget.h;h=baa48c5b28b7a88f3767f1730d041313262ac266;hb=2f79edb68ae955de3c3118a7f9181c7a1f3b0d72;hp=0000000000000000000000000000000000000000;hpb=eeb718b059f8b14807b976ae6410a3021b2d4576;p=vym diff --git a/attributewidget.h b/attributewidget.h new file mode 100644 index 0000000..baa48c5 --- /dev/null +++ b/attributewidget.h @@ -0,0 +1,28 @@ +#ifndef ATTRIBUTEWIDGET_H +#define ATTRIBUTEWIDGET_H + +#include "ui_attributewidget.h" + +#include "attribute.h" + +#include + +class AttributeWidget: public QWidget +{ + Q_OBJECT +public: + AttributeWidget (QWidget *parent=0); + void setTable (AttributeTable *at=0); + void setKey (const QString &k); + void setValues (const QStringList &vl); + +public slots: + virtual void keyTextChanged(const QString &t); + virtual void valueTextChanged(const QString &t); + +private: + Ui::AttributeWidget ui; + AttributeTable *table; + QString key; +}; +#endif