QStyleOptionSlider Class Reference

#include <qstyleoption.h>

Class Description

Definition at line 701 of file qstyleoption.h.

+ Inheritance diagram for QStyleOptionSlider:

Public Types

enum  StyleOptionType { Type = SO_Slider }
 
enum  StyleOptionVersion { Version = 1 }
 
- Public Types inherited from QStyleOptionComplex
enum  StyleOptionType { Type = SO_Complex }
 
enum  StyleOptionVersion { Version = 1 }
 
- Public Types inherited from QStyleOption
enum  OptionType {
  SO_Default, SO_FocusRect, SO_Button, SO_Tab,
  SO_MenuItem, SO_Frame, SO_ProgressBar, SO_ToolBox,
  SO_Header, SO_Q3DockWindow, SO_DockWidget, SO_Q3ListViewItem,
  SO_ViewItem, SO_TabWidgetFrame, SO_TabBarBase, SO_RubberBand,
  SO_ToolBar, SO_GraphicsItem, SO_Complex = 0xf0000, SO_Slider,
  SO_SpinBox, SO_ToolButton, SO_ComboBox, SO_Q3ListView,
  SO_TitleBar, SO_GroupBox, SO_SizeGrip, SO_CustomBase = 0xf00,
  SO_ComplexCustomBase = 0xf000000
}
 
enum  StyleOptionType { Type = SO_Default }
 
enum  StyleOptionVersion { Version = 1 }
 

Public Member Functions

 QStyleOptionSlider ()
 
 QStyleOptionSlider (const QStyleOptionSlider &other)
 
- Public Member Functions inherited from QStyleOptionComplex
 QStyleOptionComplex (int version=QStyleOptionComplex::Version, int type=SO_Complex)
 
 QStyleOptionComplex (const QStyleOptionComplex &other)
 
- Public Member Functions inherited from QStyleOption
 QStyleOption (int version=QStyleOption::Version, int type=SO_Default)
 
 QStyleOption (const QStyleOption &other)
 
 ~QStyleOption ()
 
void init (const QWidget *w)
 
void initFrom (const QWidget *w)
 
QStyleOptionoperator= (const QStyleOption &other)
 

Public Attributes

Qt::Orientation orientation
 
int minimum
 
int maximum
 
QSlider::TickPosition tickPosition
 
int tickInterval
 
bool upsideDown
 
int sliderPosition
 
int sliderValue
 
int singleStep
 
int pageStep
 
qreal notchTarget
 
bool dialWrapping
 
- Public Attributes inherited from QStyleOptionComplex
QStyle::SubControls subControls
 
QStyle::SubControls activeSubControls
 
- Public Attributes inherited from QStyleOption
int version
 
int type
 
QStyle::State state
 
Qt::LayoutDirection direction
 
QRect rect
 
QFontMetrics fontMetrics
 
QPalette palette
 

Protected Member Functions

 QStyleOptionSlider (int version)
 

Member Enumeration Documentation

Enumerator
Type 

Definition at line 704 of file qstyleoption.h.

Enumerator
Version 

Definition at line 705 of file qstyleoption.h.

Constructor & Destructor Documentation

QStyleOptionSlider ( const QStyleOptionSlider other)
inline

Definition at line 721 of file qstyleoption.h.

721 : QStyleOptionComplex(Version, Type) { *this = other; }
QStyleOptionComplex(int version=QStyleOptionComplex::Version, int type=SO_Complex)
QStyleOptionSlider ( int  version)
protected

Member Data Documentation

Qt::Orientation orientation

Definition at line 707 of file qstyleoption.h.

int minimum

Definition at line 708 of file qstyleoption.h.

int maximum

Definition at line 709 of file qstyleoption.h.

QSlider::TickPosition tickPosition

Definition at line 710 of file qstyleoption.h.

int tickInterval

Definition at line 711 of file qstyleoption.h.

bool upsideDown

Definition at line 712 of file qstyleoption.h.

int sliderPosition

Definition at line 713 of file qstyleoption.h.

int sliderValue

Definition at line 714 of file qstyleoption.h.

int singleStep

Definition at line 715 of file qstyleoption.h.

int pageStep

Definition at line 716 of file qstyleoption.h.

qreal notchTarget

Definition at line 717 of file qstyleoption.h.

bool dialWrapping

Definition at line 718 of file qstyleoption.h.


The documentation for this class was generated from the following file: