CCIMXDesktop
 
Loading...
Searching...
No Matches
MainWindow Class Reference

MainWindow for example show. More...

#include <MainWindow.h>

Inheritance diagram for MainWindow:

Public Types

enum  InfoIndex {
  NameProviders , CountProviders , DirSizeProviders , TypeInfoProviders ,
  InfoIndexMax
}
 Info index that shell controlls which lines. More...
 

Public Slots

void open_documentFromDialog ()
 Opens a PDF document using a file dialog.
 
void browse_document_metas ()
 Opens a window to browse document meta information.
 
void jump_to_page (const int page_index)
 Jumps to the specified page index.
 
void prev_page (void)
 Navigates to the previous page.
 
void next_page (void)
 Navigates to the next page.
 
void switch_toolbox_state (void)
 Toggles the visibility of the toolbox sidebar.
 
void zoom_in (void)
 Zooms into the current PDF view.
 
void zoom_out (void)
 Zooms out of the current PDF view.
 

Public Member Functions

 MainWindow (QWidget *parent=nullptr)
 Construct a new Main Window object.
 
void try_goto_parent_view ()
 try_goto_parent_view will attempt to switch to the root, no returns as is uncheckable
 
void switch_to_global_root ()
 switch_to_global_root will attempt to switch to the root
 
 MainWindow (QWidget *parent=nullptr)
 Constructs the main window and initializes the UI.
 
 ~MainWindow ()
 Destructor to clean up resources.
 
 MainWindow (QWidget *parent=nullptr)
 Construct a new Main Window object.
 
 MainWindow (QWidget *parent=nullptr)
 Construct a new Main Window object.
 

Detailed Description

MainWindow for example show.

The main application window for PDF viewing and interaction.

Member Enumeration Documentation

◆ InfoIndex

Info index that shell controlls which lines.

Enumerator
NameProviders 

name providers line

CountProviders 

count providers line

DirSizeProviders 

dirent providers line

TypeInfoProviders 

type info providers line

InfoIndexMax 

Max.

Constructor & Destructor Documentation

◆ MainWindow() [1/4]

MainWindow::MainWindow ( QWidget *  parent = nullptr)

Construct a new Main Window object.

Parameters
parent

< we need to call this before the library loaded

◆ MainWindow() [2/4]

MainWindow::MainWindow ( QWidget *  parent = nullptr)

Constructs the main window and initializes the UI.

Parameters
parentThe parent widget.

◆ MainWindow() [3/4]

MainWindow::MainWindow ( QWidget *  parent = nullptr)

Construct a new Main Window object.

Parameters
parent

◆ MainWindow() [4/4]

MainWindow::MainWindow ( QWidget *  parent = nullptr)

Construct a new Main Window object.

Parameters
parent

Member Function Documentation

◆ jump_to_page

void MainWindow::jump_to_page ( const int  page_index)
slot

Jumps to the specified page index.

Parameters
page_indexThe target page to jump to.

◆ switch_to_global_root()

void MainWindow::switch_to_global_root ( )

switch_to_global_root will attempt to switch to the root

Note
Fuck Windows, we have to specify the root driver base to show where to display

The documentation for this class was generated from the following files: