umbrello 2.34.70-5524f40e1
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
Public Member Functions | Protected Slots | Protected Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
CodeViewerDialog Class Reference

#include <codeviewerdialog.h>

Inheritance diagram for CodeViewerDialog:
Collaboration diagram for CodeViewerDialog:

Public Member Functions

 CodeViewerDialog (QWidget *parent, CodeDocument *doc, Settings::CodeViewerState state)
 
 ~CodeViewerDialog ()
 
Settings::CodeViewerState state ()
 
void addCodeDocument (CodeDocument *doc)
 
- Public Member Functions inherited from SinglePageDialogBase
 SinglePageDialogBase (QWidget *parent, bool withApplyButton=false, bool withSearchButton=false)
 
virtual ~SinglePageDialogBase ()
 
virtual bool apply ()
 

Protected Slots

virtual void languageChange ()
 
- Protected Slots inherited from SinglePageDialogBase
void slotApply ()
 
void slotOk ()
 

Protected Member Functions

bool close ()
 
- Protected Member Functions inherited from SinglePageDialogBase
virtual bool validate ()
 

Private Member Functions

void initGUI ()
 
- Private Member Functions inherited from Ui_CodeViewerDialogBase
void setupUi (QWidget *CodeViewerDialogBase)
 
void retranslateUi (QWidget *CodeViewerDialogBase)
 

Private Attributes

Settings::CodeViewerState m_state
 
- Private Attributes inherited from Ui_CodeViewerDialogBase
QVBoxLayout * vboxLayout
 
QVBoxLayout * vboxLayout1
 
QGridLayout * gridLayout
 
QCheckBox * ui_showHiddenCodeCB
 
QLabel * ui_componentLabel
 
QCheckBox * ui_highlightCheckBox
 
QTabWidget * ui_tabWidget
 

Friends

class CodeEditor
 

Detailed Description

This class is sooo ugly I don't know where to begin. For now, its a prototype that works, and thats all we need. In the future, a re-write is mandated to bring a bit of beauty to this beast. -b.t.

Constructor & Destructor Documentation

◆ CodeViewerDialog()

CodeViewerDialog::CodeViewerDialog ( QWidget *  parent,
CodeDocument doc,
Settings::CodeViewerState  state 
)
Here is the call graph for this function:

◆ ~CodeViewerDialog()

CodeViewerDialog::~CodeViewerDialog ( )

Member Function Documentation

◆ addCodeDocument()

void CodeViewerDialog::addCodeDocument ( CodeDocument doc)

Adds a code document to the tabbed output.

Here is the call graph for this function:

◆ close()

bool CodeViewerDialog::close ( )
protected

◆ initGUI()

void CodeViewerDialog::initGUI ( )
private
Here is the call graph for this function:

◆ languageChange

void CodeViewerDialog::languageChange ( )
protectedvirtualslot

Sets the strings of the subwidgets using the current language.

Here is the call graph for this function:

◆ state()

Settings::CodeViewerState CodeViewerDialog::state ( )

Return the code viewer state.

Friends And Related Function Documentation

◆ CodeEditor

friend class CodeEditor
friend

Member Data Documentation

◆ m_state

Settings::CodeViewerState CodeViewerDialog::m_state
private

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