ADTF Qt5
Loading...
Searching...
No Matches
adtf::ui::cCustomCursors Class Reference

#include <custom_cursors.h>

Inherits QObject.

Public Types

enum class  CustomCursorEnum { Arrow , ArrowEdit }
 

Public Member Functions

 cCustomCursors (QObject *parent)
 
 ~cCustomCursors ()
 
QCursor get_cursor (CustomCursorEnum eCursor)
 
void set_scaling (double scaling)
 

Detailed Description

Color mapping support for Icons.

Member Enumeration Documentation

◆ CustomCursorEnum

Enum for accessing cursors already delivered in XSystem.

Enumerator
Arrow 

The default arrow cursor.

ArrowEdit 

The arrow cursor with a edit symbol.

Constructor & Destructor Documentation

◆ cCustomCursors()

adtf::ui::v2::cCustomCursors::cCustomCursors ( QObject * parent)

Constructor.

Parameters
parent[in] The parent object.

◆ ~cCustomCursors()

adtf::ui::v2::cCustomCursors::~cCustomCursors ( )

Destructor.

Member Function Documentation

◆ get_cursor()

QCursor adtf::ui::v2::cCustomCursors::get_cursor ( CustomCursorEnum eCursor)

Get a cursor by its enum value.

Parameters
eCursor[in] The enum value of the cursor.
Returns
The corresponding QCursor.

◆ set_scaling()

void adtf::ui::v2::cCustomCursors::set_scaling ( double scaling)

Set the scaling factor for the cursors.

Parameters
scaling[in] The scaling factor.

The documentation for this class was generated from the following file: