Graphviz 13.0.0~dev.20241222.1117
Loading...
Searching...
No Matches
MdiChild Class Reference

#include <mdichild.h>

Inheritance diagram for MdiChild:
[legend]
Collaboration diagram for MdiChild:
[legend]

Public Member Functions

 MdiChild ()
 
void newFile ()
 
bool loadFile (const QString &fileName)
 
bool save ()
 
bool saveAs ()
 
bool saveFile (const QString &fileName)
 
QString userFriendlyCurrentFile ()
 
QString currentFile ()
 
bool loadPreview (const QString &fileName)
 
bool firstTime ()
 

Data Fields

int layoutIdx
 
int renderIdx
 
QString outputFile
 
bool preview
 
bool applyCairo
 
QString attributes
 
std::unique_ptr< ImageViewerpreviewFrm
 
CMainWindowparentFrm
 
bool settingsSet
 

Protected Member Functions

void closeEvent (QCloseEvent *event)
 

Detailed Description

Definition at line 18 of file mdichild.h.

Constructor & Destructor Documentation

◆ MdiChild()

MdiChild::MdiChild ( )

Definition at line 17 of file mdichild.cpp.

References applyCairo, layoutIdx, preview, renderIdx, and settingsSet.

Member Function Documentation

◆ closeEvent()

void MdiChild::closeEvent ( QCloseEvent *  event)
protected

Definition at line 99 of file mdichild.cpp.

◆ currentFile()

QString MdiChild::currentFile ( )
inline

Definition at line 31 of file mdichild.h.

◆ firstTime()

bool MdiChild::firstTime ( )

Definition at line 157 of file mdichild.cpp.

References settingsSet.

◆ loadFile()

bool MdiChild::loadFile ( const QString &  fileName)

Definition at line 38 of file mdichild.cpp.

References fileName().

Referenced by CMainWindow::addFile().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ loadPreview()

bool MdiChild::loadPreview ( const QString &  fileName)

Definition at line 140 of file mdichild.cpp.

References fileName(), CMainWindow::mdiArea, parentFrm, and previewFrm.

Here is the call graph for this function:

◆ newFile()

void MdiChild::newFile ( )

Definition at line 27 of file mdichild.cpp.

◆ save()

bool MdiChild::save ( )

Definition at line 60 of file mdichild.cpp.

References saveAs(), and saveFile().

Here is the call graph for this function:

◆ saveAs()

bool MdiChild::saveAs ( )

Definition at line 67 of file mdichild.cpp.

References fileName(), and saveFile().

Referenced by save().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ saveFile()

bool MdiChild::saveFile ( const QString &  fileName)

Definition at line 75 of file mdichild.cpp.

References fileName(), and out().

Referenced by save(), and saveAs().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ userFriendlyCurrentFile()

QString MdiChild::userFriendlyCurrentFile ( )

Definition at line 97 of file mdichild.cpp.

Field Documentation

◆ applyCairo

bool MdiChild::applyCairo

Definition at line 36 of file mdichild.h.

Referenced by MdiChild().

◆ attributes

QString MdiChild::attributes

Definition at line 37 of file mdichild.h.

◆ layoutIdx

int MdiChild::layoutIdx

Definition at line 32 of file mdichild.h.

Referenced by MdiChild().

◆ outputFile

QString MdiChild::outputFile

Definition at line 34 of file mdichild.h.

◆ parentFrm

CMainWindow* MdiChild::parentFrm

Definition at line 39 of file mdichild.h.

Referenced by loadPreview().

◆ preview

bool MdiChild::preview

Definition at line 35 of file mdichild.h.

Referenced by MdiChild().

◆ previewFrm

std::unique_ptr<ImageViewer> MdiChild::previewFrm

Definition at line 38 of file mdichild.h.

Referenced by ImageViewer::closeEvent(), and loadPreview().

◆ renderIdx

int MdiChild::renderIdx

Definition at line 33 of file mdichild.h.

Referenced by MdiChild().

◆ settingsSet

bool MdiChild::settingsSet

Definition at line 42 of file mdichild.h.

Referenced by CFrmSettings::drawGraph(), firstTime(), and MdiChild().


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