Poster of Linux kernelThe best gift for a Linux geek
tlp::MainWindowFacade

tlp::MainWindowFacade

Section: Tulip QT Library (3) Updated: 19 Jul 2010
Local index Up
 

NAME

tlp::MainWindowFacade -

Facade of QMainWindow.

 

SYNOPSIS


#include <Controller.h>  

Public Member Functions


MainWindowFacade ()

MainWindowFacade (QMainWindow *mainWindow, QToolBar *toolBar, QToolBar *interactorsToolBar, QWorkspace *workspace)

QWidget * getParentWidget ()

QMenuBar * getMenuBar ()

QToolBar * getToolBar ()

QToolBar * getInteractorsToolBar ()

QWorkspace * getWorkspace ()

QStatusBar * getStatusBar ()

void addDockWidget (Qt::DockWidgetArea area, QDockWidget *dockWidget)
 

Detailed Description

Facade of QMainWindow.

This class provide a facade of QMainWindow It is used by Controller to acces to QMainWindow  

Constructor & Destructor Documentation

 

tlp::MainWindowFacade::MainWindowFacade ()basic constructor : no use it

 

tlp::MainWindowFacade::MainWindowFacade (QMainWindow * mainWindow, QToolBar * toolBar, QToolBar * interactorsToolBar, QWorkspace * workspace)default constructor

 

Member Function Documentation

 

void tlp::MainWindowFacade::addDockWidget (Qt::DockWidgetArea area, QDockWidget * dockWidget) [inline]Add a dock widget to QMainWindow This function call QMainWindow::addDockWidget(Qt::DockWidgetArea,QDockWidget)

 

QToolBar* tlp::MainWindowFacade::getInteractorsToolBar () [inline]

 

QMenuBar* tlp::MainWindowFacade::getMenuBar () [inline]get menu bar

Returns:

the menu bar

 

QWidget* tlp::MainWindowFacade::getParentWidget () [inline]Get the parent widget : use it as parent if you want to create a QDialog (for example)

Warning:

QWidget returned is QMainWindow but for prevent segfault don't use it as QMainWindow

 

QStatusBar* tlp::MainWindowFacade::getStatusBar () [inline]get status bar

Returns:

the status bar

 

QToolBar* tlp::MainWindowFacade::getToolBar () [inline]

 

QWorkspace* tlp::MainWindowFacade::getWorkspace () [inline]get workspace

Returns:

the workspace

 

Author

Generated automatically by Doxygen for Tulip QT Library from the source code.


 

Index

NAME
SYNOPSIS
Public Member Functions
Detailed Description
Constructor & Destructor Documentation
tlp::MainWindowFacade::MainWindowFacade ()basic constructor : no use it
tlp::MainWindowFacade::MainWindowFacade (QMainWindow * mainWindow, QToolBar * toolBar, QToolBar * interactorsToolBar, QWorkspace * workspace)default constructor
Member Function Documentation
void tlp::MainWindowFacade::addDockWidget (Qt::DockWidgetArea area, QDockWidget * dockWidget) [inline]Add a dock widget to QMainWindow This function call QMainWindow::addDockWidget(Qt::DockWidgetArea,QDockWidget)
QToolBar* tlp::MainWindowFacade::getInteractorsToolBar () [inline]
QMenuBar* tlp::MainWindowFacade::getMenuBar () [inline]get menu bar
QWidget* tlp::MainWindowFacade::getParentWidget () [inline]Get the parent widget : use it as parent if you want to create a QDialog (for example)
QStatusBar* tlp::MainWindowFacade::getStatusBar () [inline]get status bar
QToolBar* tlp::MainWindowFacade::getToolBar () [inline]
QWorkspace* tlp::MainWindowFacade::getWorkspace () [inline]get workspace
Author

This document was created by man2html, using the manual pages.
Time: 22:28:18 GMT, April 16, 2011