umbrello  2.38.5
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
Classes | Public Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
SettingsDialog Class Reference

#include <settingsdialog.h>

Inheritance diagram for SettingsDialog:
Collaboration diagram for SettingsDialog:

Classes

struct  UIWidgets
 

Public Member Functions

 SettingsDialog (QWidget *parent, Settings::OptionState *state)
 
 ~SettingsDialog ()
 
void setCurrentPage (PageType page)
 
bool getChangesApplied () const
 
QString getCodeGenerationLanguage ()
 
- Public Member Functions inherited from MultiPageDialogBase
 MultiPageDialogBase (QWidget *parent, bool withDefaultButton=false)
 
virtual ~MultiPageDialogBase ()
 
void apply ()
 
void setCaption (const QString &caption)
 
void accept ()
 
void reject ()
 
KPageWidgetItem * currentPage () const
 
void addPage (KPageWidgetItem *page)
 
void setCurrentPage (KPageWidgetItem *page)
 
int exec ()
 
virtual bool isModified () const
 

Private Slots

void slotApply ()
 
void slotOk ()
 
void slotDefault ()
 

Private Member Functions

void setupUIPage ()
 
void setupGeneralPage ()
 
void setupClassPage ()
 
void setupCodeImportPage ()
 
void setupCodeGenPage ()
 
void setupCodeViewerPage (Settings::CodeViewerState options)
 
void setupAutoLayoutPage ()
 
void applyPage (KPageWidgetItem *)
 

Private Attributes

DontAskAgainWidgetm_dontAskAgainWidget
 
Settings::OptionStatem_pOptionState
 
UMLWidgetStylePagem_pUserInterfacePage
 
AutoLayoutOptionPagem_pAutoLayoutPage
 
CodeImportOptionsPagem_pCodeImportPage
 
CodeGenOptionsPagem_pCodeGenPage
 
CodeViewerOptionsPagem_pCodeViewerPage
 
GeneralOptionPagem_pGeneralPage
 
ClassOptionsPagem_pClassPage
 
UIOptionsPagem_uiOptionsPage
 
bool m_bChangesApplied
 
KPageWidgetItem * pageCodeViewer
 
KPageWidgetItem * pageFont
 
KPageWidgetItem * pageCodeImport
 
KPageWidgetItem * pageCodeGen
 
KPageWidgetItem * pageUserInterface
 
KPageWidgetItem * pageClass
 
KPageWidgetItem * pageAutoLayout
 
KPageWidgetItem * pageGeneral
 

Additional Inherited Members

- Public Types inherited from MultiPageDialogBase
enum  PageType {
  AutoLayoutPage, ClassPage, CodeImportPage, CodeGenerationPage,
  CodeViewerPage, FontPage, GeneralPage, UserInterfacePage
}
 Available page types. More...
 
- Signals inherited from MultiPageDialogBase
void okClicked ()
 
void applyClicked ()
 
void defaultClicked ()
 
- Protected Slots inherited from MultiPageDialogBase
void slotEnableButtonOk (bool state)
 
- Protected Member Functions inherited from MultiPageDialogBase
virtual void keyPressEvent (QKeyEvent *event)
 
QFrame * createPage (const QString &name, const QString &header, Icon_Utils::IconType icon)
 
KPageWidgetItem * createPage (const QString &name, const QString &header, Icon_Utils::IconType icon, QWidget *widget)
 
void setupGeneralPage (AssociationWidget *widget)
 
void applyGeneralPage (AssociationWidget *widget)
 
void setupGeneralPage (NoteWidget *widget)
 
KPageWidgetItem * setupGeneralPage (MessageWidget *widget)
 
void applyGeneralPage (MessageWidget *widget)
 
KPageWidgetItem * setupFontPage (const QFont &font)
 
KPageWidgetItem * setupFontPage (UMLWidget *widget)
 
KPageWidgetItem * setupFontPage (AssociationWidget *widget)
 
void resetFontPage (QWidget *widget)
 
void applyFontPage (AssociationWidget *widget)
 
void applyFontPage (Settings::OptionState *state)
 
void applyFontPage (UMLScene *scene)
 
void applyFontPage (UMLWidget *widget)
 
KPageWidgetItem * setupStylePage (WidgetBase *widget)
 
KPageWidgetItem * setupStylePage (AssociationWidget *widget)
 
void applyStylePage ()
 
KPageWidgetItem * setupAssociationRolePage (AssociationWidget *widget)
 
void applyAssociationRolePage ()
 
- Protected Attributes inherited from MultiPageDialogBase
AssociationGeneralPagem_pAssocGeneralPage
 
NotePagem_notePage
 
SelectOperationPagem_operationGeneralPage
 
AssociationRolePagem_pRolePage
 
KFontChooser * m_fontChooser
 
UMLWidgetStylePagem_pStylePage
 
KPageWidgetItem * m_pageItem
 
KPageDialog * m_pageDialog
 
KPageWidget * m_pageWidget
 
bool m_useDialog
 
bool m_isModified
 

Detailed Description

Author
Paul Hensgen modified by brian thomas Aug-2003 Bugs and comments to umbre.nosp@m.llo-.nosp@m.devel.nosp@m.@kde.nosp@m..org or https://bugs.kde.org

Constructor & Destructor Documentation

SettingsDialog::SettingsDialog ( QWidget *  parent,
Settings::OptionState state 
)

Here is the call graph for this function:

SettingsDialog::~SettingsDialog ( )

Member Function Documentation

void SettingsDialog::applyPage ( KPageWidgetItem *  item)
private

Here is the call graph for this function:

bool SettingsDialog::getChangesApplied ( ) const
inline
QString SettingsDialog::getCodeGenerationLanguage ( )

Here is the call graph for this function:

void SettingsDialog::setCurrentPage ( PageType  page)

Set current page

Parameters
pagethe page to set

Here is the call graph for this function:

void SettingsDialog::setupAutoLayoutPage ( )
private

Here is the call graph for this function:

void SettingsDialog::setupClassPage ( )
private

Here is the call graph for this function:

void SettingsDialog::setupCodeGenPage ( )
private

Here is the call graph for this function:

void SettingsDialog::setupCodeImportPage ( )
private

Here is the call graph for this function:

void SettingsDialog::setupCodeViewerPage ( Settings::CodeViewerState  options)
private

Here is the call graph for this function:

void SettingsDialog::setupGeneralPage ( )
private

Here is the call graph for this function:

void SettingsDialog::setupUIPage ( )
private

Here is the call graph for this function:

void SettingsDialog::slotApply ( )
privateslot

Here is the call graph for this function:

void SettingsDialog::slotDefault ( )
privateslot

Here is the call graph for this function:

void SettingsDialog::slotOk ( )
privateslot

Here is the call graph for this function:

Member Data Documentation

bool SettingsDialog::m_bChangesApplied
private
DontAskAgainWidget* SettingsDialog::m_dontAskAgainWidget
private
AutoLayoutOptionPage* SettingsDialog::m_pAutoLayoutPage
private
ClassOptionsPage* SettingsDialog::m_pClassPage
private
CodeGenOptionsPage* SettingsDialog::m_pCodeGenPage
private
CodeImportOptionsPage* SettingsDialog::m_pCodeImportPage
private
CodeViewerOptionsPage* SettingsDialog::m_pCodeViewerPage
private
GeneralOptionPage* SettingsDialog::m_pGeneralPage
private
Settings::OptionState* SettingsDialog::m_pOptionState
private
UMLWidgetStylePage* SettingsDialog::m_pUserInterfacePage
private
UIOptionsPage* SettingsDialog::m_uiOptionsPage
private
KPageWidgetItem * SettingsDialog::pageAutoLayout
private
KPageWidgetItem * SettingsDialog::pageClass
private
KPageWidgetItem * SettingsDialog::pageCodeGen
private
KPageWidgetItem * SettingsDialog::pageCodeImport
private
KPageWidgetItem* SettingsDialog::pageCodeViewer
private
KPageWidgetItem * SettingsDialog::pageFont
private
KPageWidgetItem * SettingsDialog::pageGeneral
private
KPageWidgetItem * SettingsDialog::pageUserInterface
private

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