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

(87806f5cad6e4ce75a899598c15c126995682562)

#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 const int vMargin = 8
static const int hMargin = 12
static const char *const button_image []

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

◆ button_image

const char *const button_image
static
Initial value:
= {
"16 16 3 1",
" c None",
"o c #000000",
"a c #000080",
"o aaaaa ",
"oo aaa aaa ",
"ooo aaa aaa",
"oooo aa aa",
"ooooo aa aa",
"oooooo a aaa",
"ooooooo aaa ",
"oooooooo aaa ",
"ooooooooo aaa ",
"ooooo aaa ",
"oo ooo ",
"o ooo aaa ",
" ooo aaa ",
" ooo ",
" ooo ",
" ooo "}

Definition at line 294 of file qwhatsthis.cpp.

◆ hMargin

const int hMargin = 12
static

Definition at line 130 of file qwhatsthis.cpp.

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

◆ shadowWidth

int shadowWidth = 6
static

◆ vMargin

const int vMargin = 8
static

Definition at line 129 of file qwhatsthis.cpp.

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