mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-12 02:55:18 -04:00
Added filter for files in SharedFilesDialog.
It is hidden for the release version (RS_RELEASE_VERSION), because the RemoteDirModel is slow with many files. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3882 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
73f22ad897
commit
bd319d2357
5 changed files with 1122 additions and 905 deletions
|
@ -83,6 +83,10 @@ private slots:
|
|||
|
||||
void indicatorChanged(int index);
|
||||
|
||||
void filterRegExpChanged();
|
||||
void clearFilter();
|
||||
void startFilter();
|
||||
|
||||
signals:
|
||||
void playFiles(QStringList files);
|
||||
|
||||
|
@ -96,7 +100,10 @@ private:
|
|||
|
||||
void processSettings(bool bLoad);
|
||||
|
||||
void copyLink (const QModelIndexList& lst, bool remote);
|
||||
void copyLink (const QModelIndexList& lst, bool remote);
|
||||
|
||||
void FilterItems();
|
||||
bool FilterItem(const QModelIndex &index, const QString &text, int level);
|
||||
|
||||
QModelIndexList getRemoteSelected();
|
||||
QModelIndexList getLocalSelected();
|
||||
|
@ -115,7 +122,6 @@ private:
|
|||
QAction* sendchatlinkAct;
|
||||
QAction* copylinklocalhtmlAct;
|
||||
|
||||
|
||||
/** Qt Designer generated object */
|
||||
Ui::SharedFilesDialog ui;
|
||||
|
||||
|
@ -128,6 +134,8 @@ private:
|
|||
QString currentCommand;
|
||||
QString currentFile;
|
||||
|
||||
QString lastFilterString;
|
||||
|
||||
QAction* fileAssotiationAction(const QString fileName);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue