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:
blacksun
2014-03-15 20:49:05 +00:00
parent 3240f381d9
commit 82c1ff9fde
5 changed files with 172 additions and 50 deletions

View File

@@ -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