Updraft  1.0
Open source glider flight visualisation tool.
Updraft::TabInterface Class Reference

An interface wrapping a single tab in bottom pane. More...

#include <tabinterface.h>

Inheritance diagram for Updraft::TabInterface:

List of all members.

Public Member Functions

virtual ~TabInterface ()
virtual void connectSlotClose (const QObject *sender, const char *signal)=0
 Connect to the close(void) slot of tab.
virtual void connectSignalCloseRequested (const QObject *receiver, const char *method)=0
 Connect to a signal tabCloseRequested(void) that is emited before closing the tab.
virtual void connectCloseRequestToClose ()=0
 Connect signal tabCloseRequested(void) to slot close.
virtual void connectSignalSelected (const QObject *receiver, const char *method)=0
 Connects to a signal selected(void) -- tab gets focus.
virtual void connectSignalDeselected (const QObject *receiver, const char *method)=0
 Connects to a signal selected(void) -- tab loses focus.
virtual void close ()=0
 Close this tab.
virtual void select ()=0
 Select this tab in the tab pane.
virtual void setTitle (const QString &title)=0
 Sets new title of this tab.

Detailed Description

An interface wrapping a single tab in bottom pane.


Constructor & Destructor Documentation

virtual Updraft::TabInterface::~TabInterface ( ) [inline, virtual]

Member Function Documentation

virtual void Updraft::TabInterface::close ( ) [pure virtual]

Close this tab.

This method deletes the tab and its widget.

Implemented in Updraft::Core::Tab.

virtual void Updraft::TabInterface::connectCloseRequestToClose ( ) [pure virtual]

Connect signal tabCloseRequested(void) to slot close.

Call this method when the automatic closing is desired.

See also:
QObject::connect()

Implemented in Updraft::Core::Tab.

virtual void Updraft::TabInterface::connectSignalCloseRequested ( const QObject *  receiver,
const char *  method 
) [pure virtual]

Connect to a signal tabCloseRequested(void) that is emited before closing the tab.

See also:
QObject::connect()

Implemented in Updraft::Core::Tab.

virtual void Updraft::TabInterface::connectSignalDeselected ( const QObject *  receiver,
const char *  method 
) [pure virtual]

Connects to a signal selected(void) -- tab loses focus.

See also:
QObject::connect()

Implemented in Updraft::Core::Tab.

virtual void Updraft::TabInterface::connectSignalSelected ( const QObject *  receiver,
const char *  method 
) [pure virtual]

Connects to a signal selected(void) -- tab gets focus.

See also:
QObject::connect()

Implemented in Updraft::Core::Tab.

virtual void Updraft::TabInterface::connectSlotClose ( const QObject *  sender,
const char *  signal 
) [pure virtual]

Connect to the close(void) slot of tab.

After this slot is called signal closed is emited and pointer to this becomes invalid.

See also:
QObject::connect()

Implemented in Updraft::Core::Tab.

virtual void Updraft::TabInterface::select ( ) [pure virtual]

Select this tab in the tab pane.

Implemented in Updraft::Core::Tab.

virtual void Updraft::TabInterface::setTitle ( const QString &  title) [pure virtual]

Sets new title of this tab.

Implemented in Updraft::Core::Tab.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines