mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-04-10 16:49:59 +02:00
LinkSingleElementWidget: add line for filter available element.
filter work with the information of element. elementSelectorWidget: add filter method. git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2926 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -52,9 +52,12 @@ class LinkSingleElementWidget : public QWidget
|
||||
void buildInterface();
|
||||
void buildList();
|
||||
void buildUnlinkButton();
|
||||
void buildSearchField();
|
||||
QList <Element *> availableElements();
|
||||
void setUpCompleter();
|
||||
|
||||
private slots:
|
||||
void reBuildList();
|
||||
void setNewList();
|
||||
void unlinkClicked();
|
||||
void on_button_this_clicked();
|
||||
void on_button_linked_clicked();
|
||||
@@ -68,6 +71,7 @@ class LinkSingleElementWidget : public QWidget
|
||||
QWidget *unlink_widget;
|
||||
bool unlink_;
|
||||
Element::kind filter_;
|
||||
QLineEdit *search_field;
|
||||
};
|
||||
|
||||
#endif // LINKSINGLEELEMENTWIDGET_H
|
||||
|
||||
Reference in New Issue
Block a user