![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <container_qpainter_p.h>
Classes | |
| struct | Element |
Public Types | |
| enum class | Mode { Free , Word } |
Public Member Functions | |
| bool | isValid () const |
| void | update () |
| QRect | boundingRect () const |
Public Attributes | |
| Element | startElem |
| Element | endElem |
| QVector< QRect > | selection |
| QString | text |
| QPoint | selectionStartDocumentPos |
| Mode | mode = Mode::Free |
| bool | isSelecting = false |
Definition at line 19 of file container_qpainter_p.h.
|
strong |
| Enumerator | |
|---|---|
| Free | |
| Word | |
Definition at line 29 of file container_qpainter_p.h.
| QRect Selection::boundingRect | ( | ) | const |
Definition at line 444 of file container_qpainter.cpp.
| bool Selection::isValid | ( | ) | const |
Definition at line 375 of file container_qpainter.cpp.
| void Selection::update | ( | ) |
Definition at line 380 of file container_qpainter.cpp.
References Selection::Element::index, and Selection::Element::x.
| Element Selection::endElem |
Definition at line 37 of file container_qpainter_p.h.
| bool Selection::isSelecting = false |
Definition at line 43 of file container_qpainter_p.h.
| Mode Selection::mode = Mode::Free |
Definition at line 42 of file container_qpainter_p.h.
Definition at line 38 of file container_qpainter_p.h.
| QPoint Selection::selectionStartDocumentPos |
Definition at line 41 of file container_qpainter_p.h.
| Element Selection::startElem |
Definition at line 36 of file container_qpainter_p.h.
| QString Selection::text |
Definition at line 39 of file container_qpainter_p.h.