X-Git-Url: https://git.sven.stormbind.net/?a=blobdiff_plain;f=attributedialog.h;fp=attributedialog.h;h=0000000000000000000000000000000000000000;hb=d483bd8e6523c23c6f1d8908a2e0611c2bc9ff4f;hp=b56cf8012b05a6ee03eea1f7dd215a0e6fcc45aa;hpb=7dfa3fe589d1722d49681f42cdb0bf1e6efb5223;p=sven%2Fvym.git diff --git a/attributedialog.h b/attributedialog.h deleted file mode 100644 index b56cf80..0000000 --- a/attributedialog.h +++ /dev/null @@ -1,49 +0,0 @@ -#ifndef ATTRIBUTEDIALOG_H -#define ATTRIBUTEDIALOG_H - -#include "attribute.h" -#include "branchobj.h" - -#include -#include -#include -#include -#include -#include - - -/*! \brief Set the dialog mode */ -enum AttributeDialogMode { - Definition, //!< Edit attribute definitions (AttributeDef) - Object //!< Edit attributes of OrnamentedObj -}; - -class AttributeDialog:public QDialog -{ - Q_OBJECT -public: - AttributeDialog (QWidget *parent=0 ); - void setTable (AttributeTable *table=0); - void setBranch (BranchObj *bo); - void setMode (const AttributeDialogMode &m); - void updateTable(); -signals: - void windowClosed(); -private slots: - void addKey(); -protected: - void closeEvent(QCloseEvent*); -private: - QVBoxLayout *vboxLayout; - QVBoxLayout *tableLayout; - QHBoxLayout *hboxLayout; - QPushButton *addButton; - QSpacerItem *spacerItem; - QPushButton *closeButton; - - AttributeDialogMode mode; - AttributeTable *table; - BranchObj *branch; -}; - -#endif