This commit is contained in:
touwoyimuli@gmail.com
2019-08-22 23:21:49 +08:00
parent fbf4d3583c
commit c66ea918b0
8 changed files with 213 additions and 0 deletions

View File

@@ -7,6 +7,7 @@ ExQSlider::ExQSlider(QWidget *parent) :
ui(new Ui::ExQSlider)
{
ui->setupUi(this);
setWindowTitle(QObject::tr("QSlider的用法"));
//设置QSlider的最大值为255 (默认范围为0~100)
ui->sliderRed->setMaximum(255);