A Scribus own file dialog. Used almost everywhere. You can see extension handling in e.g. bool SVGExportPlugin::run(QString filename).
More...
#include <customfdialog.h>
|
void | handleCompress () |
| Switch the filename extensions by compress checkbox state.
|
|
|
| CustomFDialog (QWidget *parent, QString wDir, QString caption="", QString filter="", int flags=fdExistingFiles) |
| Create Scribus file dialog. More...
|
|
void | setExtension (QString e) |
| Set the default extension of the resulting file name. More...
|
|
QString | extension () |
| Get the file extension. More...
|
|
void | setZipExtension (QString e) |
| Set the "compress" extension of the resulting file name. More...
|
|
QString | zipExtension () |
| Get the zipped file extension. More...
|
|
void | setSelection (QString) |
|
QString | selectedFile () |
|
void | addWidgets (QWidget *widgets) |
|
|
QCheckBox * | SaveZip |
|
QCheckBox * | WithFonts |
|
QCheckBox * | WithProfiles |
|
QFrame * | Layout |
|
QFrame * | LayoutC |
|
QComboBox * | TxCodeM |
|
QLabel * | TxCodeT |
|
ScFileWidget * | fileDialog |
|
FDialogPreview * | pw |
|
QCheckBox * | showPreview |
|
QPushButton * | OKButton |
|
QPushButton * | CancelB |
|
|
QVBoxLayout * | vboxLayout |
|
QVBoxLayout * | vboxLayout1 |
|
QHBoxLayout * | hboxLayout |
|
QHBoxLayout * | Layout1 |
|
QHBoxLayout * | Layout1C |
|
QString | ext |
| Property with default extension.
|
|
QString | extZip |
| Property with default compress extension.
|
|
int | optionFlags |
| Option flags given by user in ctore.
|
|
bool | previewIsShown |
|
A Scribus own file dialog. Used almost everywhere. You can see extension handling in e.g. bool SVGExportPlugin::run(QString filename).
CustomFDialog::CustomFDialog |
( |
QWidget * |
parent, |
|
|
QString |
wDir, |
|
|
QString |
caption = "" , |
|
|
QString |
filter = "" , |
|
|
int |
flags = fdExistingFiles |
|
) |
| |
Create Scribus file dialog.
- Parameters
-
parent | a reference to the QWidget parent. |
wDir | starting working directory |
caption | text caption of the dialog window |
filter | a mask/filter. E.g.: *.txt |
flags | combination of fdFlags, default to fdExistingFiles |
QString CustomFDialog::extension |
( |
| ) |
|
Get the file extension.
- Return values
-
void CustomFDialog::setExtension |
( |
QString |
e | ) |
|
Set the default extension of the resulting file name.
- Parameters
-
e | string extension without any "." |
void CustomFDialog::setZipExtension |
( |
QString |
e | ) |
|
Set the "compress" extension of the resulting file name.
- Parameters
-
e | string extension without any "." |
QString CustomFDialog::zipExtension |
( |
| ) |
|
Get the zipped file extension.
- Return values
-
The documentation for this class was generated from the following files:
- /Users/ale/src/Scribus/scribus/ui/customfdialog.h
- /Users/ale/src/Scribus/scribus/ui/customfdialog.cpp