Element info widget : fix wrong behavior with cursor when use the live edit mode

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4002 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2015-06-09 16:28:54 +00:00
parent e195ab634e
commit 2cf6e61643
2 changed files with 32 additions and 12 deletions

View File

@@ -20,6 +20,7 @@
#include <QWidget>
#include "abstractelementpropertieseditorwidget.h"
#include "diagramcontext.h"
class Element;
class QUndoCommand;
@@ -49,6 +50,8 @@ class ElementInfoWidget : public AbstractElementPropertiesEditorWidget
QString title() const {return tr("Informations");}
bool setLiveEdit(bool live_edit);
virtual void updateUi();
DiagramContext currentInfo() const;
protected:
virtual bool event(QEvent *event);
@@ -60,6 +63,7 @@ class ElementInfoWidget : public AbstractElementPropertiesEditorWidget
private slots:
void firstActivated();
void elementInfoChange();
//ATTRIBUTES
private: