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

#include <Code/GUI/lib/QGoToolBarStatus.h>

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

Public Slots

void SetArea (Qt::ToolBarArea iArea)
 set the area of the m_ToolBar More...
 
void SetAttached (bool iAttached)
 set the floated status of the m_ToolBar More...
 
void SetVisibility (bool iVisibility)
 set the visibility of the m_ToolBar More...
 

Public Member Functions

void ClearToolBar ()
 clear the toolbar and disconnect all the slots inside this class connected to the toolbar More...
 
void InitializeToolBarAndMenu (QToolBar *iToolBar, QMenu *iMenu)
 
 QGoToolBarStatus (QWidget *iParent=0)
 
 QGoToolBarStatus (const QGoToolBarStatus &iS)
 
 QGoToolBarStatus (Qt::ToolBarArea iArea, const bool &iVisibility, const bool &iAttached, QWidget *iParent=0)
 
 QGoToolBarStatus (QToolBar *iToolBar, QMenu *iMenu, Qt::ToolBarArea iArea, const bool &iVisibility, const bool &iAttached, QWidget *iParent=0, QWidget *iWidget=0)
 
void SetUpToolBar ()
 add all the actions coontained in the m_VectorAction into the toolbar and connect the slots More...
 
virtual ~QGoToolBarStatus ()
 

Public Attributes

Qt::ToolBarArea m_Area
 Position. More...
 
bool m_Attached
 Attached to QGoMainWindow. More...
 
Qt::ToolBarArea m_DefaultArea
 
QMenu * m_Menu
 
QToolBar * m_ToolBar
 
std::vector< QAction * > m_VectorAction
 
bool m_Visibility
 is Visible More...
 

Protected Attributes

QWidget * m_Widget
 

Detailed Description

Definition at line 46 of file QGoToolBarStatus.h.

Constructor & Destructor Documentation

QGoToolBarStatus::QGoToolBarStatus ( QWidget *  iParent = 0)
explicit

Definition at line 39 of file QGoToolBarStatus.cxx.

QGoToolBarStatus::QGoToolBarStatus ( const QGoToolBarStatus iS)
explicit

Definition at line 49 of file QGoToolBarStatus.cxx.

QGoToolBarStatus::QGoToolBarStatus ( Qt::ToolBarArea  iArea,
const bool &  iVisibility,
const bool &  iAttached,
QWidget *  iParent = 0 
)
explicit

Definition at line 60 of file QGoToolBarStatus.cxx.

QGoToolBarStatus::QGoToolBarStatus ( QToolBar *  iToolBar,
QMenu *  iMenu,
Qt::ToolBarArea  iArea,
const bool &  iVisibility,
const bool &  iAttached,
QWidget *  iParent = 0,
QWidget *  iWidget = 0 
)
explicit

Definition at line 72 of file QGoToolBarStatus.cxx.

QGoToolBarStatus::~QGoToolBarStatus ( )
virtual

Definition at line 89 of file QGoToolBarStatus.cxx.

Member Function Documentation

void QGoToolBarStatus::ClearToolBar ( )

clear the toolbar and disconnect all the slots inside this class connected to the toolbar

Definition at line 161 of file QGoToolBarStatus.cxx.

void QGoToolBarStatus::InitializeToolBarAndMenu ( QToolBar *  iToolBar,
QMenu *  iMenu 
)

Definition at line 185 of file QGoToolBarStatus.cxx.

void QGoToolBarStatus::SetArea ( Qt::ToolBarArea  iArea)
slot

set the area of the m_ToolBar

Definition at line 96 of file QGoToolBarStatus.cxx.

void QGoToolBarStatus::SetAttached ( bool  iAttached)
slot

set the floated status of the m_ToolBar

Definition at line 112 of file QGoToolBarStatus.cxx.

void QGoToolBarStatus::SetUpToolBar ( )

add all the actions coontained in the m_VectorAction into the toolbar and connect the slots

Definition at line 120 of file QGoToolBarStatus.cxx.

void QGoToolBarStatus::SetVisibility ( bool  iVisibility)
slot

set the visibility of the m_ToolBar

Definition at line 104 of file QGoToolBarStatus.cxx.

Member Data Documentation

Qt::ToolBarArea QGoToolBarStatus::m_Area

Position.

Definition at line 84 of file QGoToolBarStatus.h.

bool QGoToolBarStatus::m_Attached

Attached to QGoMainWindow.

Definition at line 89 of file QGoToolBarStatus.h.

Qt::ToolBarArea QGoToolBarStatus::m_DefaultArea

Definition at line 85 of file QGoToolBarStatus.h.

QMenu* QGoToolBarStatus::m_Menu

Definition at line 82 of file QGoToolBarStatus.h.

QToolBar* QGoToolBarStatus::m_ToolBar

Definition at line 81 of file QGoToolBarStatus.h.

std::vector< QAction* > QGoToolBarStatus::m_VectorAction

Definition at line 91 of file QGoToolBarStatus.h.

bool QGoToolBarStatus::m_Visibility

is Visible

Definition at line 87 of file QGoToolBarStatus.h.

QWidget* QGoToolBarStatus::m_Widget
protected

Definition at line 104 of file QGoToolBarStatus.h.


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