#include <QLabel>
#include <QProgressBar>
-class QValidator;
-class QToolButton;
-class QLineEdit;
class QAction;
class QMenu;
class KSelectAction;
{
Q_OBJECT
public:
- CustomLabel(const QString &label, bool showSlider = true, int range = 1000, QWidget *parent = 0);
+ explicit CustomLabel(const QString &label, bool showSlider = true, int range = 1000, QWidget *parent = 0);
void setProgressValue(double value);
void setStep(double step);
* @param suffix The suffix that will be displayed in the spinbox (for example '%')
* @param showSlider If disabled, user can still drag on the label but no progress bar is shown
*/
- DragValue(const QString &label, double defaultValue, int decimals, double min = 0, double max = 100, int id = -1, const QString suffix = QString(), bool showSlider = true, QWidget* parent = 0);
+ explicit DragValue(const QString &label, double defaultValue, int decimals, double min = 0, double max = 100, int id = -1, const QString &suffix = QString(), bool showSlider = true, QWidget* parent = 0);
virtual ~DragValue();
/** @brief Returns the precision = number of decimals */