diff -r 7ba1c04d96d5 -r 513107d1ed59 attributedialog.h --- a/attributedialog.h Fri Nov 09 12:07:20 2007 +0000 +++ b/attributedialog.h Tue Dec 04 12:32:56 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