Element info widget : set focus to the first line edit

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3807 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2015-03-05 10:26:09 +00:00
parent af54df2983
commit 8a4efc7fc1
4 changed files with 48 additions and 1 deletions

View File

@@ -45,16 +45,23 @@ class ElementInfoWidget : public QWidget {
bool apply();
QUndoCommand* associatedUndo () const;
protected:
virtual bool event(QEvent *event);
private:
void buildInterface();
void fillInfo();
private slots:
void firstActivated();
//ATTRIBUTES
private:
Ui::ElementInfoWidget *ui;
Element *element_;
DiagramContext elmt_info;
QList <ElementInfoPartWidget *> eipw_list;
bool m_first_activation;
};
#endif // ELEMENTINFOWIDGET_H