umbrello/umbrello
#include <dialogbase.h>
Public Member Functions | |
DialogBase (QWidget *parent) | |
QFrame * | createPage (const QString &name, const QString &header, Icon_Utils::IconType icon) |
void | saveFontPageData (UMLWidget *widget) |
void | saveStylePageData (UMLWidget *widget) |
KPageWidgetItem * | setupFontPage (UMLWidget *widget) |
KPageWidgetItem * | setupStylePage (UMLWidget *widget) |
Protected Attributes | |
KFontChooser * | m_fontChooser |
KPageWidgetItem * | m_pageItem |
UMLWidgetStylePage * | m_pStylePage |
Detailed Description
Base class for property dialogs.
DialogBase contains common property dialog related methods and attributes In finished state this class provides simple methods to setup common pages like WidgetStyle, FontSetting and others
Bugs and comments to umbre or llo- devel @kde .orghttp://bugs.kde.org
Definition at line 37 of file dialogbase.h.
Constructor & Destructor Documentation
|
explicit |
Constructor.
Definition at line 28 of file dialogbase.cpp.
Member Function Documentation
QFrame * DialogBase::createPage | ( | const QString & | name, |
const QString & | header, | ||
Icon_Utils::IconType | icon | ||
) |
Create a property page.
- Parameters
-
name The Text displayed in the page list header The Text displayed above the page icon The icon to display in the page list
- Returns
- Pointer to created frame
Definition at line 40 of file dialogbase.cpp.
void DialogBase::saveFontPageData | ( | UMLWidget * | widget | ) |
updates the font page data
- Parameters
-
widget Widget to save the font data into
Definition at line 69 of file dialogbase.cpp.
void DialogBase::saveStylePageData | ( | UMLWidget * | widget | ) |
updates the font page data
- Parameters
-
widget Widget to save the font data into
Definition at line 91 of file dialogbase.cpp.
KPageWidgetItem * DialogBase::setupFontPage | ( | UMLWidget * | widget | ) |
Sets up the font selection page.
- Parameters
-
widget The widget to load the initial data from
Definition at line 55 of file dialogbase.cpp.
KPageWidgetItem * DialogBase::setupStylePage | ( | UMLWidget * | widget | ) |
Sets up the style page.
- Parameters
-
widget The widget to load the initial data from
Definition at line 78 of file dialogbase.cpp.
Member Data Documentation
|
protected |
Definition at line 51 of file dialogbase.h.
|
protected |
Definition at line 53 of file dialogbase.h.
|
protected |
Definition at line 52 of file dialogbase.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:06:02 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.