new toolbar style for YACReaderLibrary in Yosemite

This commit is contained in:
Luis Ángel San Martín
2014-11-06 09:03:01 -08:00
commit 5b98724fc6
848 changed files with 79253 additions and 0 deletions

29
YACReader/width_slider.h Normal file
View File

@ -0,0 +1,29 @@
#ifndef WIDTH_SLIDER_H
#define WIDTH_SLIDER_H
#include <QWidgetAction>
class QLabel;
class QSlider;
class YACReaderSliderAction : public QWidgetAction
{
Q_OBJECT
private:
QLabel * percentageLabel;
QSlider * slider;
public:
YACReaderSliderAction (QWidget * parent = 0);
public slots:
void updateText(int value);
void updateFitToWidthRatio(float v);
signals:
void fitToWidthRatioChanged(float value);
};
#endif