Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qwhatsthis.cpp File Reference

(cd9ef0ce91f84cc263921eeda7d2bcf9125f130b)

#include "qwhatsthis.h"
#include "qpointer.h"
#include "qapplication.h"
#include <private/qguiapplication_p.h>
#include "qwidget.h"
#include "qevent.h"
#include "qpixmap.h"
#include "qscreen.h"
#include "qpainter.h"
#include "qcursor.h"
#include "qbitmap.h"
#include "qtextdocument.h"
#include <qpa/qplatformtheme.h>
#include "private/qtextdocumentlayout_p.h"
#include "qdebug.h"
#include "qwhatsthis.moc"
Include dependency graph for qwhatsthis.cpp:

Go to the source code of this file.

Classes

class  QWhatsThat
class  QWhatsThisPrivate

Functions

static bool dropShadow ()

Variables

static int shadowWidth = 6
static constexpr int vMargin = 8
static constexpr int hMargin = 12

Function Documentation

◆ dropShadow()

bool dropShadow ( )
inlinestatic

Definition at line 132 of file qwhatsthis.cpp.

Referenced by QWhatsThat::QWhatsThat(), and QWhatsThat::paintEvent().

Here is the caller graph for this function:

Variable Documentation

◆ hMargin

constexpr int hMargin = 12
staticconstexpr

Definition at line 130 of file qwhatsthis.cpp.

Referenced by QWhatsThat::QWhatsThat(), and QWhatsThat::paintEvent().

◆ shadowWidth

int shadowWidth = 6
static

◆ vMargin

constexpr int vMargin = 8
staticconstexpr

Definition at line 129 of file qwhatsthis.cpp.

Referenced by QWhatsThat::QWhatsThat(), and QWhatsThat::paintEvent().