|
int | labelObject (const QString &text, const QString &objectName, bool visible=true, float fontSize=14, const QString &fontColor="#999999", const QString &side="E", double labelDistance=-1.0, const QString &style="TextOnly", bool autoDelete=false, int autoDeleteTimeoutMs=0) |
| Create a label which is attached to a StelObject. More...
|
|
int | labelObject (const QString &text, const QString &objectName, bool visible, float fontSize, const Vec3f &fontColor, const QString &side="E", double labelDistance=-1.0, const QString &style="TextOnly", bool autoDelete=false, int autoDeleteTimeoutMs=0) |
|
int | labelHorizon (const QString &text, float az, float alt, bool visible=true, float fontSize=14, const QString &fontColor="#999999", bool autoDelete=false, int autoDeleteTimeoutMs=0) |
| Create a label in azimuthal coordinate system. More...
|
|
int | labelHorizon (const QString &text, float az, float alt, bool visible, float fontSize, const Vec3f &fontColor, bool autoDelete=false, int autoDeleteTimeoutMs=0) |
|
int | labelEquatorial (const QString &text, const QString &ra, const QString &dec, bool visible=true, float fontSize=14, const QString &fontColor="#999999", const QString &side="", double labelDistance=-1.0, bool autoDelete=false, int autoDeleteTimeoutMs=0, bool j2000epoch=true) |
| Create a label in equatorial coordinate system. More...
|
|
int | labelEquatorial (const QString &text, const QString &ra, const QString &dec, bool visible, float fontSize, const Vec3f &fontColor, const QString &side="", double labelDistance=-1.0, bool autoDelete=false, int autoDeleteTimeoutMs=0, bool j2000epoch=true) |
|
int | labelScreen (const QString &text, int x, int y, bool visible=true, float fontSize=14, const QString &fontColor="#999999", bool autoDelete=false, int autoDeleteTimeoutMs=0) |
| Create a label at fixed screen coordinates. More...
|
|
int | labelScreen (const QString &text, int x, int y, bool visible, float fontSize, const Vec3f &fontColor, bool autoDelete=false, int autoDeleteTimeoutMs=0) |
|
bool | getLabelShow (int id) const |
| find out if a label identified by id is presently shown
|
|
void | setLabelShow (int id, bool show) |
| set a label identified by id to be shown or not
|
|
void | setLabelText (int id, const QString &newText) |
| set text of label identified by id to be newText
|
|
void | deleteLabel (int id) |
| Delete a label by the ID which was returned from addLabel... More...
|
|
int | deleteAllLabels (void) |
| Delete all labels. More...
|
|
|
enum | StelModuleSelectAction { AddToSelection,
ReplaceSelection,
RemoveFromSelection
} |
| Enum used when selecting objects to define whether to add to, replace, or remove from the existing selection list. More...
|
|
enum | StelModuleActionName {
ActionDraw,
ActionUpdate,
ActionHandleMouseClicks,
ActionHandleMouseMoves,
ActionHandleKeys
} |
| Define the possible action for which an order is defined. More...
|
|
class StelAction * | addAction (const QString &id, const QString &groupId, const QString &text, QObject *target, const char *slot, const QString &shortcut="", const QString &altShortcut="") |
| convenience methods to add an action (call to slot) to the StelActionMgr object. More...
|
|
class StelAction * | addAction (const QString &id, const QString &groupId, const QString &text, const char *slot, const QString &shortcut="", const QString &altShortcut="") |
| convenience methods to add an action (call to own slot) to the StelActionMgr object. More...
|
|
StelAction * | addAction (const QString &id, const QString &groupId, const QString &text, QObject *contextObject, std::function< void()> lambda, const QString &shortcut="", const QString &altShortcut="") |
| convenience methods to add an action (call to Lambda functor) to the StelActionMgr object. More...
|
|
Allows for creation of custom labels on objects or coordinates. Because this class is intended for use in scripting (although other uses are also fine), all label types and so on are specified by QString descriptions. The labels are painted very late, i.e. also sky object labels will be written over the landscape.