GOFIGURE2  0.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Types | Public Slots | Public Member Functions | Private Member Functions | Private Attributes | List of all members
QGoTabManager Class Reference

#include <Main/QGoTabManager.h>

Inheritance diagram for QGoTabManager:
Inheritance graph
[legend]
Collaboration diagram for QGoTabManager:
Collaboration graph
[legend]

Public Types

typedef
QGoTabElementBase::QGoDockWidgetStatusPair 
QGoDockWidgetStatusPair
 

Public Slots

void ChangeCurrentTab (int iIdx)
 
void CloseAllTabs ()
 
void CloseTab (int idx)
 
void UpdateBookmarkMenu (std::vector< QAction * > iBookmarkActions)
 

Public Member Functions

 QGoTabManager (QGoMainWindow *iMW=0, QTabWidget *iTW=0)
 
void SetMainWindow (QGoMainWindow *iMW)
 Set the MainWindow if it has not been set by calling the constructor. More...
 
void SetTabWidget (QTabWidget *iTW)
 Set the TabWidget if it has not been set by calling the constructor. More...
 
 ~QGoTabManager ()
 

Private Member Functions

void ClearTabElement (QGoTabElementBase *iE)
 
QMainWindow * GetMainWindow (QGoDockWidgetStatusPair iDockStatus)
 
 Q_DISABLE_COPY (QGoTabManager)
 
void SetUpTabElement (QGoTabElementBase *iE)
 
void UpdateViewMenu (std::vector< QAction * > iViewNoToolBarActions)
 

Private Attributes

QGoMainWindowm_MainWindow
 
int m_PreviousTabIndex
 
QTabWidget * m_TabWidget
 

Detailed Description

Definition at line 51 of file QGoTabManager.h.

Member Typedef Documentation

Definition at line 58 of file QGoTabManager.h.

Constructor & Destructor Documentation

QGoTabManager::QGoTabManager ( QGoMainWindow iMW = 0,
QTabWidget *  iTW = 0 
)
explicit

Definition at line 43 of file QGoTabManager.cxx.

QGoTabManager::~QGoTabManager ( )

Definition at line 51 of file QGoTabManager.cxx.

Member Function Documentation

void QGoTabManager::ChangeCurrentTab ( int  iIdx)
slot

Definition at line 261 of file QGoTabManager.cxx.

void QGoTabManager::ClearTabElement ( QGoTabElementBase iE)
private

Definition at line 74 of file QGoTabManager.cxx.

void QGoTabManager::CloseAllTabs ( )
slot

Definition at line 334 of file QGoTabManager.cxx.

void QGoTabManager::CloseTab ( int  idx)
slot

Definition at line 314 of file QGoTabManager.cxx.

QMainWindow * QGoTabManager::GetMainWindow ( QGoTabManager::QGoDockWidgetStatusPair  iDockStatus)
private

Definition at line 361 of file QGoTabManager.cxx.

QGoTabManager::Q_DISABLE_COPY ( QGoTabManager  )
private
void QGoTabManager::SetMainWindow ( QGoMainWindow iMW)

Set the MainWindow if it has not been set by calling the constructor.

Definition at line 58 of file QGoTabManager.cxx.

void QGoTabManager::SetTabWidget ( QTabWidget *  iTW)

Set the TabWidget if it has not been set by calling the constructor.

Definition at line 66 of file QGoTabManager.cxx.

void QGoTabManager::SetUpTabElement ( QGoTabElementBase iE)
private
Todo:
: Check if there is a connection with database to update

Definition at line 140 of file QGoTabManager.cxx.

void QGoTabManager::UpdateBookmarkMenu ( std::vector< QAction * >  iBookmarkActions)
slot

Definition at line 287 of file QGoTabManager.cxx.

void QGoTabManager::UpdateViewMenu ( std::vector< QAction * >  iViewNoToolBarActions)
private

Definition at line 302 of file QGoTabManager.cxx.

Member Data Documentation

QGoMainWindow* QGoTabManager::m_MainWindow
private

Definition at line 78 of file QGoTabManager.h.

int QGoTabManager::m_PreviousTabIndex
private

Definition at line 80 of file QGoTabManager.h.

QTabWidget* QGoTabManager::m_TabWidget
private

Definition at line 79 of file QGoTabManager.h.


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