Aquila  2.0 prealpha
Cognitive Robotics Architecture
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Signals | Public Member Functions | Public Attributes | List of all members
TabWidget Class Reference

#include <mainWindow.h>

Inheritance diagram for TabWidget:

Signals

void tabRemoved (int id)
 
void removeRequested (int id)
 
void duplicateRequested (int id)
 
void tabRemoved (int id)
 
void removeRequested (int id)
 
void duplicateRequested (int id)
 

Public Member Functions

 TabWidget ()
 TabWidget constructor.
 
QTabBar * tabBar ()
 Returns a pointer to the tab bar.
 
void duplicateSelectedTab ()
 Broadcasts a signal to other modules that user requested to duplicate a tab.
 
void removeSelectedTab ()
 Broadcasts a signal to other modules that user requested to remove a tab.
 
void addInfoLabel ()
 Adds a label with information about how to add a new module.
 
void removeInfoLabel ()
 Removes a label with information about how to add a new module.
 
 TabWidget ()
 
QTabBar * tabBar ()
 
void duplicateSelectedTab ()
 
void removeSelectedTab ()
 
void addInfoLabel ()
 
void removeInfoLabel ()
 

Public Attributes

QToolButton * addModuleButton
 
int newTabID
 
bool removed
 

Detailed Description

Tabs used for module GUIs

Constructor & Destructor Documentation

TabWidget::TabWidget ( )

TabWidget constructor.

TabWidget::TabWidget ( )

Member Function Documentation

void TabWidget::addInfoLabel ( )

Adds a label with information about how to add a new module.

void TabWidget::addInfoLabel ( )
void TabWidget::duplicateRequested ( int  id)
signal
void TabWidget::duplicateRequested ( int  id)
signal
void TabWidget::duplicateSelectedTab ( )

Broadcasts a signal to other modules that user requested to duplicate a tab.

Note
Only the module that matches the index passed to this signal will launch a new instance of itself.
void TabWidget::duplicateSelectedTab ( )
void TabWidget::removeInfoLabel ( )

Removes a label with information about how to add a new module.

void TabWidget::removeInfoLabel ( )
void TabWidget::removeRequested ( int  id)
signal
void TabWidget::removeRequested ( int  id)
signal
void TabWidget::removeSelectedTab ( )

Broadcasts a signal to other modules that user requested to remove a tab.

Note
Only the module that matches the index passed to this signal will shotdown and remove itself from the tabwidget.
void TabWidget::removeSelectedTab ( )
QTabBar * TabWidget::tabBar ( )

Returns a pointer to the tab bar.

Returns
QTabWidget - pointer to the tab bar.
QTabBar* TabWidget::tabBar ( )
void TabWidget::tabRemoved ( int  id)
signal
void TabWidget::tabRemoved ( int  id)
signal

Member Data Documentation

QToolButton * TabWidget::addModuleButton
int TabWidget::newTabID
bool TabWidget::removed

The documentation for this class was generated from the following files: