Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qwhatsthis.cpp File Reference

(9e78256579e8dc704066a98cb4816a1aab0e7e3b)

#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 "qtimer.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()

static bool dropShadow ( )
inlinestatic

Definition at line 132 of file qwhatsthis.cpp.

References QPlatformTheme::DropShadow, and QGuiApplicationPrivate::platformTheme().

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

+ Here is the call graph for this function:
+ 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

◆ shadowWidth

int shadowWidth = 6
static

◆ vMargin