mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-20 08:10:52 +01:00
Element panel widget : Add item to the QTreeView when create a new element or a new directory
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4556 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -37,6 +37,8 @@ class ElementsCategoryEditor : public QDialog
|
||||
public:
|
||||
ElementsCategoryEditor(const ElementsLocation &location, bool edit = true, QWidget *parent = nullptr);
|
||||
virtual ~ElementsCategoryEditor();
|
||||
|
||||
ElementsLocation createdLocation() const;
|
||||
|
||||
private:
|
||||
ElementsCategoryEditor(const ElementsCategoryEditor &);
|
||||
@@ -48,6 +50,7 @@ class ElementsCategoryEditor : public QDialog
|
||||
QFileNameEdit *m_file_line_edit;
|
||||
bool m_edit_mode;
|
||||
ElementsLocation m_location;
|
||||
ElementsLocation m_created_location;
|
||||
|
||||
private:
|
||||
void setUpWidget();
|
||||
|
||||
Reference in New Issue
Block a user