#include <qlabcategorylist.h>
This selector allows for transparent use of the System_categories Data Collection in each and every module when categorization is needed.
The Category List shows up as a hierarchical view of the categories depending on a module name. Parametrization allow to show only active or inactive categories.
Add an interactive category search mode.
|
Constructs a QlabCategoryList as a child of parent, with the name name and widget flags set to f.
|
|
Destroys the object and frees any allocated resources.
|
|
This is a helper method, only used internally by the widget.
For internal use only. You should never try to call this directly, as you would end up in an infinite loop with the selectionChanged from QListView widget. This is here only to map the selected item to its Unique Object ID for selected category. Emits the categoryIdChanged() signal whenever fired. |
|
Emited whenever selected category has changed. Provides UOID to receiver.
|
|
Emited whenever a category is remapped to another parent.
|
|
Returns the actual category type string. This should match the module name in system tables. Please read reference manual if you don't know what the module name has to do with categorization or how to map widgets from various modules. |
|
Allows creation of a new subcategory.
|
|
Returns the currently selected Category Unique Object ID. This method maybe very handy when we create inheritance objects using categories as it gives instant access to category Unique Object ID. |
|
Marks the current selection as Inactive.
|
|
Inits widget before showing it.
For internal use only. Emits the selectionChanged() signal upon init completion.
|
|
Sets the strings of the subwidgets using the current language if available.
For internal use only.
|
|
Refreshes the category list.
This slot may be connected to another module which might have edited a category, created a new one or marked one for inactivity. If many people are allowed to edit the categores for a module, a nice and simple way for applications is to use a timer to force refresh every n minutes.
|
|
Reparents category id source to new parent newParent. While this code works perfectly and is used in our LabKiosk product, we consider it as experimental as we could not yet test all intrications on inheritance tree. So, if you use it, consider that you could eventually get unexpected results on badly designed inheritance or if your associative classes are not explicitly defined. Implicit and indirect childern cannot be found with a 100% result chance.
|
|
Sets the category type as type.
This should match the module name in system tables. Please read reference manual if you don't know what the module name has to do with categorization or how to map widgets from various modules.
|
|
Sets the actual category active status to act. This call reinits the widget to show only active or inactive categories.
Active categories are those not marked for deletion. Inactive ones are marked for future real deletion. Please read reference manual if you don't understand why we do not delete categories immediately. |
|
Returns the actual category active status. Active categories are those not marked for deletion. Inactive ones are marked for future real deletion. Please read reference manual if you don't understand why we do not delete categories immediately. |
|
Validates changes in addSubCategory() and editCurrentCategory() method processing.
|
|
Active View Flag.
For internal use only.
|
|
Placeholder to store module info.
For internal use only.
|
|
Placeholder for Category Manipulations.
For internal use only.
|
|
Category type bound to active module name.
For internal use only.
|
|
Used internally to prevent multiple indirections when init() method is activated.
For internal use only.
|