aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.h
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2017-06-16 15:42:55 -0400
committerKen Moore <ken@ixsystems.com>2017-06-16 15:42:55 -0400
commitf173b388b9c8aa208e9afbf3f70168db4f8bdc4f (patch)
tree6cc1e73c2c22d39ce73954adbb00994e8a18cced /src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.h
parentSpeed up the loading of thumbnails in lumina-fm. Now all the scaling and such... (diff)
downloadlumina-f173b388b9c8aa208e9afbf3f70168db4f8bdc4f.tar.gz
lumina-f173b388b9c8aa208e9afbf3f70168db4f8bdc4f.tar.bz2
lumina-f173b388b9c8aa208e9afbf3f70168db4f8bdc4f.zip
Get the new side-pane TreeView up and running with q5sys's input.
Diffstat (limited to 'src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.h')
-rw-r--r--src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.h b/src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.h
index c586e3e9..20b677d7 100644
--- a/src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.h
+++ b/src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.h
@@ -34,13 +34,13 @@ public:
enum DETAILTYPES{ NAME, SIZE, TYPE, DATEMOD, DATECREATE};
DirWidget(QString objID, QWidget *parent = 0); //needs a unique ID (to distinguish from other DirWidgets)
~DirWidget();
-
+
void cleanup(); //called before the browser is closed down
-
+
//Directory Managment
void ChangeDir(QString dirpath);
void setDirCompleter(QCompleter *comp);
-
+
//Information
QString id();
QString currentDir();
@@ -61,7 +61,7 @@ public:
public slots:
//void LoadDir(QString dir, LFileInfoList list);
void LoadSnaps(QString basedir, QStringList snaps);
-
+
//Refresh options
void refresh(); //Refresh current directory
@@ -109,14 +109,14 @@ private slots:
// -- Bottom Action Buttons
void on_tool_zoom_in_clicked();
- void on_tool_zoom_out_clicked();
+ void on_tool_zoom_out_clicked();
// -- Top Snapshot Buttons
void on_tool_snap_newer_clicked();
void on_tool_snap_older_clicked();
void on_slider_snap_valueChanged(int val = -1);
void direct_snap_selected(QAction*);
-
+
//Top Toolbar buttons
void on_actionBack_triggered();
void on_actionUp_triggered();
@@ -130,16 +130,16 @@ private slots:
void fileCheckSums();
void fileProperties();
void openTerminal();
-
+
//Browser Functions
void OpenContextMenu();
void UpdateContextMenu();
void currentDirectoryChanged(bool widgetonly = false);
void dirStatusChanged(QString);
- void setCurrentBrowser(QString);
-// void on_folderViewPane_clicked();
-
+ void setCurrentBrowser(QString);
+ void on_folderViewPane_clicked(const QModelIndex &index);
+
//Context Menu Functions
// - DIRECTORY operations
void createNewFile();
@@ -156,7 +156,7 @@ private slots:
void removeFiles();
void runFiles();
void runWithFiles();
- //void attachToNewEmail();
+ //void attachToNewEmail();
void autoExtractFiles();
// - Context-specific operations
@@ -169,7 +169,7 @@ signals:
void OpenDirectories(QStringList); //Directories to open in other tabs/columns
void findSnaps(QString, QString); //ID, dirpath (Request snapshot information for a directory)
void CloseBrowser(QString); //ID (Request that this browser be closed)
-
+
//External App/Widget launching
void PlayFiles(LFileInfoList); //open in multimedia player
void ViewFiles(LFileInfoList); //open in slideshow
bgstack15