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
qscrollbar.cpp File Reference

(4a7c76d4a5365343178ea29c8a8e9b8d8acb89b5)

#include "qapplication.h"
#include "qcursor.h"
#include "qevent.h"
#include "qpainter.h"
#include "qscrollbar.h"
#include "qstyle.h"
#include "qstyleoption.h"
#include "qstylepainter.h"
#include <QtCore/qelapsedtimer.h>
#include <QtCore/qpointer.h>
#include <limits.h>
#include "qscrollbar_p.h"
#include "moc_qscrollbar.cpp"
+ Include dependency graph for qscrollbar.cpp:

Go to the source code of this file.

Macros

#define HORIZONTAL   (d_func()->orientation == Qt::Horizontal)
 
#define VERTICAL   !HORIZONTAL
 

Functions

Q_WIDGETS_EXPORT QStyleOptionSlider qt_qscrollbarStyleOption (QScrollBar *scrollbar)
 

Macro Definition Documentation

◆ HORIZONTAL

#define HORIZONTAL   (d_func()->orientation == Qt::Horizontal)

◆ VERTICAL

#define VERTICAL   !HORIZONTAL

Definition at line 300 of file qscrollbar.cpp.

Function Documentation

◆ qt_qscrollbarStyleOption()

Q_WIDGETS_EXPORT QStyleOptionSlider qt_qscrollbarStyleOption ( QScrollBar * scrollbar)

Returns the style option for scroll bar.

Definition at line 704 of file qscrollbar.cpp.