The FileOptionsDialog class provides an extensible file dialog with an additional widget either at the right or at the bottom, that can be shown or hidden with the 'Extended' button. More...
#include <FileDialog.h>
Public Types | |
enum | ExtensionPosition { ExtensionRight = 0 , ExtensionBottom = 1 } |
Public Member Functions | |
void | accept () |
FileOptionsDialog (QWidget *parent, Qt::WindowFlags) | |
QWidget * | getOptionsWidget () const |
void | setOptionsWidget (ExtensionPosition pos, QWidget *, bool show=false) |
virtual | ~FileOptionsDialog () |
Protected Slots | |
void | toggleExtension () |
The FileOptionsDialog class provides an extensible file dialog with an additional widget either at the right or at the bottom, that can be shown or hidden with the 'Extended' button.
FileOptionsDialog::FileOptionsDialog | ( | QWidget * | parent, |
Qt::WindowFlags | fl | ||
) |
References draftgeoutils.intersections::connect(), and toggleExtension().
|
virtual |
void FileOptionsDialog::accept | ( | void | ) |
QWidget * FileOptionsDialog::getOptionsWidget | ( | ) | const |
void FileOptionsDialog::setOptionsWidget | ( | FileOptionsDialog::ExtensionPosition | pos, |
QWidget * | w, | ||
bool | show = false |
||
) |
References ExtensionBottom, ExtensionRight, and toggleExtension().
Referenced by StdViewScreenShot::activated(), and DrawingGui::DrawingView::printPdf().
|
protectedslot |
References ExtensionRight.
Referenced by FileOptionsDialog(), and setOptionsWidget().