attributewidget.h
changeset 669 a418fad921a8
parent 623 7ba1c04d96d5
     1.1 --- a/attributewidget.h	Fri Nov 09 12:07:20 2007 +0000
     1.2 +++ b/attributewidget.h	Mon Feb 11 12:44:00 2008 +0000
     1.3 @@ -3,6 +3,8 @@
     1.4  
     1.5  #include "ui_attributewidget.h"
     1.6  
     1.7 +#include "attribute.h"
     1.8 +
     1.9  #include <QWidget>
    1.10  
    1.11  class AttributeWidget: public QWidget
    1.12 @@ -10,8 +12,17 @@
    1.13  	Q_OBJECT
    1.14  public:
    1.15  	AttributeWidget (QWidget *parent=0);
    1.16 +	void setTable (AttributeTable *at=0);
    1.17 +	void setKey (const QString &k);
    1.18 +	void setValues (const QStringList &vl);
    1.19 +
    1.20 +public slots:
    1.21 +	virtual void keyTextChanged(const QString &t);
    1.22 +	virtual void valueTextChanged(const QString &t);
    1.23 +
    1.24  private:
    1.25  	Ui::AttributeWidget ui;
    1.26 -
    1.27 +	AttributeTable *table;
    1.28 +	QString key;
    1.29  };
    1.30  #endif