kig
#include <kigfiledialog.h>
Public Member Functions | |
KigFileDialog (const QString &startDir, const QString &filter, const QString &caption, QWidget *parent) | |
void | setOptionCaption (const QString &caption) |
void | setOptionsWidget (QWidget *w) |
Protected Slots | |
virtual void | accept () |
Detailed Description
This file dialog is pretty like KFileDialog, but allow us to make an option widget popup to the user.
Definition at line 27 of file kigfiledialog.h.
Constructor & Destructor Documentation
KigFileDialog::KigFileDialog | ( | const QString & | startDir, |
const QString & | filter, | ||
const QString & | caption, | ||
QWidget * | parent | ||
) |
Construct a new KigFileDialog.
- Parameters
-
startDir the start dir of the file dialog. Consult the documentation of KFileDialog for more help about this filter the filter for the file dialog caption the caption of this file dialog parent the parent for this file dialog
Definition at line 26 of file kigfiledialog.cc.
Member Function Documentation
|
protectedvirtualslot |
Definition at line 42 of file kigfiledialog.cc.
void KigFileDialog::setOptionCaption | ( | const QString & | caption | ) |
Set the caption of the option dialog.
- Parameters
-
caption the caption of the option dialog
Definition at line 75 of file kigfiledialog.cc.
void KigFileDialog::setOptionsWidget | ( | QWidget * | w | ) |
Use this to set the widget containing the options of eg an export filter.
The option widget will be popped up in a dialog right after the user presses OK and before the dialog is closed.
You can construct the option widget with no parent, as it will be reparented.
- Parameters
-
w the option widget
Definition at line 37 of file kigfiledialog.cc.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:12:06 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.