Floating window like tool tip available to the script engine as well.
More...
#include <HintWindow.h>
|
| HintWindow (QWidget *parent) |
| Constructor.
|
|
void | setPosition (const QPoint &pt) |
| Sets the global position to appear at.
|
|
void | setOffset (const QPoint &pt) |
| Sets the offset from the given position to appear at.
|
|
void | setOffset (int x, int y) |
| Sets the offset from the given position to appear at.
|
|
void | setActive (bool active) |
| Activates or deactivates the window (calls setVisible() for now).
|
|
|
QPoint | _offset {0, 0} |
| Holds the offset for the position.
|
|
Floating window like tool tip available to the script engine as well.
◆ HintWindow()
sf::HintWindow::HintWindow |
( |
QWidget * |
parent | ) |
|
|
explicit |
◆ setActive()
void sf::HintWindow::setActive |
( |
bool |
active | ) |
|
Activates or deactivates the window (calls setVisible() for now).
◆ setOffset() [1/2]
void sf::HintWindow::setOffset |
( |
const QPoint & |
pt | ) |
|
Sets the offset from the given position to appear at.
◆ setOffset() [2/2]
void sf::HintWindow::setOffset |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
Sets the offset from the given position to appear at.
◆ setPosition()
void sf::HintWindow::setPosition |
( |
const QPoint & |
pt | ) |
|
Sets the global position to appear at.
◆ _offset
QPoint sf::HintWindow::_offset {0, 0} |
|
protected |
Holds the offset for the position.
The documentation for this class was generated from the following file: