ClassToolDialog Class Reference
#include <classtooldlg.h>
Inheritance diagram for ClassToolDialog:


Public Types | |
| enum | Operations { ViewParents, ViewChildren, ViewClients, ViewSuppliers, ViewMethods, ViewAttributes, ViewNone } |
Public Slots | |
| void | viewNone () |
| View nothing. | |
| void | viewParents () |
| View the parents of the current class. | |
| void | viewChildren () |
| View the children of the current class. | |
| void | viewClients () |
| View all classes that has this class as an attribute. | |
| void | viewSuppliers () |
| View all classes that this class has as attributes. | |
| void | viewMethods () |
| View methods in this class and parents. | |
| void | viewAttributes () |
| View attributes in this class and parents. | |
Public Member Functions | |
| ClassToolDialog (ClassViewPart *part) | |
| ~ClassToolDialog () | |
| void | setClassName (const QString &name) |
Private Slots | |
| void | setLanguageSupport (KDevLanguageSupport *ls) |
| void | refresh () |
| void | delayedClose () |
| void | slotClose () |
| void | slotAccessComboChoice (const QString &str) |
| void | slotClassComboChoice (const QString &str) |
Private Member Functions | |
| void | updateCaptionAndButtons () |
| Change the caption depending on the current operation. | |
| void | buildTree () |
Private Attributes | |
| ClassToolWidget * | class_tree |
| QComboBox * | class_combo |
| QToolButton * | parents_button |
| QToolButton * | children_button |
| QToolButton * | clients_button |
| QToolButton * | suppliers_button |
| QToolButton * | methods_button |
| QToolButton * | attributes_button |
| QComboBox * | access_combo |
| ClassStore * | m_store |
| Store that holds all classes in the system. | |
| KDevLanguageSupport * | m_ls |
| ClassViewPart * | m_part |
| ParsedClass * | currentClass |
| The class we are currently viewing. | |
| PIAccess | comboAccess |
| The current exportstatus selected in the combo. | |
| Operations | currentOperation |
| Stores what operation the user selected last. | |
Member Enumeration Documentation
|
|
Definition at line 35 of file classtooldlg.h. |
Constructor & Destructor Documentation
|
|
Definition at line 29 of file classtooldlg.cpp. References access_combo, attributes_button, children_button, class_combo, class_tree, clients_button, comboAccess, currentClass, currentOperation, m_part, methods_button, parents_button, setLanguageSupport(), slotAccessComboChoice(), slotClassComboChoice(), slotClose(), suppliers_button, viewAttributes(), viewChildren(), viewClients(), viewMethods(), viewParents(), and viewSuppliers(). |
|
|
Definition at line 129 of file classtooldlg.cpp. References m_part. |
Member Function Documentation
|
|
Definition at line 330 of file classtooldlg.cpp. References class_tree, comboAccess, currentClass, currentOperation, ClassToolWidget::insertAllClassAttributes(), ClassToolWidget::insertAllClassMethods(), ClassToolWidget::insertClassAndClasses(), m_part, updateCaptionAndButtons(), ViewAttributes, ViewChildren, ViewClients, ViewMethods, ViewParents, and ViewSuppliers. Referenced by refresh(), and slotAccessComboChoice(). |
|
|
Definition at line 247 of file classtooldlg.cpp. |
|
|
Definition at line 260 of file classtooldlg.cpp. References buildTree(), class_combo, m_part, and setClassName(). Referenced by setClassName(), setLanguageSupport(), slotClassComboChoice(), viewAttributes(), viewChildren(), viewClients(), viewMethods(), viewNone(), viewParents(), and viewSuppliers(). |
|
|
Definition at line 147 of file classtooldlg.cpp. References class_combo, currentClass, m_part, and refresh(). Referenced by refresh(), ClassTreeBase::slotClassBaseClasses(), slotClassComboChoice(), ClassTreeBase::slotClassDerivedClasses(), and ClassTreeBase::slotClassTool(). |
|
|
Definition at line 135 of file classtooldlg.cpp. References currentOperation, and refresh(). Referenced by ClassToolDialog(). |
|
|
Definition at line 221 of file classtooldlg.cpp. References buildTree(), comboAccess, currentOperation, and ViewMethods. Referenced by ClassToolDialog(). |
|
|
Definition at line 253 of file classtooldlg.cpp. References refresh(), and setClassName(). Referenced by ClassToolDialog(). |
|
|
Definition at line 240 of file classtooldlg.cpp. Referenced by ClassToolDialog(). |
|
|
Change the caption depending on the current operation.
Definition at line 278 of file classtooldlg.cpp. References access_combo, attributes_button, children_button, clients_button, currentClass, methods_button, parents_button, suppliers_button, ViewAttributes, ViewChildren, ViewClients, ViewMethods, ViewParents, and ViewSuppliers. Referenced by buildTree(). |
|
|
View attributes in this class and parents.
Definition at line 214 of file classtooldlg.cpp. References currentOperation, and refresh(). Referenced by ClassToolDialog(). |
|
|
View the children of the current class.
Definition at line 182 of file classtooldlg.cpp. References currentOperation, and refresh(). Referenced by ClassToolDialog(), and ClassTreeBase::slotClassDerivedClasses(). |
|
|
View all classes that has this class as an attribute.
Definition at line 190 of file classtooldlg.cpp. References currentOperation, and refresh(). Referenced by ClassToolDialog(). |
|
|
View methods in this class and parents.
Definition at line 206 of file classtooldlg.cpp. References currentOperation, and refresh(). Referenced by ClassToolDialog(). |
|
|
View nothing.
Definition at line 166 of file classtooldlg.cpp. References currentOperation, and refresh(). Referenced by ClassTreeBase::slotClassTool(). |
|
|
View the parents of the current class.
Definition at line 174 of file classtooldlg.cpp. References currentOperation, and refresh(). Referenced by ClassToolDialog(), and ClassTreeBase::slotClassBaseClasses(). |
|
|
View all classes that this class has as attributes.
Definition at line 198 of file classtooldlg.cpp. References currentOperation, and refresh(). Referenced by ClassToolDialog(). |
Member Data Documentation
|
|
Definition at line 83 of file classtooldlg.h. Referenced by ClassToolDialog(), and updateCaptionAndButtons(). |
|
|
Definition at line 82 of file classtooldlg.h. Referenced by ClassToolDialog(), and updateCaptionAndButtons(). |
|
|
Definition at line 78 of file classtooldlg.h. Referenced by ClassToolDialog(), and updateCaptionAndButtons(). |
|
|
Definition at line 75 of file classtooldlg.h. Referenced by ClassToolDialog(), refresh(), and setClassName(). |
|
|
Definition at line 74 of file classtooldlg.h. Referenced by buildTree(), and ClassToolDialog(). |
|
|
Definition at line 79 of file classtooldlg.h. Referenced by ClassToolDialog(), and updateCaptionAndButtons(). |
|
|
The current exportstatus selected in the combo.
Definition at line 93 of file classtooldlg.h. Referenced by buildTree(), ClassToolDialog(), and slotAccessComboChoice(). |
|
|
The class we are currently viewing.
Definition at line 91 of file classtooldlg.h. Referenced by buildTree(), ClassToolDialog(), setClassName(), and updateCaptionAndButtons(). |
|
|
Stores what operation the user selected last.
Definition at line 95 of file classtooldlg.h. Referenced by buildTree(), ClassToolDialog(), setLanguageSupport(), slotAccessComboChoice(), viewAttributes(), viewChildren(), viewClients(), viewMethods(), viewNone(), viewParents(), and viewSuppliers(). |
|
|
Definition at line 87 of file classtooldlg.h. |
|
|
Definition at line 88 of file classtooldlg.h. Referenced by buildTree(), ClassToolDialog(), refresh(), setClassName(), and ~ClassToolDialog(). |
|
|
Store that holds all classes in the system.
Definition at line 86 of file classtooldlg.h. |
|
|
Definition at line 81 of file classtooldlg.h. Referenced by ClassToolDialog(), and updateCaptionAndButtons(). |
|
|
Definition at line 77 of file classtooldlg.h. Referenced by ClassToolDialog(), and updateCaptionAndButtons(). |
|
|
Definition at line 80 of file classtooldlg.h. Referenced by ClassToolDialog(), and updateCaptionAndButtons(). |
The documentation for this class was generated from the following files:
- parts/classview/classtooldlg.h
- parts/classview/classtooldlg.cpp
