umbrello 2.34.70-5524f40e1
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 ()
 
- Static Public Member Functions inherited from MultiPageDialogBase
static int spacingHint ()
 
- 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::SettingsDialog ( QWidget *  parent,
Settings::OptionState state 
)
Here is the call graph for this function:

◆ ~SettingsDialog()

SettingsDialog::~SettingsDialog ( )

Member Function Documentation

◆ applyPage()

void SettingsDialog::applyPage ( KPageWidgetItem *  item)
private
Here is the call graph for this function:

◆ getChangesApplied()

bool SettingsDialog::getChangesApplied ( ) const
inline

◆ getCodeGenerationLanguage()

QString SettingsDialog::getCodeGenerationLanguage ( )
Here is the call graph for this function:

◆ setCurrentPage()

void SettingsDialog::setCurrentPage ( PageType  page)

Set current page

Parameters
pagethe page to set
Here is the call graph for this function:

◆ setupAutoLayoutPage()

void SettingsDialog::setupAutoLayoutPage ( )
private
Here is the call graph for this function:

◆ setupClassPage()

void SettingsDialog::setupClassPage ( )
private
Here is the call graph for this function:

◆ setupCodeGenPage()

void SettingsDialog::setupCodeGenPage ( )
private
Here is the call graph for this function:

◆ setupCodeImportPage()

void SettingsDialog::setupCodeImportPage ( )
private
Here is the call graph for this function:

◆ setupCodeViewerPage()

void SettingsDialog::setupCodeViewerPage ( Settings::CodeViewerState  options)
private
Here is the call graph for this function:

◆ setupGeneralPage()

void SettingsDialog::setupGeneralPage ( )
private
Here is the call graph for this function:

◆ setupUIPage()

void SettingsDialog::setupUIPage ( )
private
Here is the call graph for this function:

◆ slotApply

void SettingsDialog::slotApply ( )
privateslot
Here is the call graph for this function:

◆ slotDefault

void SettingsDialog::slotDefault ( )
privateslot
Here is the call graph for this function:

◆ slotOk

void SettingsDialog::slotOk ( )
privateslot
Here is the call graph for this function:

Member Data Documentation

◆ m_bChangesApplied

bool SettingsDialog::m_bChangesApplied
private

◆ m_dontAskAgainWidget

DontAskAgainWidget* SettingsDialog::m_dontAskAgainWidget
private

◆ m_pAutoLayoutPage

AutoLayoutOptionPage* SettingsDialog::m_pAutoLayoutPage
private

◆ m_pClassPage

ClassOptionsPage* SettingsDialog::m_pClassPage
private

◆ m_pCodeGenPage

CodeGenOptionsPage* SettingsDialog::m_pCodeGenPage
private

◆ m_pCodeImportPage

CodeImportOptionsPage* SettingsDialog::m_pCodeImportPage
private

◆ m_pCodeViewerPage

CodeViewerOptionsPage* SettingsDialog::m_pCodeViewerPage
private

◆ m_pGeneralPage

GeneralOptionPage* SettingsDialog::m_pGeneralPage
private

◆ m_pOptionState

Settings::OptionState* SettingsDialog::m_pOptionState
private

◆ m_pUserInterfacePage

UMLWidgetStylePage* SettingsDialog::m_pUserInterfacePage
private

◆ m_uiOptionsPage

UIOptionsPage* SettingsDialog::m_uiOptionsPage
private

◆ pageAutoLayout

KPageWidgetItem * SettingsDialog::pageAutoLayout
private

◆ pageClass

KPageWidgetItem * SettingsDialog::pageClass
private

◆ pageCodeGen

KPageWidgetItem * SettingsDialog::pageCodeGen
private

◆ pageCodeImport

KPageWidgetItem * SettingsDialog::pageCodeImport
private

◆ pageCodeViewer

KPageWidgetItem* SettingsDialog::pageCodeViewer
private

◆ pageFont

KPageWidgetItem * SettingsDialog::pageFont
private

◆ pageGeneral

KPageWidgetItem * SettingsDialog::pageGeneral
private

◆ pageUserInterface

KPageWidgetItem * SettingsDialog::pageUserInterface
private

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