mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
line 117: #define _WIN64 1 must be removed in ./compressed_archive/libp7zip/CPP/myWindows/StdAfx.h "cannot find -lpulse" compiling under Qt 5.0.2 can be fixed creating a symbolic link from libpulse.so.0 to libpulse.so (further research is needed)
30 lines
456 B
C++
30 lines
456 B
C++
#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
|