diff -r 7ba1c04d96d5 -r 92bebad145d2 attributedialog.h --- a/attributedialog.h Fri Nov 09 12:07:20 2007 +0000 +++ b/attributedialog.h Wed Dec 05 14:58:02 2007 +0000 @@ -1,22 +1,41 @@ #ifndef ATTRIBUTEDIALOG_H #define ATTRIBUTEDIALOG_H -#include "ui_attributedialog.h" +#include "attribute.h" +#include "branchobj.h" #include #include +#include +#include +#include +#include + class AttributeDialog:public QDialog { Q_OBJECT public: AttributeDialog (QWidget *parent=0 ); + void setTable (AttributeTable *table=0); + void setBranch (BranchObj *bo); signals: void windowClosed(); +private slots: + void addKey(); protected: void closeEvent(QCloseEvent*); + void updateTable(); private: - Ui::AttributeDialog ui; + QVBoxLayout *vboxLayout; + QVBoxLayout *tableLayout; + QHBoxLayout *hboxLayout; + QPushButton *addButton; + QSpacerItem *spacerItem; + QPushButton *closeButton; + + AttributeTable *table; + BranchObj *branch; }; #endif