iVS3D v2.0.0
Loading...
Searching...
No Matches
EmptyFolderDialog Class Reference

The EmptyFolderDialog class gets opened if the export was started in a non empty folder, requiring user input on how to handle this situation The user has three options: 1) "Delete and continue", deleting all files inside the selected output-folder (QDir::removeRecursively()) and exporting after. QDialog::exec() returns "1" == accepted(). 2) "Ignore", ignoring any existing files and overwriting them if necessary. QDialog::exec() returns "2". 3) "Abort", stops the export and aborts it completely. QDialog::exec() returns "0" == rejected(). More...

#include <emptyfolderdialog.h>

Inheritance diagram for EmptyFolderDialog:

Public Member Functions

 EmptyFolderDialog (QWidget *parent=0, const QString &path="")
 EmptyFolderDialog constructor that sets up ui elements.
 

Detailed Description

The EmptyFolderDialog class gets opened if the export was started in a non empty folder, requiring user input on how to handle this situation The user has three options: 1) "Delete and continue", deleting all files inside the selected output-folder (QDir::removeRecursively()) and exporting after. QDialog::exec() returns "1" == accepted(). 2) "Ignore", ignoring any existing files and overwriting them if necessary. QDialog::exec() returns "2". 3) "Abort", stops the export and aborts it completely. QDialog::exec() returns "0" == rejected().

Author
Lennart Ruck
Date
2021/04/14

Constructor & Destructor Documentation

◆ EmptyFolderDialog()

EmptyFolderDialog::EmptyFolderDialog ( QWidget *  parent = 0,
const QString &  path = "" 
)
explicit

EmptyFolderDialog constructor that sets up ui elements.

Parameters
parentparent ui parent that holds this widget

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