SciDAVis  1.D4
Public Types | Public Member Functions | Protected Slots | Private Attributes
OpenProjectDialog Class Reference

#include <OpenProjectDialog.h>

Inheritance diagram for OpenProjectDialog:
ExtensibleFileDialog

List of all members.

Public Types

enum  OpenMode { NewProject, NewFolder }

Public Member Functions

OpenMode openMode () const
 OpenProjectDialog (QWidget *parent=0, bool extended=true, Qt::WFlags flags=0)
- Public Member Functions inherited from ExtensibleFileDialog
 ExtensibleFileDialog (QWidget *parent=0, bool extended=true, Qt::WFlags flags=0)
 Constructor.
bool isExtendable ()
 Tells weather the dialog has a valid extension widget.
bool isExtended ()
void setExtended (bool extended)
void setExtensionWidget (QWidget *extension)
 Set the extension widget to be displayed when the user presses the toggle button.

Protected Slots

void closeEvent (QCloseEvent *)
void updateAdvancedOptions (const QString &filter)
 Update which options are visible and enabled based on the output format.

Private Attributes

QComboBox * d_open_mode

Additional Inherited Members

- Protected Attributes inherited from ExtensibleFileDialog
QPushButton * d_extension_toggle
 Button for toggling display of extension on/off.

Member Enumeration Documentation

Enumerator:
NewProject 
NewFolder 

Constructor & Destructor Documentation

OpenProjectDialog::OpenProjectDialog ( QWidget *  parent = 0,
bool  extended = true,
Qt::WFlags  flags = 0 
)

Member Function Documentation

void OpenProjectDialog::closeEvent ( QCloseEvent *  e)
protectedslot
OpenMode OpenProjectDialog::openMode ( ) const
inline

References d_open_mode.

Referenced by ApplicationWindow::open().

void OpenProjectDialog::updateAdvancedOptions ( const QString &  filter)
protectedslot

Update which options are visible and enabled based on the output format.

References ExtensibleFileDialog::d_extension_toggle.

Referenced by OpenProjectDialog().


Member Data Documentation

QComboBox* OpenProjectDialog::d_open_mode
private

Referenced by openMode(), and OpenProjectDialog().


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