DirInputField Class Reference

Inheritance diagram for DirInputField:

Inheritance graph
[legend]
Collaboration diagram for DirInputField:

Collaboration graph
[legend]
List of all members.

Public Slots

void browse ()
 Show a fileDialog and let user choose graphically.

Public Member Functions

 DirInputField (QString name)
QWidget * widget () const
 
Returns:
the wrapped input widget

void clearView ()
 resets the field to a default state.

Static Public Member Functions

static void setFileDialog (QFileDialog *fd)
 
Parameters:
fd the QFileDialog that is shown in response to the browse() slot being called.


Detailed Description

Definition at line 12 of file dirinputfield.h.


Member Function Documentation

static void DirInputField::setFileDialog ( QFileDialog *  fd  )  [inline, static]

Parameters:
fd the QFileDialog that is shown in response to the browse() slot being called.

It is static, so if we change it for one, we change it for all. Does not takes ownership of the fileDialog. The caller is responsible for destroying it at the appropriate time.

Definition at line 25 of file dirinputfield.h.


The documentation for this class was generated from the following files:
Generated on Wed Sep 30 01:15:44 2009 for oopapidocs by  doxygen 1.5.1