File browser.
More...
#include <FileBrowser.h>
|
void | sigDoubleClicked (const QString &szItem, bool bDir) |
|
void | sigChanged (const QString &szItem, bool bDir) |
|
|
| CFileBrowser (QWidget *parent=nullptr) |
|
void | setRootPath (const QString dir) |
| Set root path.
|
|
QString | rootPath () const |
| Get root path.
|
|
File browser.
Definition at line 25 of file FileBrowser.h.
◆ ~CFileBrowser()
CFileBrowser::~CFileBrowser |
( |
| ) |
|
|
virtual |
◆ GetSetPrefix()
QString CFileBrowser::GetSetPrefix |
( |
| ) |
|
|
private |
◆ readFile()
QString CFileBrowser::readFile |
( |
const QString & |
filePath | ) |
|
|
private |
◆ rootPath()
QString CFileBrowser::rootPath |
( |
| ) |
const |
◆ setRootPath()
void CFileBrowser::setRootPath |
( |
const QString |
dir | ) |
|
◆ ShowFile()
int CFileBrowser::ShowFile |
( |
const QString & |
szFile | ) |
|
|
private |
◆ sigDoubleClicked
void CFileBrowser::sigDoubleClicked |
( |
const QString & |
szItem, |
|
|
bool |
bDir |
|
) |
| |
|
signal |
- Parameters
-
szItem | item of double clicked |
bDir |
- true: item is directory
- false: item is folder
|
◆ slotClicked
void CFileBrowser::slotClicked |
( |
const QModelIndex & |
index | ) |
|
|
slot |
◆ CChange
◆ m_pAssociated
QAction* CFileBrowser::m_pAssociated |
|
private |
◆ m_pFilter
QSortFilterProxyModel* CFileBrowser::m_pFilter |
|
private |
◆ m_pHiddenFile
QAction* CFileBrowser::m_pHiddenFile |
|
private |
◆ m_pList
QListView* CFileBrowser::m_pList |
|
private |
◆ m_pModel
QFileSystemModel* CFileBrowser::m_pModel |
|
private |
◆ m_pOrientation
QAction* CFileBrowser::m_pOrientation |
|
private |
◆ m_pSpliter
QSplitter* CFileBrowser::m_pSpliter |
|
private |
◆ m_pTable
QTableView* CFileBrowser::m_pTable |
|
private |
◆ m_pTextEdit
QTextEdit* CFileBrowser::m_pTextEdit |
|
private |
◆ m_pTree
◆ m_pUndoStack
QUndoStack* CFileBrowser::m_pUndoStack |
|
private |
The documentation for this class was generated from the following files:
- /home/runner/work/RabbitCommon/RabbitCommon/Src/FileBrowser/FileBrowser.h
- /home/runner/work/RabbitCommon/RabbitCommon/Src/FileBrowser/FileBrowser.cpp