|
QGIS API Documentation 3.99.0-Master (f78f5286a64)
|
Encapsulates the details of a highlight in a scrollbar, used alongside QgsScrollBarHighlightController. More...
#include <qgsdecoratedscrollbar.h>
Public Types | |
| enum class | Priority : int { Invalid = -1 , LowPriority = 0 , NormalPriority = 1 , HighPriority = 2 , HighestPriority = 3 } |
| Priority, which dictates how overlapping highlights are rendered. More... | |
Public Member Functions | |
| QgsScrollBarHighlight ()=default | |
| QgsScrollBarHighlight (int category, int position, const QColor &color, QgsScrollBarHighlight::Priority priority=QgsScrollBarHighlight::Priority::NormalPriority) | |
| Constructor for QgsScrollBarHighlight. | |
Public Attributes | |
| int | category = -1 |
| Category ID. | |
| QColor | color |
| Highlight color. | |
| int | position = -1 |
| Position in scroll bar. | |
| QgsScrollBarHighlight::Priority | priority = QgsScrollBarHighlight::Priority::Invalid |
| Priority, which dictates how overlapping highlights are rendered. | |
Encapsulates the details of a highlight in a scrollbar, used alongside QgsScrollBarHighlightController.
Definition at line 39 of file qgsdecoratedscrollbar.h.
|
strong |
Priority, which dictates how overlapping highlights are rendered.
Definition at line 45 of file qgsdecoratedscrollbar.h.
| PRIVATE QgsScrollBarHighlight::QgsScrollBarHighlight | ( | int | category, |
| int | position, | ||
| const QColor & | color, | ||
| QgsScrollBarHighlight::Priority | priority = QgsScrollBarHighlight::Priority::NormalPriority |
||
| ) |
Constructor for QgsScrollBarHighlight.
Definition at line 286 of file qgsdecoratedscrollbar.cpp.
|
default |
| int QgsScrollBarHighlight::category = -1 |
Category ID.
Definition at line 62 of file qgsdecoratedscrollbar.h.
| QColor QgsScrollBarHighlight::color |
Highlight color.
Definition at line 68 of file qgsdecoratedscrollbar.h.
| int QgsScrollBarHighlight::position = -1 |
Position in scroll bar.
Definition at line 65 of file qgsdecoratedscrollbar.h.
| QgsScrollBarHighlight::Priority QgsScrollBarHighlight::priority = QgsScrollBarHighlight::Priority::Invalid |
Priority, which dictates how overlapping highlights are rendered.
Definition at line 71 of file qgsdecoratedscrollbar.h.