Qt 4.8
|
#include "qmdisubwindow_p.h"
#include <QApplication>
#include <QStylePainter>
#include <QVBoxLayout>
#include <QMouseEvent>
#include <QWhatsThis>
#include <QToolTip>
#include <QMainWindow>
#include <QScrollBar>
#include <QDebug>
#include <QScopedValueRollback>
#include <QMacStyle>
#include <QMdiArea>
#include "moc_qmdisubwindow.cpp"
#include "qmdisubwindow.moc"
Go to the source code of this file.
Classes | |
class | QMdi::ControlLabel |
class | QMdi::ControllerWidget |
Namespaces | |
QMdi | |
Macros | |
#define | COLOR_GRADIENTACTIVECAPTION 27 |
#define | COLOR_GRADIENTINACTIVECAPTION 28 |
#define | SPI_GETGRADIENTCAPTIONS 0x1008 |
Functions | |
static QRgb | colorref2qrgb (COLORREF col) |
static int | getMoveDeltaComponent (uint cflags, uint moveFlag, uint resizeFlag, int delta, int maxDelta, int minDelta) |
static int | getResizeDeltaComponent (uint cflags, uint resizeFlag, uint resizeReverseFlag, int delta) |
static bool | isChildOfQMdiSubWindow (const QWidget *child) |
static bool | isChildOfTabbedQMdiArea (const QMdiSubWindow *child) |
static bool | isHoverControl (QStyle::SubControl control) |
template<typename T > | |
static ControlElement< T > * | ptr (QWidget *widget) |
QString | qt_setWindowTitle_helperHelper (const QString &, const QWidget *) |
Returns a modified window title with the [*] place holder replaced according to the rules described in QWidget::setWindowTitle. More... | |
static void | showToolTip (QHelpEvent *helpEvent, QWidget *widget, const QStyleOptionComplex &opt, QStyle::ComplexControl complexControl, QStyle::SubControl subControl) |
Variables | |
static const int | BoundaryMargin = 5 |
static const QStyle::StandardPixmap | ButtonPixmaps [] |
static const Qt::WindowFlags | CustomizeWindowFlags |
static const int | NumButtonPixmaps = sizeof(ButtonPixmaps) / sizeof(ButtonPixmaps[0]) |
static const int | NumSubControls = sizeof(SubControls) / sizeof(SubControls[0]) |
static const QStyle::SubControl | SubControls [] |
#define COLOR_GRADIENTACTIVECAPTION 27 |
Referenced by QMdiSubWindowPrivate::desktopPalette().
#define COLOR_GRADIENTINACTIVECAPTION 28 |
Referenced by QMdiSubWindowPrivate::desktopPalette().
#define SPI_GETGRADIENTCAPTIONS 0x1008 |
Referenced by QMdiSubWindowPrivate::desktopPalette().
|
inlinestatic |
Definition at line 306 of file qmdisubwindow.cpp.
Referenced by QMdiSubWindowPrivate::desktopPalette().
|
inlinestatic |
Definition at line 219 of file qmdisubwindow.cpp.
Referenced by QMdiSubWindowPrivate::setNewGeometry().
|
inlinestatic |
Definition at line 230 of file qmdisubwindow.cpp.
Referenced by QMdiSubWindowPrivate::setNewGeometry().
|
inlinestatic |
Definition at line 241 of file qmdisubwindow.cpp.
Referenced by QMdiSubWindowPrivate::drawTitleBarWhenMaximized().
|
inlinestatic |
Definition at line 253 of file qmdisubwindow.cpp.
Referenced by QMdiSubWindowPrivate::drawTitleBarWhenMaximized(), QMdiSubWindow::maximizedButtonsWidget(), QMdiSubWindow::maximizedSystemMenuIconWidget(), QMdiSubWindowPrivate::menuBar(), QMdiSubWindowPrivate::removeButtonsFromMenuBar(), and QMdiSubWindowPrivate::showButtonsInMenuBar().
|
inlinestatic |
Definition at line 300 of file qmdisubwindow.cpp.
Referenced by QMdiSubWindow::mouseMoveEvent().
|
inlinestatic |
Definition at line 264 of file qmdisubwindow.cpp.
Returns a modified window title with the [*] place holder replaced according to the rules described in QWidget::setWindowTitle.
This function assumes that "[*]" can be quoted by another "[*]", so it will replace two place holders by one and a single last one by either "*" or nothing depending on the modified flag.
Definition at line 6240 of file qwidget.cpp.
Referenced by QMdiSubWindowPrivate::getOperation(), and QMdiSubWindowPrivate::updateInternalWindowTitle().
|
static |
Definition at line 313 of file qmdisubwindow.cpp.
Referenced by QMdiSubWindow::event(), QApplication::event(), QMdi::ControlLabel::event(), QMdi::ControllerWidget::event(), and QScriptToolTipProviderInterface::~QScriptToolTipProviderInterface().
|
static |
Definition at line 217 of file qmdisubwindow.cpp.
Referenced by QMdiSubWindowPrivate::setNewGeometry().
|
static |
Definition at line 199 of file qmdisubwindow.cpp.
|
static |
Definition at line 207 of file qmdisubwindow.cpp.
|
static |
Definition at line 205 of file qmdisubwindow.cpp.
|
static |
Definition at line 197 of file qmdisubwindow.cpp.
Referenced by QMdiSubWindowPrivate::getRegion(), and QMdiSubWindowPrivate::sizeParameters().
|
static |
Definition at line 185 of file qmdisubwindow.cpp.
Referenced by QWindowsVistaStyle::drawComplexControl(), QWindowsXPStyle::drawComplexControl(), QMdiSubWindowPrivate::getRegion(), and QMdiSubWindowPrivate::sizeParameters().