mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-12 19:12:28 -04:00
Added filter of items to RSTreeWidget.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6493 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
249f2ff2e0
commit
c0cc792300
2 changed files with 40 additions and 0 deletions
|
@ -34,9 +34,14 @@ public:
|
|||
|
||||
void setPlaceholderText(const QString &text);
|
||||
|
||||
void filterItems(int filterColumn, const QString &text);
|
||||
|
||||
signals:
|
||||
void signalMouseMiddleButtonClicked(QTreeWidgetItem *item);
|
||||
|
||||
private:
|
||||
bool filterItem(QTreeWidgetItem *item, int filterColumn, const QString &text);
|
||||
|
||||
protected:
|
||||
void paintEvent(QPaintEvent *event);
|
||||
virtual void mousePressEvent(QMouseEvent *event);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue