Updraft  1.0
Open source glider flight visualisation tool.
Updraft::Core::DirectoryEditor Class Reference

Editor for QDir in settings dialog. More...

#include <directoryeditor.h>

List of all members.

Public Member Functions

 DirectoryEditor (QWidget *parent=0)
const QDir & directory () const
 Gets the directory property value of this editor.
void setDirectory (const QDir &dir)
 Sets the directory property displayed in the editor.

Properties

QDir directory

Private Slots

void onClick ()
 Reacts on the button click and displays the standard directory selection dialog that allows the user to change the directory property.

Private Attributes

QDir dirProp
 The property of this editor.

Detailed Description

Editor for QDir in settings dialog.

Displays a button that opens standard directory select dialog when clicked.


Constructor & Destructor Documentation

Updraft::Core::DirectoryEditor::DirectoryEditor ( QWidget *  parent = 0) [explicit]

Member Function Documentation

Gets the directory property value of this editor.

Returns:
The curently selected directory in the editor.
void Updraft::Core::DirectoryEditor::onClick ( ) [private, slot]

Reacts on the button click and displays the standard directory selection dialog that allows the user to change the directory property.

Sets the directory property displayed in the editor.

Parameters:
dirThe directory to be displayed in the editor.

Member Data Documentation

The property of this editor.


Property Documentation

const QDir & Updraft::Core::DirectoryEditor::directory [read, write]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines