• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

kstars

Public Types | Public Slots | Signals | Public Member Functions | Protected Member Functions | List of all members
InfoBoxWidget Class Reference

#include <infoboxwidget.h>

Inheritance diagram for InfoBoxWidget:
Inheritance graph
[legend]

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.

InfoBoxWidget::~InfoBoxWidget ( )
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.

void InfoBoxWidget::clicked ( )
signal

Emitted when widget is clicked.

void InfoBoxWidget::mouseDoubleClickEvent ( QMouseEvent *  event)
protectedvirtual

Definition at line 235 of file infoboxwidget.cpp.

void InfoBoxWidget::mouseMoveEvent ( QMouseEvent *  event)
protectedvirtual

Definition at line 197 of file infoboxwidget.cpp.

void InfoBoxWidget::mousePressEvent ( QMouseEvent *  event)
protectedvirtual

Definition at line 226 of file infoboxwidget.cpp.

void InfoBoxWidget::mouseReleaseEvent ( QMouseEvent *  event)
protectedvirtual

Definition at line 241 of file infoboxwidget.cpp.

void InfoBoxWidget::paintEvent ( QPaintEvent *  event)
protectedvirtual

Definition at line 166 of file infoboxwidget.cpp.

bool InfoBoxWidget::shaded ( ) const
inline

Check whether box is shaded.

In this case only one line is shown.

Definition at line 66 of file infoboxwidget.h.

void InfoBoxWidget::showEvent ( QShowEvent *  event)
protectedvirtual

Definition at line 230 of file infoboxwidget.cpp.

void InfoBoxWidget::slotGeoChanged ( )
slot

Set information about location.

Data is taken from KStarsData.

Definition at line 103 of file infoboxwidget.cpp.

void InfoBoxWidget::slotObjectChanged ( SkyObject *  obj)
slot

Set information about object.

Definition at line 117 of file infoboxwidget.cpp.

void InfoBoxWidget::slotPointChanged ( SkyPoint *  p)
slot

Set information about pointing.

Definition at line 121 of file infoboxwidget.cpp.

void InfoBoxWidget::slotTimeChanged ( )
slot

Set information about time.

Data is taken from KStarsData.

Definition at line 77 of file infoboxwidget.cpp.

int InfoBoxWidget::sticky ( ) const
inline

Get stickyness status of.

Definition at line 68 of file infoboxwidget.h.


The documentation for this class was generated from the following files:
  • infoboxwidget.h
  • infoboxwidget.cpp
This file is part of the KDE documentation.
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.

kstars

Skip menu "kstars"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal