Qt 4.8
|
#include "qapplication.h"
#include "qapplication_p.h"
#include "qbrush.h"
#include "qcursor.h"
#include "qdesktopwidget.h"
#include "qevent.h"
#include "qhash.h"
#include "qlayout.h"
#include "qmenu.h"
#include "qmetaobject.h"
#include "qpixmap.h"
#include "qpointer.h"
#include "qstack.h"
#include "qstyle.h"
#include "qstylefactory.h"
#include "qvariant.h"
#include "qwidget.h"
#include "qstyleoption.h"
#include "qaccessible.h"
#include "qt_windows.h"
#include "qt_mac_p.h"
#include "qt_cocoa_helpers_mac_p.h"
#include "qmainwindow.h"
#include "qtoolbar.h"
#include <private/qmainwindowlayout_p.h>
#include "qwsdisplay_qws.h"
#include "qwsmanager_qws.h"
#include "qpaintengine.h"
#include "private/qwindowsurface_qws_p.h"
#include "qpainter.h"
#include "qtooltip.h"
#include "qwhatsthis.h"
#include "qdebug.h"
#include "private/qstylesheetstyle_p.h"
#include "private/qstyle_p.h"
#include "private/qinputcontext_p.h"
#include "qfileinfo.h"
#include "private/qsoftkeymanager_p.h"
#include <private/qwininputcontext_p.h>
#include <private/qpaintengine_x11_p.h>
#include "qx11info_x11.h"
#include <private/qgraphicseffect_p.h>
#include <private/qwindowsurface_p.h>
#include <private/qbackingstore_p.h>
#include <private/qpaintengine_mac_p.h>
#include <private/qpaintengine_raster_p.h>
#include "qwidget_p.h"
#include "qaction_p.h"
#include "qlayout_p.h"
#include "QtGui/qgraphicsproxywidget.h"
#include "QtGui/qgraphicsscene.h"
#include "private/qgraphicsproxywidget_p.h"
#include "QtGui/qabstractscrollarea.h"
#include "private/qabstractscrollarea_p.h"
#include "private/qevent_p.h"
#include "private/qgraphicssystem_p.h"
#include "private/qgesturemanager_p.h"
#include "moc_qwidget.cpp"
Go to the source code of this file.
Classes | |
class | QDummyWindowSurface |
struct | QWidgetExceptionCleaner |
Macros | |
#define | QT_NO_PAINT_DEBUG |
Functions | |
static QString | constructWindowTitleFromFilePath (const QString &filePath) |
static void | fillRegion (QPainter *painter, const QRegion &rgn, const QBrush &brush) |
static bool | hasBackingStoreSupport () |
static bool | qRectIntersects (const QRect &r1, const QRect &r2) |
QRegion | qt_dirtyRegion (QWidget *widget) |
Q_GUI_EXPORT QWidgetData * | qt_qwidget_data (QWidget *widget) |
bool | qt_sendSpontaneousEvent (QObject *, QEvent *) |
QString | qt_setWindowTitle_helperHelper (const QString &title, const QWidget *widget) |
Returns a modified window title with the [*] place holder replaced according to the rules described in QWidget::setWindowTitle. More... | |
Q_GUI_EXPORT QWidgetPrivate * | qt_widget_private (QWidget *widget) |
Q_GUI_EXPORT void | qt_x11_set_global_double_buffer (bool enable) |
static void | setAttribute_internal (Qt::WidgetAttribute attribute, bool on, QWidgetData *data, QWidgetPrivate *d) |
void | setDisabledStyle (QWidget *w, bool setStyle) |
Variables | |
QPointer< QWidget > | qt_button_down |
QDesktopWidget * | qt_desktopWidget |
#define QT_NO_PAINT_DEBUG |
Definition at line 179 of file qwidget.cpp.
Definition at line 6185 of file qwidget.cpp.
|
inlinestatic |
Definition at line 2392 of file qwidget.cpp.
Referenced by QWidgetPrivate::paintBackground(), and QVGPaintEngine::vgPrivate().
|
inlinestatic |
Definition at line 169 of file qwidget.cpp.
Referenced by QWidget::create(), QWidget::repaint(), and QWidget::update().
Definition at line 163 of file qwidget.cpp.
Referenced by QWidgetPrivate::clipRegion(), QWidgetPrivate::isOverlapped(), QWidgetPrivate::paintSiblingsRecursive(), and QWidgetPrivate::subtractOpaqueSiblings().
Definition at line 1111 of file qwidget.cpp.
Referenced by QWidgetBackingStore::hasStaticContents(), and QETWidget::translatePaintEvent().
Q_GUI_EXPORT QWidgetData* qt_qwidget_data | ( | QWidget * | widget | ) |
Definition at line 12915 of file qwidget.cpp.
Referenced by QXcbWindowSurface::flush(), QX11WindowSurface::flush(), QGLWindowSurface::flush(), QRasterWindowSurface::flush(), QWindowSystemInterface::handleEnterEvent(), QWindowSystemInterface::handleExtendedKeyEvent(), QWindowSystemInterface::handleGeometryChange(), QWindowSystemInterface::handleKeyEvent(), QWindowSystemInterface::handleLeaveEvent(), QWindowSystemInterface::handleMouseEvent(), and QWindowSystemInterface::handleWheelEvent().
Definition at line 5779 of file qapplication.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 QDockWidget::changeEvent(), QMdiSubWindowPrivate::getOperation(), QAccessibleWidget::indexOfChild(), QDockWidgetPrivate::init(), QWorkspaceTitleBar::isTool(), QDecorationDefault::paintButton(), QWorkspaceTitleBar::paintEvent(), QWidgetPrivate::setWindowIconText_helper(), QWidgetPrivate::setWindowTitle_helper(), tabTextFor(), QAccessibleWidget::text(), QMdiSubWindowPrivate::updateInternalWindowTitle(), and QDecorationDefault::windowTitleFor().
Q_GUI_EXPORT QWidgetPrivate* qt_widget_private | ( | QWidget * | widget | ) |
Definition at line 12920 of file qwidget.cpp.
Referenced by QVGWindowSurface::beginPaint(), QRasterWindowSurface::beginPaint(), QVGGraphicsSystem::createWindowSurface(), QGLGraphicsSystem::createWindowSurface(), QGraphicsViewPrivate::dispatchPendingUpdateRequests(), QInputDialogPrivate::ensureComboBox(), QInputDialogPrivate::ensureLineEdit(), QDirectFBWindowSurface::flush(), QRasterWindowSurface::flush(), QPixmap::grabWidget(), QTabWidgetPrivate::hasHeightForWidth(), QGLWidgetPrivate::init(), macWindowToolbarShow(), QDeclarativeTextInput::mouseReleaseEvent(), QDeclarativeTextEdit::mouseReleaseEvent(), QGraphicsTextItem::mouseReleaseEvent(), QApplication::notify(), QPlatformScreen::physicalSize(), QPlatformScreen::platformScreenForWidget(), qstring_to_xtp(), qt_dirtyRegion(), qt_event_request_window_change(), qt_mac_post_retranslateAppMenu(), qt_mac_send_posted_gl_updates(), qt_mac_update_child_gl_widgets(), qt_mac_update_intersected_gl_widgets(), qt_mac_update_widget_position(), qt_post_window_change_event(), qt_reg_winclass(), QWidgetBackingStoreTracker::registerWidget(), QMdi::ControlContainer::removeButtonsFromMenuBar(), QRasterWindowSurface::setGeometry(), QRuntimeGraphicsSystem::setGraphicsSystem(), QGL2PaintEngineExPrivate::systemStateChanged(), QAccessible::updateAccessibility(), QOpenGLPaintEngine::updateClipRegion(), QTabBarPrivate::updateMacBorderMetrics(), and updateRedirectedToGraphicsProxyWidget().
Q_GUI_EXPORT void qt_x11_set_global_double_buffer | ( | bool | enable | ) |
Definition at line 153 of file qwidget.cpp.
|
static |
This just sets the corresponding attribute bit to 1 or 0
Definition at line 11063 of file qwidget.cpp.
Referenced by QWidget::setAttribute().
|
inline |
Definition at line 8586 of file qwidget.cpp.
Referenced by QWidget::event().
Definition at line 188 of file qapplication_mac.mm.
Referenced by QWidgetPrivate::paintBackground().
QDesktopWidget* qt_desktopWidget |
Definition at line 560 of file qapplication.cpp.
Referenced by QApplication::desktop(), and QApplication::~QApplication().