NAME

Qt::Gui::QMainWindow

PUBLIC METHODS

QMainWindow(QWidget * parent, QFlags<Qt::WindowType> flags)
QMainWindow(QWidget * parent, QFlags<Qt::WindowType> flags = 0)
QMainWindow(QWidget * parent = 0, QFlags<Qt::WindowType> flags = 0)
~QMainWindow()
void addDockWidget(Qt::DockWidgetArea area, QDockWidget * dockwidget)
void addDockWidget(Qt::DockWidgetArea area, QDockWidget * dockwidget, Qt::Orientation orientation)
void addToolBar(QToolBar * toolbar)
QToolBar * addToolBar(const QString & title)
void addToolBar(Qt::ToolBarArea area, QToolBar * toolbar)
void addToolBarBreak(Qt::ToolBarArea area)
void addToolBarBreak(Qt::ToolBarArea area = Qt::TopToolBarArea)
QWidget * centralWidget()
Qt::DockWidgetArea corner(Qt::Corner corner)
QMenu * createPopupMenu()
QFlags<QMainWindow::DockOption> dockOptions()
Qt::DockWidgetArea dockWidgetArea(QDockWidget * dockwidget)
bool documentMode()
QSize iconSize()
void insertToolBar(QToolBar * before, QToolBar * toolbar)
void insertToolBarBreak(QToolBar * before)
bool isAnimated()
bool isDockNestingEnabled()
bool isSeparator(const QPoint & pos)
QMenuBar * menuBar()
QWidget * menuWidget()
void removeDockWidget(QDockWidget * dockwidget)
void removeToolBar(QToolBar * toolbar)
void removeToolBarBreak(QToolBar * before)
bool restoreDockWidget(QDockWidget * dockwidget)
bool restoreState(const QByteArray & state, int version)
bool restoreState(const QByteArray & state, int version = 0)
QByteArray saveState(int version)
QByteArray saveState(int version = 0)
void setAnimated(bool enabled)
void setCentralWidget(QWidget * widget)
void setCorner(Qt::Corner corner, Qt::DockWidgetArea area)
void setDockNestingEnabled(bool enabled)
void setDockOptions(QFlags<QMainWindow::DockOption> options)
void setDocumentMode(bool enabled)
void setIconSize(const QSize & iconSize)
void setMenuBar(QMenuBar * menubar)
void setMenuWidget(QWidget * menubar)
void setStatusBar(QStatusBar * statusbar)
void setTabPosition(QFlags<Qt::DockWidgetArea> areas, QTabWidget::TabPosition tabPosition)
void setTabShape(QTabWidget::TabShape tabShape)
void setToolButtonStyle(Qt::ToolButtonStyle toolButtonStyle)
void setUnifiedTitleAndToolBarOnMac(bool set)
void splitDockWidget(QDockWidget * after, QDockWidget * dockwidget, Qt::Orientation orientation)
QStatusBar * statusBar()
QTabWidget::TabPosition tabPosition(Qt::DockWidgetArea area)
QTabWidget::TabShape tabShape()
void tabifyDockWidget(QDockWidget * first, QDockWidget * second)
Qt::ToolBarArea toolBarArea(QToolBar * toolbar)
bool toolBarBreak(QToolBar * toolbar)
Qt::ToolButtonStyle toolButtonStyle()
bool unifiedTitleAndToolBarOnMac()

ENUM VALUES

AnimatedDocks
AllowNestedDocks
AllowTabbedDocks
ForceTabbedDocks
VerticalTabs

EXPORT

None by default.

AUTHOR

Dongxu Ma <dongxu@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2011 - 2012 by Dongxu Ma

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://dev.perl.org/licenses/artistic.html