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)
 
QWidgetgetOptionsWidget () 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.

Author
Werner Mayer

Member Enumeration Documentation

◆ ExtensionPosition

Enumerator
ExtensionRight 
ExtensionBottom 

Constructor & Destructor Documentation

◆ FileOptionsDialog()

FileOptionsDialog::FileOptionsDialog ( QWidget parent,
Qt::WindowFlags  fl 
)

◆ ~FileOptionsDialog()

FileOptionsDialog::~FileOptionsDialog ( )
virtual

Member Function Documentation

◆ accept()

◆ getOptionsWidget()

QWidget * FileOptionsDialog::getOptionsWidget ( ) const

◆ setOptionsWidget()

void FileOptionsDialog::setOptionsWidget ( FileOptionsDialog::ExtensionPosition  pos,
QWidget w,
bool  show = false 
)

◆ toggleExtension

void FileOptionsDialog::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