mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-03-28 03:19:59 +01:00
Link single element widget : when link a folio report, add columns for the values : Conductor text, function, tension/protocole
Add a line edit used to filter the QTreeWidgetItem. git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4886 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -60,8 +60,9 @@ class LinkSingleElementWidget : public AbstractElementPropertiesEditorWidget
|
||||
|
||||
private :
|
||||
QList <Element *> availableElements();
|
||||
// void setUpCompleter();
|
||||
void setUpCompleter();
|
||||
void clearTreeWidget();
|
||||
void setUpHeaderLabels();
|
||||
|
||||
private slots:
|
||||
void diagramWasRemovedFromProject();
|
||||
@@ -76,6 +77,8 @@ class LinkSingleElementWidget : public AbstractElementPropertiesEditorWidget
|
||||
void on_m_show_linked_pb_clicked();
|
||||
void on_m_show_this_pb_clicked();
|
||||
|
||||
void on_m_search_field_textEdited(const QString &arg1);
|
||||
|
||||
private:
|
||||
Ui::LinkSingleElementWidget *ui;
|
||||
|
||||
@@ -83,6 +86,7 @@ class LinkSingleElementWidget : public AbstractElementPropertiesEditorWidget
|
||||
Element::kind m_filter;
|
||||
|
||||
QHash <QTreeWidgetItem*, Element*> m_qtwi_elmt_hash;
|
||||
QHash <QTreeWidgetItem*, QStringList> m_qtwi_strl_hash;
|
||||
|
||||
QTreeWidgetItem *m_qtwi_at_context_menu = nullptr,
|
||||
*m_pending_qtwi = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user