Gui::FileOptionsDialog Class Reference

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>

List of all members.

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

Detailed Description

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.

Author:
Werner Mayer

Definition at line 68 of file FileDialog.h.


Member Enumeration Documentation

Enumerator:
ExtensionRight 
ExtensionBottom 

Definition at line 73 of file FileDialog.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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 
)
void FileOptionsDialog::toggleExtension (  )  [protected, slot]

Definition at line 284 of file FileDialog.cpp.

References RobotExample::w.

Referenced by FileOptionsDialog(), and setOptionsWidget().


The documentation for this class was generated from the following files:

Generated on Wed Nov 23 19:02:00 2011 for FreeCAD by  doxygen 1.6.1