kstars
#include <infoboxwidget.h>

Public Types | |
| enum | { NoAnchor = 0, AnchorRight = 1, AnchorBottom = 2, AnchorBoth = 3 } |
Public Slots | |
| void | slotGeoChanged () |
| void | slotObjectChanged (SkyObject *obj) |
| void | slotPointChanged (SkyPoint *p) |
| void | slotTimeChanged () |
Signals | |
| void | clicked () |
Public Member Functions | |
| InfoBoxWidget (bool shade, const QPoint &pos, int anchor=0, const QStringList &str=QStringList(), QWidget *parent=0) | |
| virtual | ~InfoBoxWidget () |
| void | adjust () |
| bool | shaded () const |
| int | sticky () const |
Protected Member Functions | |
| virtual void | mouseDoubleClickEvent (QMouseEvent *event) |
| virtual void | mouseMoveEvent (QMouseEvent *event) |
| virtual void | mousePressEvent (QMouseEvent *event) |
| virtual void | mouseReleaseEvent (QMouseEvent *event) |
| virtual void | paintEvent (QPaintEvent *event) |
| virtual void | showEvent (QShowEvent *event) |
Detailed Description
Small optianally transparent box for display of text messages.
Definition at line 48 of file infoboxwidget.h.
Member Enumeration Documentation
| anonymous enum |
Alignment of widget.
| Enumerator | |
|---|---|
| NoAnchor | |
| AnchorRight | |
| AnchorBottom | |
| AnchorBoth | |
Definition at line 53 of file infoboxwidget.h.
Constructor & Destructor Documentation
| InfoBoxWidget::InfoBoxWidget | ( | bool | shade, |
| const QPoint & | pos, | ||
| int | anchor = 0, |
||
| const QStringList & | str = QStringList(), |
||
| QWidget * | parent = 0 |
||
| ) |
Create one infobox.
Definition at line 51 of file infoboxwidget.cpp.
|
virtual |
Destructor.
Definition at line 63 of file infoboxwidget.cpp.
Member Function Documentation
| void InfoBoxWidget::adjust | ( | ) |
Adjust widget's postion.
Definition at line 138 of file infoboxwidget.cpp.
|
signal |
Emitted when widget is clicked.
|
protectedvirtual |
Definition at line 235 of file infoboxwidget.cpp.
|
protectedvirtual |
Definition at line 197 of file infoboxwidget.cpp.
|
protectedvirtual |
Definition at line 226 of file infoboxwidget.cpp.
|
protectedvirtual |
Definition at line 241 of file infoboxwidget.cpp.
|
protectedvirtual |
Definition at line 166 of file infoboxwidget.cpp.
|
inline |
Check whether box is shaded.
In this case only one line is shown.
Definition at line 66 of file infoboxwidget.h.
|
protectedvirtual |
Definition at line 230 of file infoboxwidget.cpp.
|
slot |
Set information about location.
Data is taken from KStarsData.
Definition at line 103 of file infoboxwidget.cpp.
|
slot |
Set information about object.
Definition at line 117 of file infoboxwidget.cpp.
|
slot |
Set information about pointing.
Definition at line 121 of file infoboxwidget.cpp.
|
slot |
Set information about time.
Data is taken from KStarsData.
Definition at line 77 of file infoboxwidget.cpp.
|
inline |
Get stickyness status of.
Definition at line 68 of file infoboxwidget.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:36:22 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
KDE API Reference