Some work about adaptive color scheme for Web UI (PR #19901)
http://[316:c51a:62a3:8b9::4]/d4708/qBittorrent/src/branch/adaptive-webui
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
528 B
31 lines
528 B
#ifndef UPDOWNRATIODLG_H |
|
#define UPDOWNRATIODLG_H |
|
|
|
#include <QtGui/QDialog> |
|
|
|
QT_BEGIN_NAMESPACE |
|
namespace Ui { |
|
class UpDownRatioDlg; |
|
} |
|
QT_END_NAMESPACE |
|
|
|
class UpDownRatioDlg : public QDialog |
|
{ |
|
Q_OBJECT |
|
|
|
public: |
|
explicit UpDownRatioDlg(bool useDefault, qreal initialValue, qreal maxValue, |
|
QWidget *parent = 0); |
|
~UpDownRatioDlg(); |
|
|
|
bool useDefault() const; |
|
qreal ratio() const; |
|
|
|
private slots: |
|
void handleRatioTypeChanged(); |
|
|
|
private: |
|
Ui::UpDownRatioDlg *ui; |
|
}; |
|
|
|
#endif // UPDOWNRATIODLG_H
|
|
|