diff -r 22955004d512 -r 96c8e6860e0c attributedialog.h --- a/attributedialog.h Fri Nov 09 12:07:22 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