CCIMXDesktop
 
Loading...
Searching...
No Matches
MainWindow.h
1#ifndef MAINWINDOW_H
2#define MAINWINDOW_H
3#include <QMainWindow>
4
7class QComboBox;
8class QLabel;
9QT_BEGIN_NAMESPACE
10namespace Ui {
11class MainWindow;
12}
13QT_END_NAMESPACE
14class QFileSystemModel;
15class MainWindow : public QMainWindow {
16 Q_OBJECT
17
18public:
24 MainWindow(QWidget* parent = nullptr);
36
47
48private slots:
54 void processing_switch_double_click(const QModelIndex& index);
55
61 void processing_filecheck_issue(const QModelIndex& index);
62
63private:
64 void setupFileModels();
65 void setupUi();
66 void setup_connections();
67 QList<FileInfoProvider*> providers;
68 Ui::MainWindow* ui;
69 CCIMXFileSystemModel* file_model { nullptr };
70 QComboBox* box { nullptr };
71 QLabel* pwd_label { nullptr };
72};
73#endif // MAINWINDOW_H
The CCIMXFileSystemModel class Extends QFileSystemModel to support additional information providers....
Definition CCIMXFileSystemModel.h:13
The FileInfoProvider class is such an abstract class that using in CCIMXFileSystemModel to provide th...
Definition FileInfoProvider.h:15
MainWindow for example show.
Definition MainWindow.h:15
void try_goto_parent_view()
try_goto_parent_view will attempt to switch to the root, no returns as is uncheckable
Definition MainWindow.cpp:20
void switch_to_global_root()
switch_to_global_root will attempt to switch to the root
Definition MainWindow.cpp:28
InfoIndex
Info index that shell controlls which lines.
Definition MainWindow.h:40
@ NameProviders
name providers line
Definition MainWindow.h:41
@ CountProviders
count providers line
Definition MainWindow.h:42
@ TypeInfoProviders
type info providers line
Definition MainWindow.h:44
@ InfoIndexMax
Max.
Definition MainWindow.h:45
@ DirSizeProviders
dirent providers line
Definition MainWindow.h:43