Skip to content

Commit

Permalink
fixed 25548 [alarm clock] turn on the alarm clock and select the coun…
Browse files Browse the repository at this point in the history
…tdown. The number of hour is 48, which is not easy to understand
  • Loading branch information
huayadong committed Dec 30, 2020
1 parent 3a7c48c commit 611f9ac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/plugins/ukui-clock/clock.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2337,7 +2337,7 @@ void Clock::alarmRepeat()
num= model->rowCount();
}
QPointF position = this->pos();//446
dialog_repeat->move(position.x()+88,position.y()+378);
dialog_repeat->move(position.x()+88,position.y()+381);
dialog_repeat->resize(280,270);
dialog_repeat->listWidget->setFixedSize(280,270);
dialog_repeat->setWindowFlags(Qt::FramelessWindowHint | Qt::Popup);
Expand Down Expand Up @@ -2528,7 +2528,7 @@ void Clock::selectAlarmMusic()
num= model->rowCount();

QPointF position = this->pos();
dialog_music->move(position.x()+88,position.y()+428);
dialog_music->move(position.x()+88,position.y()+431);
dialog_music->setWindowFlags(Qt::FramelessWindowHint | Qt::Popup);
dialog_music->setAttribute(Qt::WA_TranslucentBackground);
dialog_music->resize(280,129);
Expand Down Expand Up @@ -2592,7 +2592,7 @@ void Clock::timeMusic()
num= model->rowCount();

QPointF position = this->pos();
time_music->move(position.x()+88,position.y()+478);
time_music->move(position.x()+88,position.y()+481);
time_music->listWidget->setFixedSize(280,162);
time_music->setWindowFlags(Qt::FramelessWindowHint | Qt::Popup);
time_music->setAttribute(Qt::WA_TranslucentBackground);
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/ukui-clock/verticalScroll99.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
VerticalScroll_99::VerticalScroll_99(QWidget *parent) :
QWidget(parent),
m_minRange(0), //最小值默认为0 // The minimum value defaults to 0
m_maxRange(24), //最大值默认99 // Max default 24
m_maxRange(23), //最大值默认99 // Max default 24
m_currentValue(0), //当前值默认0 // Current value defaults to 0
isDragging(false),
m_deviation(0), //默认偏移量为0 // The default offset is 0
Expand Down

0 comments on commit 611f9ac

Please sign in to comment.