Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The QCategoryDialog widget allows users to select Categories with a dialog interface. More...
#include <QCategoryDialog>
Inherits QDialog.
The QCategoryDialog widget allows users to select Categories with a dialog interface.
QCategoryDialog behaves in the same way as QCategorySelector using a list view.
See also Categories.
Constant | Value | Description |
---|---|---|
QCategoryDialog::IncludeAll | 0x04 | Include the All categories option. |
QCategoryDialog::IncludeUnfiled | 0x08 | Include the Unfiled categories option. |
QCategoryDialog::SingleSelection | 0x80 | Allow selection of a single category. The default is to allow combinations of categories. |
QCategoryDialog::Filter | IncludeAll | IncludeUnfiled | Alias for IncludeAll|IncludeUnfiled. |
QCategoryDialog::Editor | IncludeUnfiled | Alias for IncludeUnfiled. |
The ContentFlags type is a typedef for QFlags<ContentFlag>. It stores an OR combination of ContentFlag values.
Constructs as a category dialog type defined by flags f with parent parent and categories scope scope.
Destroys the QCategoryDialog.
Selects the All entry (all categories are selected).
Selects the categories with identifiers in the comma-separated list id.
This is an overloaded member function, provided for convenience.
Selects the categories with identifiers in list categoryids.
Selects the categories specified by filter.
Selects the Unfiled entry (no categories are selected).
Returns the list of selected categories.
Note that this function does not indicate if All or Unfiled is selected. Use selectedFilter() to determine if these items are selected.
Returns the QCategoryFilter that indicates the selected categories.
See also QCategoryFilter::requiredCategories().
Displays text above the category selection list. text may be used to clarify the category selection purpose.
See also text().
Returns the dialog text, as set by a previous call to setText().
See also setText().
Copyright © 2009 Trolltech | Trademarks | Qt Extended 4.4.3 |