|  | Updraft
    1.0
    Open source glider flight visualisation tool. | 
Implementation of an opened tab in the bottom pane. More...
#include <tab.h>


| Public Slots | |
| void | close () | 
| Close this tab. | |
| Signals | |
| void | tabCloseRequested () | 
| void | tabRemoved (QWidget *tab) | 
| void | selected () | 
| void | deselected () | 
| Public Member Functions | |
| Tab (QWidget *content, QString title, QTabWidget *parent) | |
| Add a new tab to parent. | |
| ~Tab () | |
| QWidget * | getWidget () | 
| void | select () | 
| Select this tab in the tab pane. | |
| void | setTitle (const QString &title) | 
| Sets new title of this tab. | |
| void | connectSlotClose (const QObject *sender, const char *signal) | 
| Connect to the close(void) slot of tab. | |
| void | connectSignalCloseRequested (const QObject *receiver, const char *method) | 
| Connect to a signal tabCloseRequested(void) that is emited before closing the tab. | |
| void | connectCloseRequestToClose () | 
| Connect signal tabCloseRequested(void) to slot close. | |
| void | connectSignalSelected (const QObject *receiver, const char *method) | 
| Connects to a signal selected(void) -- tab gets focus. | |
| void | connectSignalDeselected (const QObject *receiver, const char *method) | 
| Connects to a signal selected(void) -- tab loses focus. | |
| Private Attributes | |
| QWidget * | widget | 
| QTabWidget * | tabWidget | 
| PluginBase * | plugin | 
| Friends | |
| class | MainWindow | 
Implementation of an opened tab in the bottom pane.
| Updraft::Core::Tab::Tab | ( | QWidget * | content, | 
| QString | title, | ||
| QTabWidget * | parent | ||
| ) | 
Add a new tab to parent.
Takes ownership of content.
| void Updraft::Core::Tab::close | ( | void | ) |  [virtual, slot] | 
| void Updraft::Core::Tab::connectCloseRequestToClose | ( | ) |  [virtual] | 
Connect signal tabCloseRequested(void) to slot close.
Call this method when the automatic closing is desired.
Implements Updraft::TabInterface.
| void Updraft::Core::Tab::connectSignalCloseRequested | ( | const QObject * | receiver, | 
| const char * | method | ||
| ) |  [virtual] | 
Connect to a signal tabCloseRequested(void) that is emited before closing the tab.
Implements Updraft::TabInterface.
| void Updraft::Core::Tab::connectSignalDeselected | ( | const QObject * | receiver, | 
| const char * | method | ||
| ) |  [virtual] | 
Connects to a signal selected(void) -- tab loses focus.
Implements Updraft::TabInterface.
| void Updraft::Core::Tab::connectSignalSelected | ( | const QObject * | receiver, | 
| const char * | method | ||
| ) |  [virtual] | 
Connects to a signal selected(void) -- tab gets focus.
Implements Updraft::TabInterface.
| void Updraft::Core::Tab::connectSlotClose | ( | const QObject * | sender, | 
| const char * | signal | ||
| ) |  [virtual] | 
Connect to the close(void) slot of tab.
After this slot is called signal closed is emited and pointer to this becomes invalid.
Implements Updraft::TabInterface.
| void Updraft::Core::Tab::deselected | ( | ) |  [signal] | 
| QWidget* Updraft::Core::Tab::getWidget | ( | ) |  [inline] | 
| void Updraft::Core::Tab::select | ( | ) |  [virtual] | 
Select this tab in the tab pane.
Implements Updraft::TabInterface.
| void Updraft::Core::Tab::selected | ( | ) |  [signal] | 
| void Updraft::Core::Tab::setTitle | ( | const QString & | title | ) |  [virtual] | 
Sets new title of this tab.
Implements Updraft::TabInterface.
| void Updraft::Core::Tab::tabCloseRequested | ( | ) |  [signal] | 
| void Updraft::Core::Tab::tabRemoved | ( | QWidget * | tab | ) |  [signal] | 
| friend class MainWindow  [friend] | 
| PluginBase* Updraft::Core::Tab::plugin  [private] | 
| QTabWidget* Updraft::Core::Tab::tabWidget  [private] | 
| QWidget* Updraft::Core::Tab::widget  [private] |