attributewidget.h
author insilmaril
Tue Jul 07 09:34:24 2009 +0000 (2009-07-07)
changeset 779 1fb50e79661c
parent 623 7ba1c04d96d5
permissions -rw-r--r--
Hiding of links works again
insilmaril@623
     1
#ifndef ATTRIBUTEWIDGET_H
insilmaril@623
     2
#define ATTRIBUTEWIDGET_H
insilmaril@623
     3
insilmaril@623
     4
#include "ui_attributewidget.h"
insilmaril@623
     5
insilmaril@627
     6
#include "attribute.h"
insilmaril@627
     7
insilmaril@623
     8
#include <QWidget>
insilmaril@623
     9
insilmaril@623
    10
class AttributeWidget: public QWidget
insilmaril@623
    11
{
insilmaril@623
    12
	Q_OBJECT
insilmaril@623
    13
public:
insilmaril@623
    14
	AttributeWidget (QWidget *parent=0);
insilmaril@627
    15
	void setTable (AttributeTable *at=0);
insilmaril@627
    16
	void setKey (const QString &k);
insilmaril@627
    17
	void setValues (const QStringList &vl);
insilmaril@627
    18
insilmaril@627
    19
public slots:
insilmaril@627
    20
	virtual void keyTextChanged(const QString &t);
insilmaril@627
    21
	virtual void valueTextChanged(const QString &t);
insilmaril@627
    22
insilmaril@623
    23
private:
insilmaril@623
    24
	Ui::AttributeWidget ui;
insilmaril@627
    25
	AttributeTable *table;
insilmaril@627
    26
	QString key;
insilmaril@623
    27
};
insilmaril@623
    28
#endif