Diagram editor : add dock widget for edit the current selection.

For the moment only work with element


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3943 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2015-05-07 22:15:00 +00:00
parent f022133de4
commit 7ef8cbc0db
18 changed files with 494 additions and 20 deletions

View File

@@ -20,7 +20,7 @@
#include <QWidget>
#include <QHash>
#include <propertieseditorwidget.h>
#include "PropertiesEditor/propertieseditorwidget.h"
class QListWidgetItem;
class Element;
@@ -53,14 +53,16 @@ class MasterPropertiesWidget : public PropertiesEditorWidget
void buildInterface();
private slots:
void on_link_button_clicked();
void on_unlink_button_clicked();
void showElementFromLWI(QListWidgetItem *lwi);
void on_link_button_clicked();
void on_unlink_button_clicked();
void showElementFromLWI(QListWidgetItem *lwi);
void showedElementWasDeleted ();
private:
Ui::MasterPropertiesWidget *ui;
Element *element_;
QHash <QListWidgetItem *, Element *> lwi_hash;
Element *m_showed_element;
};
#endif // MASTERPROPERTIESWIDGET_H