Manage presentation of getting started tips on a screen/page.
More...
#include <GettingStartedTipsController.hxx>
Inherits QObject.
Manage presentation of getting started tips on a screen/page.
Definition at line 15 of file GettingStartedTipsController.hxx.
◆ GettingStartedTipsController()
GettingStartedTipsController::GettingStartedTipsController |
( |
QObject * | parent = nullptr | ) |
|
|
explicit |
◆ ~GettingStartedTipsController()
GettingStartedTipsController::~GettingStartedTipsController |
( |
| ) |
|
◆ activeChanged
void GettingStartedTipsController::activeChanged |
( |
| ) |
|
|
signal |
◆ activeTipHeight()
int GettingStartedTipsController::activeTipHeight |
( |
| ) |
const |
◆ activeTipHeightChanged
void GettingStartedTipsController::activeTipHeightChanged |
( |
int | activeTipHeight | ) |
|
|
signal |
◆ close
void GettingStartedTipsController::close |
( |
| ) |
|
|
slot |
◆ contentGeometry()
QRectF GettingStartedTipsController::contentGeometry |
( |
| ) |
const |
contentGeometry - based on the active tip, return the box (relative to the total tipGeometry) which content should occupy.
This allows for offseting due to the arrow position, and also specifies the width for computing wrapped text height
The actual height is the maximum height; the computed value should be set by activeTipHeight
Definition at line 390 of file GettingStartedTipsController.cxx.
◆ count()
int GettingStartedTipsController::count |
( |
| ) |
const |
◆ countChanged
void GettingStartedTipsController::countChanged |
( |
int | count | ) |
|
|
signal |
◆ index()
int GettingStartedTipsController::index |
( |
| ) |
const |
◆ indexChanged
void GettingStartedTipsController::indexChanged |
( |
int | index | ) |
|
|
signal |
◆ isActive()
bool GettingStartedTipsController::isActive |
( |
| ) |
const |
◆ scopeChanged
void GettingStartedTipsController::scopeChanged |
( |
QObject * | scope | ) |
|
|
signal |
◆ scopeId()
QString GettingStartedTipsController::scopeId |
( |
| ) |
const |
|
inline |
◆ scopeIdChanged
void GettingStartedTipsController::scopeIdChanged |
( |
QString | scopeId | ) |
|
|
signal |
◆ setActiveTipHeight
void GettingStartedTipsController::setActiveTipHeight |
( |
int | activeTipHeight | ) |
|
|
slot |
◆ setIndex
void GettingStartedTipsController::setIndex |
( |
int | index | ) |
|
|
slot |
◆ setScopeId
void GettingStartedTipsController::setScopeId |
( |
QString | scopeId | ) |
|
|
slot |
◆ setVisualArea
void GettingStartedTipsController::setVisualArea |
( |
QQuickItem * | visualArea | ) |
|
|
slot |
◆ showOneShotTip
showOneShotTip - show a single tip on its own, if it has not previously been shown before.
This is used for pieces of UI which are not always present; the first time the UI is displayed to the user, we can show a tip describing it. Once the user closes the tip, it will not reappear.
The tip will be activated if the controller is currently inactive. If the controller was alreayd active, the tip will be shown, and when closed, the other tips will be shown. If the one-shot tip is part of the currently active list, this actually does nothing, to avoid showing the same tip twice
Definition at line 208 of file GettingStartedTipsController.cxx.
◆ tip()
◆ tipChanged
void GettingStartedTipsController::tipChanged |
( |
| ) |
|
|
signal |
◆ tipGeometry()
QRectF GettingStartedTipsController::tipGeometry |
( |
| ) |
const |
◆ tipGeometryChanged
void GettingStartedTipsController::tipGeometryChanged |
( |
| ) |
|
|
signal |
◆ tipPositionInVisualArea()
QPointF GettingStartedTipsController::tipPositionInVisualArea |
( |
| ) |
const |
◆ tipPositionInVisualAreaChanged
void GettingStartedTipsController::tipPositionInVisualAreaChanged |
( |
| ) |
|
|
signal |
◆ tipPositionValid()
bool GettingStartedTipsController::tipPositionValid |
( |
| ) |
const |
◆ tipsWereReset
void GettingStartedTipsController::tipsWereReset |
( |
| ) |
|
|
slot |
◆ visualArea()
QQuickItem * GettingStartedTipsController::visualArea |
( |
| ) |
const |
|
inline |
◆ visualAreaChanged
void GettingStartedTipsController::visualAreaChanged |
( |
QQuickItem * | visualArea | ) |
|
|
signal |
◆ GettingStartedTip
◆ active
bool GettingStartedTipsController::active |
|
read |
◆ activeTipHeight
int GettingStartedTipsController::activeTipHeight |
|
readwrite |
◆ contentGeometry
QRectF GettingStartedTipsController::contentGeometry |
|
read |
◆ count
int GettingStartedTipsController::count |
|
read |
◆ index
int GettingStartedTipsController::index |
|
readwrite |
◆ scopeId
QString GettingStartedTipsController::scopeId |
|
readwrite |
◆ tip
◆ tipGeometry
QRectF GettingStartedTipsController::tipGeometry |
|
read |
◆ tipPositionInVisualArea
QPointF GettingStartedTipsController::tipPositionInVisualArea |
|
read |
◆ tipPositionValid
bool GettingStartedTipsController::tipPositionValid |
|
read |
◆ visualArea
QQuickItem* GettingStartedTipsController::visualArea |
|
readwrite |
The documentation for this class was generated from the following files: