umbrello 2.38.4
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
Public Member Functions | Protected Slots | Static Private Member Functions | List of all members
CodeGenSelectPage Class Reference

#include <codegenselectpage.h>

Inheritance diagram for CodeGenSelectPage:
Collaboration diagram for CodeGenSelectPage:

Public Member Functions

 CodeGenSelectPage (QWidget *parent=0)
 
 ~CodeGenSelectPage ()
 
void setClassifierList (UMLClassifierList *classList)
 
bool isComplete () const
 
QListWidget * getSelectionListWidget ()
 

Protected Slots

void selectClass ()
 
void deselectClass ()
 

Static Private Member Functions

static void moveSelectedItems (QListWidget *fromList, QListWidget *toList)
 

Detailed Description

Author
Luis De la Parra
Brian Thomas
Andi Fischer

Constructor & Destructor Documentation

◆ CodeGenSelectPage()

CodeGenSelectPage::CodeGenSelectPage ( QWidget *  parent = 0)
explicit

Constructor.

Parameters
parentthe parent (wizard) of this wizard page
Here is the call graph for this function:

◆ ~CodeGenSelectPage()

CodeGenSelectPage::~CodeGenSelectPage ( )

Destructor.

Member Function Documentation

◆ deselectClass

void CodeGenSelectPage::deselectClass ( )
protectedslot

Removes the classes selected in the selected classes list from the list of classes used to generate the code.

Here is the call graph for this function:

◆ getSelectionListWidget()

QListWidget * CodeGenSelectPage::getSelectionListWidget ( )

Returns the list widget, which holds the classes for generation.

Returns
the list widget of the selected classes

◆ isComplete()

bool CodeGenSelectPage::isComplete ( ) const

Reimplemented QWizardPage method the enable / disable the next button.

Returns
complete state

◆ moveSelectedItems()

void CodeGenSelectPage::moveSelectedItems ( QListWidget *  fromList,
QListWidget *  toList 
)
staticprivate

Moves the selected items from first list to second list. The selected items are removed from the first list and added to the second. An item is added to the second list only if it isn't already there (no duplicated items are created).

Parameters
fromListthe list widget of selected items
toListthe target list widget

◆ selectClass

void CodeGenSelectPage::selectClass ( )
protectedslot

Adds the classes selected in the available classes list to the list of classes used to generate the code.

Here is the call graph for this function:

◆ setClassifierList()

void CodeGenSelectPage::setClassifierList ( UMLClassifierList classList)

Loads the available classes for selection / deselection into the list widget.

Parameters
classListthe available classes for generation
Here is the call graph for this function:

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