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:
[legend]
Collaboration diagram for QGoTabManager:
[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 ()
 
- Public Member Functions inherited from QObject
bool blockSignals (bool block)
 
QObjectchild (const char *objName, const char *inheritsClass, bool recursiveSearch) const
 
const QObjectList & children () const
 
const char * className () const
 
bool connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const
 
void deleteLater ()
 
void destroyed (QObject *obj)
 
bool disconnect (const QObject *receiver, const char *method)
 
bool disconnect (const char *signal, const QObject *receiver, const char *method)
 
void dumpObjectInfo ()
 
void dumpObjectTree ()
 
QList< QByteArraydynamicPropertyNames () const
 
virtual bool event (QEvent *e)
 
virtual bool eventFilter (QObject *watched, QEvent *event)
 
findChild (const QString &name) const
 
QList< T > findChildren (const QRegExp &regExp) const
 
QList< T > findChildren (const QString &name) const
 
bool inherits (const char *className) const
 
void insertChild (QObject *object)
 
void installEventFilter (QObject *filterObj)
 
bool isA (const char *className) const
 
bool isWidgetType () const
 
void killTimer (int id)
 
virtual const QMetaObjectmetaObject () const
 
void moveToThread (QThread *targetThread)
 
const char * name () const
 
const char * name (const char *defaultName) const
 
QString objectName () const
 
QObjectparent () const
 
QVariant property (const char *name) const
 
 QObject (QObject *parent)
 
 QObject (QObject *parent, const char *name)
 
void removeChild (QObject *object)
 
void removeEventFilter (QObject *obj)
 
void setName (const char *name)
 
void setObjectName (const QString &name)
 
void setParent (QObject *parent)
 
bool setProperty (const char *name, const QVariant &value)
 
bool signalsBlocked () const
 
int startTimer (int interval)
 
QThreadthread () const
 
virtual  ~QObject ()
 

Private Member Functions

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

Private Attributes

QGoMainWindowm_MainWindow
 
int m_PreviousTabIndex
 
QTabWidgetm_TabWidget
 

Additional Inherited Members

- Static Public Member Functions inherited from QObject
bool connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
 
bool connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type)
 
bool disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method)
 
bool disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method)
 
QString tr (const char *sourceText, const char *disambiguation, int n)
 
QString trUtf8 (const char *sourceText, const char *disambiguation, int n)
 
- Protected Member Functions inherited from QObject
bool checkConnectArgs (const char *signal, const QObject *object, const char *method)
 
virtual void childEvent (QChildEvent *event)
 
virtual void connectNotify (const char *signal)
 
virtual void customEvent (QEvent *event)
 
virtual void disconnectNotify (const char *signal)
 
int receivers (const char *signal) const
 
QObjectsender () const
 
int senderSignalIndex () const
 
virtual void timerEvent (QTimerEvent *event)
 
- Static Protected Member Functions inherited from QObject
QByteArray normalizeSignalSlot (const char *signalSlot)
 
- Properties inherited from QObject
 objectName
 

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: