QicsQtModelAttributeController.h File Reference
#include <QicsNamespace.h>
#include <QicsCommonAttributeController.h>
#include <QAbstractItemModel>
Go to the source code of this file.
|
Classes |
| class | QicsQtModelAttributeController |
| | QicsQtModelAttributeController is a controller for standard Qt models based on QAbstractItemModel and its descendants. It supports retrieving and storing of common Qt data model attributes of a single cell for the native QAbstractItemModel. Those attributes are:
- foreground and background colors;
- text alignment;
- tooltip;
- decoration (i.e. icon). When these attributes are set/read, the controller performs lookups and changes in the QAbstractItemModel. All the rest of QicsCellStyle attributes (such as cell grid pen, displayers, etc.) are passed through and are managed by standard QicsStyleManager facilities; they are not stored in the compound QAbstractItemModel and are exist in the table view only.
More...
|
Detailed Description