A dialog page to display classifier properties.  
 More...
#include <classifierlistpage.h>
A dialog page to display classifier properties. 
A dialog page to display classifier list properties. This is not normally setup by you. It is used by the ClassPropertiesDialog and new class wizard.
- Author
- Paul Hensgen, Jonathan Riddell Bugs and comments to umbre.nosp@m.llo-.nosp@m.devel.nosp@m.@kde.nosp@m..org or https://bugs.kde.org 
◆ ClassifierListPage()
Sets up the ClassifierListPage. 
- Parameters
- 
  
    | parent | The parent to the ClassAttPage. |  | classifier | The Concept to display the properties of. |  | doc | The UMLDoc document |  | type | The type of listItem this handles |  
 
 
 
◆ ~ClassifierListPage()
  
  | 
        
          | ClassifierListPage::~ClassifierListPage | ( |  | ) |  |  | virtual | 
 
 
◆ addToClassifier()
Attempts to add a UMLClassifierListItem to m_pClassifier. 
- Parameters
- 
  
    | listitem | Pointer to the classifier list item to add. |  | position | Index at which to insert into the list. |  
 
- Returns
- true if the classifier could be added 
 
 
◆ apply()
      
        
          | void ClassifierListPage::apply | ( |  | ) |  | 
      
 
Will move information from the dialog into the object. Call when the ok or apply button is pressed. 
 
 
◆ deleteMenu()
  
  | 
        
          | void ClassifierListPage::deleteMenu | ( |  | ) |  |  | private | 
 
 
◆ enableWidgets()
  
  | 
        
          | void ClassifierListPage::enableWidgets | ( | bool | state | ) |  |  | private | 
 
Set the state of the widgets on the page with the given value. 
- Parameters
- 
  
    | state | The state to set the widgets as. |  
 
 
 
◆ getItemList()
Get classifier list items. 
 
 
◆ hideArrowButtons()
  
  | 
        
          | void ClassifierListPage::hideArrowButtons | ( | bool | hide | ) |  |  | protected | 
 
Sets the visibility of the arrow buttons. 
- Parameters
- 
  
    | hide | true hides the arrow buttons |  
 
 
 
◆ printItemList()
  
  | 
        
          | void ClassifierListPage::printItemList | ( | const QString & | prologue | ) |  |  | private | 
 
Utility for debugging, prints the current item list. Only effective if VERBOSE_DEBUGGING is defined. 
 
 
◆ reloadItemListBox()
  
  | 
        
          | void ClassifierListPage::reloadItemListBox | ( |  | ) |  |  | protected | 
 
 
◆ saveCurrentItemDocumentation()
  
  | 
        
          | void ClassifierListPage::saveCurrentItemDocumentation | ( |  | ) |  |  | private | 
 
Saves the documentation for the currently selected item. 
 
 
◆ setupActionButtons()
  
  | 
        
          | void ClassifierListPage::setupActionButtons | ( | const QString & | itemType, |  
          |  |  | QVBoxLayout * | parentLayout ) |  | private | 
 
Sets up the action buttons. 
- Parameters
- 
  
    | itemType | The item type. |  | parentLayout | The parent layout to which this group belongs. |  
 
 
 
◆ setupDocumentationGroup()
  
  | 
        
          | void ClassifierListPage::setupDocumentationGroup | ( | int | margin | ) |  |  | private | 
 
Sets up the documentation group. 
- Parameters
- 
  
    | margin | The margin of the group. |  
 
 
 
◆ setupListGroup()
  
  | 
        
          | void ClassifierListPage::setupListGroup | ( | int | margin | ) |  |  | private | 
 
Sets up the list group. 
- Parameters
- 
  
    | margin | The margin of the group. |  
 
 
 
◆ setupMoveButtons()
  
  | 
        
          | void ClassifierListPage::setupMoveButtons | ( | QHBoxLayout * | parentLayout | ) |  |  | private | 
 
Sets up the move up/down buttons. 
- Parameters
- 
  
    | parentLayout | The parent layout to which this group belongs. |  
 
 
 
◆ setupPage()
  
  | 
        
          | void ClassifierListPage::setupPage | ( |  | ) |  |  | private | 
 
 
◆ slotActivateItem
  
  | 
        
          | void ClassifierListPage::slotActivateItem | ( | QListWidgetItem * | item | ) |  |  | protectedslot | 
 
 
◆ slotBottomClicked
  
  | 
        
          | void ClassifierListPage::slotBottomClicked | ( |  | ) |  |  | protectedslot | 
 
Moved selected attribute to the bottom of the list. 
 
 
◆ slotDelete
  
  | 
        
          | void ClassifierListPage::slotDelete | ( |  | ) |  |  | protectedslot | 
 
Removes currently selected attribute. 
 
 
◆ slotDoubleClick
  
  | 
        
          | void ClassifierListPage::slotDoubleClick | ( | QListWidgetItem * | item | ) |  |  | protectedslot | 
 
Shows properties dialog for the attribute clicked on. 
 
 
◆ slotDownClicked
  
  | 
        
          | void ClassifierListPage::slotDownClicked | ( |  | ) |  |  | protectedslot | 
 
Moved selected attribute down in list. 
 
 
◆ slotListItemCreated
  
  | 
        
          | void ClassifierListPage::slotListItemCreated | ( | UMLObject * | object | ) |  |  | protectedslot | 
 
 
◆ slotListItemModified
  
  | 
        
          | void ClassifierListPage::slotListItemModified | ( |  | ) |  |  | protectedslot | 
 
 
◆ slotMenuSelection
  
  | 
        
          | void ClassifierListPage::slotMenuSelection | ( | QAction * | action | ) |  |  | protectedslot | 
 
Called when an item is selected in a right click menu. 
 
 
◆ slotNewListItem
  
  | 
        
          | void ClassifierListPage::slotNewListItem | ( |  | ) |  |  | protectedslot | 
 
Shows dialog for new attribute. 
 
 
◆ slotProperties
  
  | 
        
          | void ClassifierListPage::slotProperties | ( |  | ) |  |  | protectedslot | 
 
Shows properties dialog for currently selected attribute. 
 
 
◆ slotRightButtonPressed
  
  | 
        
          | void ClassifierListPage::slotRightButtonPressed | ( | const QPoint & | p | ) |  |  | protectedslot | 
 
 
◆ slotTopClicked
  
  | 
        
          | void ClassifierListPage::slotTopClicked | ( |  | ) |  |  | protectedslot | 
 
Moves selected attribute to the top of the list. 
 
 
◆ slotUpClicked
  
  | 
        
          | void ClassifierListPage::slotUpClicked | ( |  | ) |  |  | protectedslot | 
 
Moves selected attribute up in list. 
 
 
◆ takeItem()
Take a classifier's subordinate item. Ownership of the classifier list item is transferred to the caller. 
- Parameters
- 
  
    | listItem | UMLClassifierListItem to take. |  | seekPeerBefore | True if a peer index should be sought which is smaller than the current listitem's index. |  | peerIndex | Return value: Index in the UMLClassifier's item list at which a peer item, i.e. another UMLClassifierListItem of the same type as listItem, is found. If no such item exists then return -1. |  
 
- Returns
- True for success. 
 
 
◆ m_bSigWaiting
  
  | 
        
          | bool ClassifierListPage::m_bSigWaiting |  | protected | 
 
 
◆ m_doc
  
  | 
        
          | UMLDoc* ClassifierListPage::m_doc |  | private | 
 
 
◆ m_docGB
  
  | 
        
          | QGroupBox* ClassifierListPage::m_docGB |  | private | 
 
 
◆ m_docTE
  
  | 
        
          | QTextEdit* ClassifierListPage::m_docTE |  | private | 
 
 
◆ m_itemType
◆ m_pBottomArrowB
  
  | 
        
          | QToolButton* ClassifierListPage::m_pBottomArrowB |  | private | 
 
 
◆ m_pClassifier
◆ m_pCodeTE
◆ m_pDeleteListItemButton
  
  | 
        
          | QPushButton* ClassifierListPage::m_pDeleteListItemButton |  | protected | 
 
 
◆ m_pDownArrowB
  
  | 
        
          | QToolButton* ClassifierListPage::m_pDownArrowB |  | private | 
 
 
◆ m_pItemListGB
  
  | 
        
          | QGroupBox* ClassifierListPage::m_pItemListGB |  | private | 
 
 
◆ m_pItemListLB
  
  | 
        
          | QListWidget* ClassifierListPage::m_pItemListLB |  | private | 
 
 
◆ m_pLastObjectCreated
◆ m_pNewClassifierListItemButton
  
  | 
        
          | QPushButton* ClassifierListPage::m_pNewClassifierListItemButton |  | protected | 
 
 
◆ m_pOldListItem
◆ m_pPropertiesButton
  
  | 
        
          | QPushButton* ClassifierListPage::m_pPropertiesButton |  | protected | 
 
 
◆ m_pTopArrowB
  
  | 
        
          | QToolButton* ClassifierListPage::m_pTopArrowB |  | private | 
 
 
◆ m_pUpArrowB
  
  | 
        
          | QToolButton* ClassifierListPage::m_pUpArrowB |  | private | 
 
 
The documentation for this class was generated from the following files: