Gui::FileOptionsDialog Class Reference
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 () |
Detailed Description
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.
Member Enumeration Documentation
◆ ExtensionPosition
Constructor & Destructor Documentation
◆ FileOptionsDialog()
FileOptionsDialog::FileOptionsDialog | ( | QWidget * | parent, |
Qt::WindowFlags | fl | ||
) |
References draftgeoutils.intersections::connect(), and toggleExtension().
◆ ~FileOptionsDialog()
|
virtual |
Member Function Documentation
◆ accept()
void FileOptionsDialog::accept | ( | void | ) |
◆ getOptionsWidget()
QWidget * FileOptionsDialog::getOptionsWidget | ( | ) | const |
◆ setOptionsWidget()
void FileOptionsDialog::setOptionsWidget | ( | FileOptionsDialog::ExtensionPosition | pos, |
QWidget * | w, | ||
bool | show = false |
||
) |
References ExtensionBottom, ExtensionRight, and toggleExtension().
Referenced by StdViewScreenShot::activated(), and DrawingGui::DrawingView::printPdf().
◆ toggleExtension
|
protectedslot |
References ExtensionRight.
Referenced by FileOptionsDialog(), and setOptionsWidget().
The documentation for this class was generated from the following files:
- Sources/FreeCAD/src/Gui/FileDialog.h
- Sources/FreeCAD/src/Gui/FileDialog.cpp