New upstream version 0.16.2+dfsg1
This commit is contained in:
parent
67704ac59c
commit
6efda2859e
377 changed files with 7938 additions and 696 deletions
19
UI/slider-absoluteset-style.cpp
Normal file
19
UI/slider-absoluteset-style.cpp
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
#include "slider-absoluteset-style.hpp"
|
||||
|
||||
SliderAbsoluteSetStyle::SliderAbsoluteSetStyle(const QString& baseStyle)
|
||||
:QProxyStyle(baseStyle)
|
||||
{
|
||||
}
|
||||
SliderAbsoluteSetStyle::SliderAbsoluteSetStyle(QStyle* baseStyle)
|
||||
:QProxyStyle(baseStyle)
|
||||
{
|
||||
}
|
||||
|
||||
int SliderAbsoluteSetStyle::styleHint(QStyle::StyleHint hint,
|
||||
const QStyleOption* option = 0, const QWidget* widget = 0,
|
||||
QStyleHintReturn* returnData = 0) const
|
||||
{
|
||||
if(hint == QStyle::SH_Slider_AbsoluteSetButtons)
|
||||
return (Qt::LeftButton | Qt::MidButton);
|
||||
return QProxyStyle::styleHint(hint, option, widget, returnData);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue