Master, slave and report QTreeWidget used for Xref :

The header of the QTreeWidget have a context menu used to save the current state of the columns (size and position).


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4887 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2017-01-30 14:29:01 +00:00
parent 4f17eaa9c3
commit 7569c5cc99
4 changed files with 62 additions and 5 deletions

View File

@@ -59,6 +59,7 @@ class MasterPropertiesWidget : public AbstractElementPropertiesEditorWidget
void updateUi();
private slots:
void headerCustomContextMenuRequested(const QPoint &pos);
void on_link_button_clicked();
void on_unlink_button_clicked();
void showElementFromTWI(QTreeWidgetItem *qtwi, int column);
@@ -76,7 +77,8 @@ class MasterPropertiesWidget : public AbstractElementPropertiesEditorWidget
QAction *m_link_action,
*m_unlink_action,
*m_show_qtwi,
*m_show_element;
*m_show_element,
*m_save_header_state;
};
#endif // MASTERPROPERTIESWIDGET_H