beautified
This commit is contained in:
parent
50923fcf8c
commit
e5cb155350
|
@ -349,7 +349,7 @@ void QskAnimator::update()
|
||||||
|
|
||||||
if ( m_autoRepeat )
|
if ( m_autoRepeat )
|
||||||
{
|
{
|
||||||
double progress = std::fmod(( driverTime - m_startTime ), m_duration );
|
double progress = std::fmod( driverTime - m_startTime, m_duration );
|
||||||
progress /= m_duration;
|
progress /= m_duration;
|
||||||
|
|
||||||
advance( m_easingCurve.valueForProgress( progress ) );
|
advance( m_easingCurve.valueForProgress( progress ) );
|
||||||
|
|
|
@ -48,7 +48,7 @@ class QSK_EXPORT QskProgressBar : public QskBoundedControl
|
||||||
|
|
||||||
QskAspect::Placement effectivePlacement() const override;
|
QskAspect::Placement effectivePlacement() const override;
|
||||||
|
|
||||||
void setBarGradient( const QskGradient & );
|
void setBarGradient( const QskGradient& );
|
||||||
void resetBarGradient();
|
void resetBarGradient();
|
||||||
QskGradient barGradient() const;
|
QskGradient barGradient() const;
|
||||||
|
|
||||||
|
|
|
@ -73,15 +73,15 @@ class QSK_EXPORT QskShortcutMap
|
||||||
|
|
||||||
template< typename T >
|
template< typename T >
|
||||||
static int addFunctionT(
|
static int addFunctionT(
|
||||||
QQuickItem* item, const QKeySequence&, bool autoRepeat,
|
QQuickItem*, const QKeySequence&, bool autoRepeat,
|
||||||
const QObject* receiver, T );
|
const QObject* receiver, T );
|
||||||
|
|
||||||
static int addFunction(
|
static int addFunction(
|
||||||
QQuickItem* item, const QKeySequence&, bool autoRepeat,
|
QQuickItem*, const QKeySequence&, bool autoRepeat,
|
||||||
const QObject* receiver, const QskMetaFunction& );
|
const QObject* receiver, const QskMetaFunction& );
|
||||||
|
|
||||||
static int addMethod(
|
static int addMethod(
|
||||||
QQuickItem* item, const QKeySequence&, bool autoRepeat,
|
QQuickItem*, const QKeySequence&, bool autoRepeat,
|
||||||
const QObject* receiver, const char* );
|
const QObject* receiver, const char* );
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -95,7 +95,7 @@ class QSK_EXPORT QskSkinnable
|
||||||
void setBoxBorderColorsHint( QskAspect::Aspect, const QskBoxBorderColors& );
|
void setBoxBorderColorsHint( QskAspect::Aspect, const QskBoxBorderColors& );
|
||||||
QskBoxBorderColors boxBorderColorsHint( QskAspect::Aspect, QskSkinHintStatus* = nullptr ) const;
|
QskBoxBorderColors boxBorderColorsHint( QskAspect::Aspect, QskSkinHintStatus* = nullptr ) const;
|
||||||
|
|
||||||
void setIntervalHint( QskAspect::Aspect, const QskIntervalF & );
|
void setIntervalHint( QskAspect::Aspect, const QskIntervalF& );
|
||||||
QskIntervalF intervalHint( QskAspect::Aspect, QskSkinHintStatus* = nullptr ) const;
|
QskIntervalF intervalHint( QskAspect::Aspect, QskSkinHintStatus* = nullptr ) const;
|
||||||
|
|
||||||
void setFlagHint( QskAspect::Aspect, int flag );
|
void setFlagHint( QskAspect::Aspect, int flag );
|
||||||
|
|
|
@ -358,7 +358,7 @@ bool QskWindow::event( QEvent* event )
|
||||||
{
|
{
|
||||||
const int updateTimerId = qskUpdateTimerId( this );
|
const int updateTimerId = qskUpdateTimerId( this );
|
||||||
|
|
||||||
if ( static_cast<QTimerEvent *>( event )->timerId() == updateTimerId )
|
if ( static_cast< QTimerEvent* >( event )->timerId() == updateTimerId )
|
||||||
{
|
{
|
||||||
if ( !d->renderInterval.isValid() )
|
if ( !d->renderInterval.isValid() )
|
||||||
d->renderInterval.start();
|
d->renderInterval.start();
|
||||||
|
|
Loading…
Reference in New Issue