KDevelop API Documentation

AutoForm Class Reference

A QWidget that automaticly constructs a form from a PropertyMap. More...

#include <autoform.h>

Inheritance diagram for AutoForm:

Inheritance graph
[legend]
Collaboration diagram for AutoForm:

Collaboration graph
[legend]
List of all members.

Signals

void mapChanged ()

Public Member Functions

 AutoForm (AutoPropertyMap *map, QWidget *parent=0, const char *name=0)
 ~AutoForm ()
DataFormdataForm () const
 Provides access to the internal dataForm.

Protected Member Functions

void viewportResizeEvent (QResizeEvent *ev)

Private Slots

void slotMapChanged ()

Private Member Functions

void buildGUI (AutoPropertyMap *map)

Private Attributes

KPushButtonm_reset
KPushButtonm_submit
DataFormm_dataForm
QVBoxm_mainBox

Detailed Description

A QWidget that automaticly constructs a form from a PropertyMap.

Author:
Ian Reinhart Geiser

Definition at line 43 of file autoform.h.


Constructor & Destructor Documentation

AutoForm::AutoForm AutoPropertyMap map,
QWidget parent = 0,
const char *  name = 0
 

Definition at line 30 of file autoform.cpp.

References AutoPropertyMap, buildGUI(), m_dataForm, m_mainBox, mapChanged(), PropertyMap, DataForm::setForm(), DataForm::setMap(), slotMapChanged(), and DataForm::updateView().

AutoForm::~AutoForm  ) 
 

Definition at line 48 of file autoform.cpp.


Member Function Documentation

void AutoForm::buildGUI AutoPropertyMap map  )  [private]
 

Definition at line 52 of file autoform.cpp.

References AutoPropertyMap, m_dataForm, m_mainBox, m_reset, and m_submit.

Referenced by AutoForm().

DataForm* AutoForm::dataForm  )  const [inline]
 

Provides access to the internal dataForm.

Definition at line 53 of file autoform.h.

Referenced by AppWizardDialog::accept().

void AutoForm::mapChanged  )  [signal]
 

Referenced by AutoForm(), and slotMapChanged().

void AutoForm::slotMapChanged  )  [private, slot]
 

Definition at line 73 of file autoform.cpp.

References mapChanged().

Referenced by AutoForm().

void AutoForm::viewportResizeEvent QResizeEvent ev  )  [protected]
 

Definition at line 78 of file autoform.cpp.

References m_mainBox.


Member Data Documentation

DataForm* AutoForm::m_dataForm [private]
 

Definition at line 66 of file autoform.h.

Referenced by AutoForm(), and buildGUI().

QVBox* AutoForm::m_mainBox [private]
 

Definition at line 67 of file autoform.h.

Referenced by AutoForm(), buildGUI(), and viewportResizeEvent().

KPushButton* AutoForm::m_reset [private]
 

Definition at line 64 of file autoform.h.

Referenced by buildGUI().

KPushButton* AutoForm::m_submit [private]
 

Definition at line 65 of file autoform.h.

Referenced by buildGUI().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for KDevelop Version 3.1.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Feb 22 09:36:56 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003