!28 close-cd: #I7E19L 【设计走查】弹窗没有居中
Merge pull request !28 from 刘佳阳/openkylin/yangtze
This commit is contained in:
commit
8053db5935
|
@ -1,3 +1,4 @@
|
|||
moc_*.cpp
|
||||
*.o
|
||||
*.user
|
||||
translations/kylin-music_zh_CN.qm
|
||||
|
|
|
@ -280,6 +280,8 @@ void SideBarWidget::getPlayListName()
|
|||
void SideBarWidget::addPlayList()
|
||||
{
|
||||
newSonglistPup->enterLineEdit->clear();
|
||||
QRect availableGeometry = Widget::mutual->geometry();
|
||||
newSonglistPup->move(availableGeometry.center() - newSonglistPup->rect().center());
|
||||
newSonglistPup->show();
|
||||
newSonglistPup->enterLineEdit->setFocus();
|
||||
}
|
||||
|
@ -370,6 +372,8 @@ void SideBarWidget::rename(QString text)
|
|||
{
|
||||
btnText = text;
|
||||
renameSongListPup->enterLineEdit->clear();
|
||||
QRect availableGeometry = Widget::mutual->geometry();
|
||||
renameSongListPup->move(availableGeometry.center() - renameSongListPup->rect().center());
|
||||
renameSongListPup->show();
|
||||
renameSongListPup->enterLineEdit->setFocus();
|
||||
}
|
||||
|
|
|
@ -367,6 +367,8 @@ void TableOne::isDeleteSongs()
|
|||
//确认将选中的歌曲从歌单中删除?
|
||||
QMessageBox *warn = new QMessageBox(QMessageBox::Warning,tr("Prompt information"),tr("Confirm that the selected song will be deleted from the song list?"),QMessageBox::Yes | QMessageBox::No,Widget::mutual);
|
||||
warn->setWindowTitle(tr("kylin-music"));
|
||||
QRect availableGeometry = parentWidget()->geometry();
|
||||
warn->move((availableGeometry.center() - warn->rect().center()));
|
||||
warn->button(QMessageBox::Yes)->setText(tr("Yes"));
|
||||
warn->button(QMessageBox::No)->setText(tr("No"));
|
||||
int result = warn->exec();
|
||||
|
@ -393,6 +395,8 @@ void TableOne::isDeleteLocalSongs()
|
|||
|
||||
//歌曲从本地删除后不可恢复,是否确定删除?
|
||||
QMessageBox *warn = new QMessageBox(QMessageBox::Warning,tr("Prompt information"),tr("After the song is deleted from the local, it cannot be resumed. Is it sure to delete?"),QMessageBox::Yes | QMessageBox::No,Widget::mutual);
|
||||
QRect availableGeometry = parentWidget()->geometry();
|
||||
warn->move(availableGeometry.center() - warn->rect().center());
|
||||
warn->button(QMessageBox::Yes)->setText(tr("Yes"));
|
||||
warn->button(QMessageBox::No)->setText(tr("No"));
|
||||
int result = warn->exec();
|
||||
|
|
1
clear.sh
1
clear.sh
|
@ -12,4 +12,5 @@ rm -rf kylin-music-plugins-simple/build/ \
|
|||
debian/kylin-music.debhelper.log \
|
||||
debian/kylin-music.substvars \
|
||||
debian/kylin-music/ \
|
||||
translations/*.qm \
|
||||
kylin-music
|
||||
|
|
|
@ -1,3 +1,12 @@
|
|||
kylin-music (1.1.0.47-ok6~0732) yangtze; urgency=medium
|
||||
|
||||
* [BUG]
|
||||
- close-cd: #I7E19L 【设计走查】弹窗没有居中
|
||||
|
||||
* 其他: 无
|
||||
|
||||
-- liujiayang <liujiayang@kylinos.cn> Wed, 30 Aug 2023 15:34:51 +0800
|
||||
|
||||
kylin-music (1.1.0.47-ok6~0731) yangtze; urgency=medium
|
||||
|
||||
* [BUG]
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue