mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 21:14:33 -04:00
ficheros de c?digo fuente "width_slider" a?adidos al repositorio (se habian olvidado)
This commit is contained in:
27
YACReader/width_slider.h
Normal file
27
YACReader/width_slider.h
Normal file
@ -0,0 +1,27 @@
|
||||
#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);
|
||||
|
||||
|
||||
signals:
|
||||
void fitToWidthRatioChanged(float value);
|
||||
};
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user