Go to the documentation of this file.00001 #ifndef DROP_RATE_WIDGET_H
00002 #define DROP_RATE_WIDGET_H
00003
00013 #include "ui_DropRateWidgetForm.h"
00014 #include <memory>
00015
00016
00017 class DropRateWidget :
00018 public QWidget, private Ui::DropRateWidgetForm
00019 {
00020 Q_OBJECT;
00021
00022 DropRateWidget(const DropRateWidget& rhs);
00023 DropRateWidget& operator = (const DropRateWidget& rhs);
00024
00025 struct pImpl;
00026 std::auto_ptr<pImpl> pimpl;
00027
00028 public:
00029 DropRateWidget(QWidget* parent = 0);
00030 ~DropRateWidget(void);
00031
00032 void setEnabled(bool enable);
00033 void setDropRate(size_t percent);
00034 };
00035
00036 #endif