The FileOptionsDialog class provides an extensible file dialog with an additonal 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 } |
Signals | |
void | filterSelected (const QString &) |
Public Member Functions | |
void | accept () |
FileOptionsDialog (QWidget *parent, Qt::WFlags) | |
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 additonal widget either at the right or at the bottom, that can be shown or hidden with the 'Extended' button.
Definition at line 68 of file FileDialog.h.
Definition at line 73 of file FileDialog.h.
FileOptionsDialog::FileOptionsDialog | ( | QWidget * | parent, | |
Qt::WFlags | fl | |||
) |
Definition at line 205 of file FileDialog.cpp.
References draftlibs::fcgeo::connect(), filterSelected(), and toggleExtension().
FileOptionsDialog::~FileOptionsDialog | ( | ) | [virtual] |
Definition at line 226 of file FileDialog.cpp.
void FileOptionsDialog::accept | ( | void | ) |
Definition at line 230 of file FileDialog.cpp.
References Mesh2Shape::ext, and draftlibs::dxfReader::filename.
void Gui::FileOptionsDialog::filterSelected | ( | const QString & | ) | [signal] |
Referenced by FileOptionsDialog().
QWidget * FileOptionsDialog::getOptionsWidget | ( | ) | const |
Definition at line 307 of file FileDialog.cpp.
void FileOptionsDialog::setOptionsWidget | ( | FileOptionsDialog::ExtensionPosition | pos, | |
QWidget * | w, | |||
bool | show = false | |||
) |
Definition at line 291 of file FileDialog.cpp.
References ExtensionBottom, ExtensionRight, Sketcher::Horizontal, toggleExtension(), and Sketcher::Vertical.
Referenced by StdViewScreenShot::activated(), and DrawingGui::DrawingView::printPdf().
void FileOptionsDialog::toggleExtension | ( | ) | [protected, slot] |
Definition at line 284 of file FileDialog.cpp.
References RobotExample::w.
Referenced by FileOptionsDialog(), and setOptionsWidget().