Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
sfewfsaf
FdogMusicPlayer
提交
2744cda7
F
FdogMusicPlayer
项目概览
sfewfsaf
/
FdogMusicPlayer
与 Fork 源项目一致
Fork自
花狗Fdog / FdogMusicPlayer
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
F
FdogMusicPlayer
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
2744cda7
编写于
8月 16, 2020
作者:
花狗Fdog
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改歌词
上级
6173f5b9
变更
12
展开全部
隐藏空白更改
内联
并排
Showing
12 changed file
with
1036 addition
and
115 deletion
+1036
-115
debug/FdogMusicPlayer.exe
debug/FdogMusicPlayer.exe
+0
-0
debug/FdogMusicPlayer.ilk
debug/FdogMusicPlayer.ilk
+0
-0
debug/FdogMusicPlayer.pdb
debug/FdogMusicPlayer.pdb
+0
-0
debug/FdogMusicPlayer.vc.pdb
debug/FdogMusicPlayer.vc.pdb
+0
-0
debug/main.obj
debug/main.obj
+0
-0
debug/mainwindow.obj
debug/mainwindow.obj
+0
-0
debug/moc_mainwindow.obj
debug/moc_mainwindow.obj
+0
-0
mainwindow.cpp
mainwindow.cpp
+148
-41
mainwindow.cpp.autosave
mainwindow.cpp.autosave
+772
-0
mainwindow.h
mainwindow.h
+5
-0
mainwindow.ui
mainwindow.ui
+61
-41
ui_mainwindow.h
ui_mainwindow.h
+50
-33
未找到文件。
debug/FdogMusicPlayer.exe
浏览文件 @
2744cda7
无法预览此类型文件
debug/FdogMusicPlayer.ilk
浏览文件 @
2744cda7
无法预览此类型文件
debug/FdogMusicPlayer.pdb
浏览文件 @
2744cda7
无法预览此类型文件
debug/FdogMusicPlayer.vc.pdb
浏览文件 @
2744cda7
无法预览此类型文件
debug/main.obj
浏览文件 @
2744cda7
无法预览此类型文件
debug/mainwindow.obj
浏览文件 @
2744cda7
无法预览此类型文件
debug/moc_mainwindow.obj
浏览文件 @
2744cda7
无法预览此类型文件
mainwindow.cpp
浏览文件 @
2744cda7
...
...
@@ -15,7 +15,8 @@
#include<QUrl>
#include<QPixmap>
#include<QSize>
#include<QMapIterator>
#include<QRegExp>
#if _MSC_VER >= 1600
#pragma execution_character_set("utf-8")
#endif
...
...
@@ -29,6 +30,7 @@ MainWindow::MainWindow(QWidget *parent) :
playlist
=
new
QMediaPlaylist
(
this
);
playlist
->
setPlaybackMode
(
QMediaPlaylist
::
Sequential
);
player
->
setPlaylist
(
playlist
);
player
->
setNotifyInterval
(
1000
);
connect
(
player
,
SIGNAL
(
stateChanged
(
QMediaPlayer
::
State
)),
this
,
SLOT
(
onStateChanged
(
QMediaPlayer
::
State
)));
connect
(
player
,
SIGNAL
(
positionChanged
(
qint64
)),
...
...
@@ -277,20 +279,28 @@ void MainWindow::parseJsonSongInfo(QString json)
{
QString
s
=
play_lrcStr
;
QStringList
s1
=
s
.
split
(
"
\n
"
);
for
(
int
i
=
3
;
i
<
s1
.
size
();
i
++
)
for
(
int
i
=
3
;
i
<
s1
.
size
()
-
1
;
i
++
)
{
//时间解析
QString
s1
=
s1
.
at
(
i
);
QString
s_1
=
s1
.
mid
(
1
,
2
);
QString
s_2
=
s1
.
mid
(
4
,
2
);
QString
s_3
=
s1
.
mid
(
7
,
2
);
QString
s_4
=
s1
.
mid
(
10
);
int
lrctime
=
QString
(
s_1
+
s_2
+
s_3
).
toInt
();
QString
lrcstr
=
s1
.
mid
(
10
);
QString
ss1
=
s1
.
at
(
i
);
QRegExp
ipRegExp
=
QRegExp
(
"
\\
[
\\
d
\\
d
\\
S
\\
d
\\
d
\\
S
\\
d
\\
d
\\
]"
);
bool
match
=
ipRegExp
.
indexIn
(
ss1
);
//qDebug()<<match;
//qDebug()<<"字符串:"<<ss1;
if
(
match
==
false
)
{
//时间解析格式(分*60+秒)*100+厘秒
int
s_1
=
ss1
.
mid
(
1
,
2
).
toInt
();
//分
int
s_2
=
ss1
.
mid
(
4
,
2
).
toInt
();
//秒
int
s_3
=
ss1
.
mid
(
7
,
2
).
toInt
();
//厘秒
int
s_count
=
(
s_1
*
60
+
s_2
)
*
100
+
s_3
;
//规定写法
//QString str = s_1+s_2+s_3;
int
lrctime
=
s_count
;
qDebug
()
<<
"规定格式:"
<<
lrctime
;
qDebug
()
<<
"字符串:"
<<
ss1
;
QString
lrcstr
=
ss1
.
mid
(
10
);
lrcMap
.
insert
(
lrctime
,
lrcstr
);
}
}
//ui->lineEdit_5->setText(s1.at(0));
}
else
{
...
...
@@ -386,20 +396,6 @@ void MainWindow::onDurationChanged(qint64 duration)
secs
=
secs
%
60
;
durationTime
=
QString
::
asprintf
(
"%d:%d"
,
mins
,
secs
);
ui
->
label
->
setText
(
positionTime
+
"/"
+
durationTime
);
//歌词显示
//上部分
ui
->
label_6
->
setText
(
lrcMap
[
3
]);
ui
->
label_19
->
setText
(
lrcMap
[
4
]);
ui
->
label_20
->
setText
(
lrcMap
[
5
]);
ui
->
label_21
->
setText
(
lrcMap
[
6
]);
//中间句
ui
->
label_22
->
setText
(
lrcMap
[
7
]);
//下部分
ui
->
label_23
->
setText
(
lrcMap
[
8
]);
ui
->
label_24
->
setText
(
lrcMap
[
9
]);
ui
->
label_25
->
setText
(
lrcMap
[
10
]);
ui
->
label_26
->
setText
(
lrcMap
[
11
]);
ui
->
label_27
->
setText
(
lrcMap
[
12
]);
}
void
MainWindow
::
onPositionChanged
(
qint64
position
)
...
...
@@ -412,20 +408,132 @@ void MainWindow::onPositionChanged(qint64 position)
secs
=
secs
%
60
;
positionTime
=
QString
::
asprintf
(
"%d:%d"
,
mins
,
secs
);
ui
->
label
->
setText
(
positionTime
+
"/"
+
durationTime
);
// //歌词显示
// //上部分
// ui->label_6->setText();
// ui->label_19->setText();
// ui->label_20->setText();
// ui->label_21->setText();
// //中间句
// ui->label_22->setText();
// //下部分
// ui->label_23->setText();
// ui->label_24->setText();
// ui->label_25->setText();
// ui->label_26->setText();
// ui->label_27->setText();
//position/1000/60 = 分
//position/1000%60 = 秒
//position/10-(分*60+秒)*100=厘秒
//时间标签得法
//(分*60+秒)*100+厘秒
int
secs_lrc
=
position
/
10
;
// 1秒用100表示 100倍
int
mins_lrc
=
secs
/
60
;
//分
QString
s_min
=
QString
::
number
(
mins_lrc
);
secs_lrc
=
secs_lrc
%
60
;
//剩下的秒
if
(
secs_lrc
<=
10
)
{
QString
s_lrc
=
QString
::
number
(
secs_lrc
);
QString
s_str
=
"0"
+
s_lrc
;
}
int
shenxia_secs
=
position
-
mins_lrc
*
60
-
secs_lrc
;
qDebug
()
<<
"position"
<<
position
<<
endl
;
QMap
<
int
,
QString
>::
iterator
iter
=
lrcMap
.
begin
();
while
(
iter
!=
lrcMap
.
end
())
{
//中间
if
(
position
-
500
<=
iter
.
key
()
&&
position
+
500
>=
iter
.
key
())
{
ui
->
label_21
->
setText
(
iter
.
value
());
//未播放
if
(
iter
!=
lrcMap
.
end
())
{
iter
++
;
ui
->
label_22
->
setText
(
iter
.
value
());
}
else
{
ui
->
label_22
->
setText
(
""
);
return
;
}
if
(
iter
!=
lrcMap
.
end
())
{
iter
++
;
ui
->
label_23
->
setText
(
iter
.
value
());
}
else
{
ui
->
label_23
->
setText
(
""
);
return
;
}
if
(
iter
!=
lrcMap
.
end
())
{
iter
++
;
ui
->
label_24
->
setText
(
iter
.
value
());
}
else
{
ui
->
label_24
->
setText
(
""
);
return
;
}
if
(
iter
!=
lrcMap
.
end
())
{
iter
++
;
ui
->
label_25
->
setText
(
iter
.
value
());
}
else
{
ui
->
label_25
->
setText
(
""
);
return
;
}
if
(
iter
!=
lrcMap
.
end
())
{
iter
++
;
ui
->
label_26
->
setText
(
iter
.
value
());
}
else
{
ui
->
label_26
->
setText
(
""
);
return
;
}
if
(
iter
!=
lrcMap
.
end
())
{
iter
++
;
ui
->
label_27
->
setText
(
iter
.
value
());
}
else
{
ui
->
label_27
->
setText
(
""
);
return
;
}
}
iter
++
;
}
}
void
MainWindow
::
on_horizontalSlider_sliderReleased
()
{
...
...
@@ -520,7 +628,6 @@ void MainWindow::replyFinished(QNetworkReply *reply)
{
QByteArray
bytes
=
reply
->
readAll
();
//获取字节
QString
result
(
bytes
);
//转化为字符串
qDebug
()
<<
result
;
parseJson
(
result
);
}
else
...
...
mainwindow.cpp.autosave
0 → 100644
浏览文件 @
2744cda7
此差异已折叠。
点击以展开。
mainwindow.h
浏览文件 @
2744cda7
...
...
@@ -51,6 +51,11 @@ private:
QMap
<
int
,
QString
>
lrcMap
;
int
isnull
=
0
;
int
sum
=
0
;
int
sum_1
=
0
;
public:
explicit
MainWindow
(
QWidget
*
parent
=
0
);
...
...
mainwindow.ui
浏览文件 @
2744cda7
...
...
@@ -1185,14 +1185,14 @@ border-radius:4px;</string>
<rect>
<x>
0
</x>
<y>
0
</y>
<width>
9
2
1
</width>
<width>
9
3
1
</width>
<height>
571
</height>
</rect>
</property>
<property
name=
"styleSheet"
>
<string
notr=
"true"
>
#frame
{
border-image: url(:/lib/
timg (6)
.jpg);
border-image: url(:/lib/
4
.jpg);
}
</string>
</property>
<property
name=
"frameShape"
>
...
...
@@ -1204,14 +1204,23 @@ border-image: url(:/lib/timg (6).jpg);
<widget
class=
"QLabel"
name=
"label_6"
>
<property
name=
"geometry"
>
<rect>
<x>
2
7
0
</x>
<y>
3
0
</y>
<x>
2
6
0
</x>
<y>
2
0
</y>
<width>
361
</width>
<height>
3
1
</height>
<height>
4
1
</height>
</rect>
</property>
<property
name=
"font"
>
<font>
<pointsize>
-1
</pointsize>
<weight>
50
</weight>
<italic>
false
</italic>
<bold>
false
</bold>
</font>
</property>
<property
name=
"styleSheet"
>
<string
notr=
"true"
>
font:18px;
</string>
<string
notr=
"true"
>
font:22px;
background-color: rgba(255, 255, 255, 00);
</string>
</property>
<property
name=
"text"
>
<string/>
...
...
@@ -1223,14 +1232,15 @@ border-image: url(:/lib/timg (6).jpg);
<widget
class=
"QLabel"
name=
"label_19"
>
<property
name=
"geometry"
>
<rect>
<x>
2
7
0
</x>
<y>
8
0
</y>
<x>
2
6
0
</x>
<y>
7
0
</y>
<width>
361
</width>
<height>
3
1
</height>
<height>
4
1
</height>
</rect>
</property>
<property
name=
"styleSheet"
>
<string
notr=
"true"
>
font:18px;
</string>
<string
notr=
"true"
>
background-color: rgba(255, 255, 255, 00);
font:26px;
</string>
</property>
<property
name=
"text"
>
<string/>
...
...
@@ -1242,14 +1252,16 @@ border-image: url(:/lib/timg (6).jpg);
<widget
class=
"QLabel"
name=
"label_20"
>
<property
name=
"geometry"
>
<rect>
<x>
2
7
0
</x>
<y>
1
3
0
</y>
<x>
2
6
0
</x>
<y>
1
2
0
</y>
<width>
361
</width>
<height>
3
1
</height>
<height>
4
1
</height>
</rect>
</property>
<property
name=
"styleSheet"
>
<string
notr=
"true"
>
font:18px;
</string>
<string
notr=
"true"
>
background-color: rgba(255, 255, 255, 00);
font:28px;
</string>
</property>
<property
name=
"text"
>
<string/>
...
...
@@ -1261,14 +1273,16 @@ border-image: url(:/lib/timg (6).jpg);
<widget
class=
"QLabel"
name=
"label_21"
>
<property
name=
"geometry"
>
<rect>
<x>
2
7
0
</x>
<x>
2
6
0
</x>
<y>
180
</y>
<width>
361
</width>
<height>
3
1
</height>
<height>
4
1
</height>
</rect>
</property>
<property
name=
"styleSheet"
>
<string
notr=
"true"
>
font:18px;
</string>
<string
notr=
"true"
>
font:32px;
color: rgb(255, 85, 0);
background-color: rgba(255, 255, 255, 00);
</string>
</property>
<property
name=
"text"
>
<string/>
...
...
@@ -1280,14 +1294,15 @@ border-image: url(:/lib/timg (6).jpg);
<widget
class=
"QLabel"
name=
"label_22"
>
<property
name=
"geometry"
>
<rect>
<x>
2
7
0
</x>
<y>
2
3
0
</y>
<x>
2
6
0
</x>
<y>
2
4
0
</y>
<width>
361
</width>
<height>
3
1
</height>
<height>
4
1
</height>
</rect>
</property>
<property
name=
"styleSheet"
>
<string
notr=
"true"
>
font:18px;
</string>
<string
notr=
"true"
>
font:30px;
background-color: rgba(255, 255, 255, 00);
</string>
</property>
<property
name=
"text"
>
<string/>
...
...
@@ -1299,14 +1314,15 @@ border-image: url(:/lib/timg (6).jpg);
<widget
class=
"QLabel"
name=
"label_23"
>
<property
name=
"geometry"
>
<rect>
<x>
2
7
0
</x>
<y>
27
0
</y>
<x>
2
6
0
</x>
<y>
30
0
</y>
<width>
361
</width>
<height>
3
1
</height>
<height>
4
1
</height>
</rect>
</property>
<property
name=
"styleSheet"
>
<string
notr=
"true"
>
font:18px;
</string>
<string
notr=
"true"
>
font:28px;
background-color: rgba(255, 255, 255, 00);
</string>
</property>
<property
name=
"text"
>
<string/>
...
...
@@ -1318,14 +1334,15 @@ border-image: url(:/lib/timg (6).jpg);
<widget
class=
"QLabel"
name=
"label_24"
>
<property
name=
"geometry"
>
<rect>
<x>
2
7
0
</x>
<y>
3
2
0
</y>
<x>
2
6
0
</x>
<y>
3
6
0
</y>
<width>
361
</width>
<height>
3
1
</height>
<height>
4
1
</height>
</rect>
</property>
<property
name=
"styleSheet"
>
<string
notr=
"true"
>
font:18px;
</string>
<string
notr=
"true"
>
font:26px;
background-color: rgba(255, 255, 255, 00);
</string>
</property>
<property
name=
"text"
>
<string/>
...
...
@@ -1337,14 +1354,15 @@ border-image: url(:/lib/timg (6).jpg);
<widget
class=
"QLabel"
name=
"label_25"
>
<property
name=
"geometry"
>
<rect>
<x>
2
7
0
</x>
<y>
37
0
</y>
<x>
2
6
0
</x>
<y>
41
0
</y>
<width>
361
</width>
<height>
3
1
</height>
<height>
4
1
</height>
</rect>
</property>
<property
name=
"styleSheet"
>
<string
notr=
"true"
>
font:18px;
</string>
<string
notr=
"true"
>
font:24px;
background-color: rgba(255, 255, 255, 00);
</string>
</property>
<property
name=
"text"
>
<string/>
...
...
@@ -1356,14 +1374,15 @@ border-image: url(:/lib/timg (6).jpg);
<widget
class=
"QLabel"
name=
"label_26"
>
<property
name=
"geometry"
>
<rect>
<x>
2
7
0
</x>
<y>
4
2
0
</y>
<x>
2
6
0
</x>
<y>
4
6
0
</y>
<width>
361
</width>
<height>
3
1
</height>
<height>
4
1
</height>
</rect>
</property>
<property
name=
"styleSheet"
>
<string
notr=
"true"
>
font:18px;
</string>
<string
notr=
"true"
>
font:22px;
background-color: rgba(255, 255, 255, 00);
</string>
</property>
<property
name=
"text"
>
<string/>
...
...
@@ -1375,14 +1394,15 @@ border-image: url(:/lib/timg (6).jpg);
<widget
class=
"QLabel"
name=
"label_27"
>
<property
name=
"geometry"
>
<rect>
<x>
2
7
0
</x>
<y>
47
0
</y>
<x>
2
6
0
</x>
<y>
51
0
</y>
<width>
361
</width>
<height>
3
1
</height>
<height>
4
1
</height>
</rect>
</property>
<property
name=
"styleSheet"
>
<string
notr=
"true"
>
font:18px;
</string>
<string
notr=
"true"
>
font:20px;
background-color: rgba(255, 255, 255, 00);
</string>
</property>
<property
name=
"text"
>
<string/>
...
...
ui_mainwindow.h
浏览文件 @
2744cda7
...
...
@@ -613,62 +613,79 @@ public:
page
->
setObjectName
(
QStringLiteral
(
"page"
));
frame
=
new
QFrame
(
page
);
frame
->
setObjectName
(
QStringLiteral
(
"frame"
));
frame
->
setGeometry
(
QRect
(
0
,
0
,
9
2
1
,
571
));
frame
->
setGeometry
(
QRect
(
0
,
0
,
9
3
1
,
571
));
frame
->
setStyleSheet
(
QLatin1String
(
"#frame
\n
"
"{
\n
"
"border-image: url(:/lib/
timg (6)
.jpg);
\n
"
"border-image: url(:/lib/
4
.jpg);
\n
"
"}"
));
frame
->
setFrameShape
(
QFrame
::
StyledPanel
);
frame
->
setFrameShadow
(
QFrame
::
Raised
);
label_6
=
new
QLabel
(
frame
);
label_6
->
setObjectName
(
QStringLiteral
(
"label_6"
));
label_6
->
setGeometry
(
QRect
(
270
,
30
,
361
,
31
));
label_6
->
setStyleSheet
(
QStringLiteral
(
"font:18px;"
));
label_6
->
setGeometry
(
QRect
(
260
,
20
,
361
,
41
));
QFont
font3
;
font3
.
setBold
(
false
);
font3
.
setItalic
(
false
);
font3
.
setWeight
(
50
);
label_6
->
setFont
(
font3
);
label_6
->
setStyleSheet
(
QLatin1String
(
"font:22px;
\n
"
"background-color: rgba(255, 255, 255, 00);"
));
label_6
->
setAlignment
(
Qt
::
AlignCenter
);
label_19
=
new
QLabel
(
frame
);
label_19
->
setObjectName
(
QStringLiteral
(
"label_19"
));
label_19
->
setGeometry
(
QRect
(
270
,
80
,
361
,
31
));
label_19
->
setStyleSheet
(
QStringLiteral
(
"font:18px;"
));
label_19
->
setGeometry
(
QRect
(
260
,
70
,
361
,
41
));
label_19
->
setStyleSheet
(
QLatin1String
(
"background-color: rgba(255, 255, 255, 00);
\n
"
"font:26px;"
));
label_19
->
setAlignment
(
Qt
::
AlignCenter
);
label_20
=
new
QLabel
(
frame
);
label_20
->
setObjectName
(
QStringLiteral
(
"label_20"
));
label_20
->
setGeometry
(
QRect
(
270
,
130
,
361
,
31
));
label_20
->
setStyleSheet
(
QStringLiteral
(
"font:18px;"
));
label_20
->
setGeometry
(
QRect
(
260
,
120
,
361
,
41
));
label_20
->
setStyleSheet
(
QLatin1String
(
"
\n
"
"background-color: rgba(255, 255, 255, 00);
\n
"
"font:28px;"
));
label_20
->
setAlignment
(
Qt
::
AlignCenter
);
label_21
=
new
QLabel
(
frame
);
label_21
->
setObjectName
(
QStringLiteral
(
"label_21"
));
label_21
->
setGeometry
(
QRect
(
270
,
180
,
361
,
31
));
label_21
->
setStyleSheet
(
QStringLiteral
(
"font:18px;"
));
label_21
->
setGeometry
(
QRect
(
260
,
180
,
361
,
41
));
label_21
->
setStyleSheet
(
QLatin1String
(
"font:32px;
\n
"
"color: rgb(255, 85, 0);
\n
"
"background-color: rgba(255, 255, 255, 00);"
));
label_21
->
setAlignment
(
Qt
::
AlignCenter
);
label_22
=
new
QLabel
(
frame
);
label_22
->
setObjectName
(
QStringLiteral
(
"label_22"
));
label_22
->
setGeometry
(
QRect
(
270
,
230
,
361
,
31
));
label_22
->
setStyleSheet
(
QStringLiteral
(
"font:18px;"
));
label_22
->
setGeometry
(
QRect
(
260
,
240
,
361
,
41
));
label_22
->
setStyleSheet
(
QLatin1String
(
"font:30px;
\n
"
"background-color: rgba(255, 255, 255, 00);"
));
label_22
->
setAlignment
(
Qt
::
AlignCenter
);
label_23
=
new
QLabel
(
frame
);
label_23
->
setObjectName
(
QStringLiteral
(
"label_23"
));
label_23
->
setGeometry
(
QRect
(
270
,
270
,
361
,
31
));
label_23
->
setStyleSheet
(
QStringLiteral
(
"font:18px;"
));
label_23
->
setGeometry
(
QRect
(
260
,
300
,
361
,
41
));
label_23
->
setStyleSheet
(
QLatin1String
(
"font:28px;
\n
"
"background-color: rgba(255, 255, 255, 00);"
));
label_23
->
setAlignment
(
Qt
::
AlignCenter
);
label_24
=
new
QLabel
(
frame
);
label_24
->
setObjectName
(
QStringLiteral
(
"label_24"
));
label_24
->
setGeometry
(
QRect
(
270
,
320
,
361
,
31
));
label_24
->
setStyleSheet
(
QStringLiteral
(
"font:18px;"
));
label_24
->
setGeometry
(
QRect
(
260
,
360
,
361
,
41
));
label_24
->
setStyleSheet
(
QLatin1String
(
"font:26px;
\n
"
"background-color: rgba(255, 255, 255, 00);"
));
label_24
->
setAlignment
(
Qt
::
AlignCenter
);
label_25
=
new
QLabel
(
frame
);
label_25
->
setObjectName
(
QStringLiteral
(
"label_25"
));
label_25
->
setGeometry
(
QRect
(
270
,
370
,
361
,
31
));
label_25
->
setStyleSheet
(
QStringLiteral
(
"font:18px;"
));
label_25
->
setGeometry
(
QRect
(
260
,
410
,
361
,
41
));
label_25
->
setStyleSheet
(
QLatin1String
(
"font:24px;
\n
"
"background-color: rgba(255, 255, 255, 00);"
));
label_25
->
setAlignment
(
Qt
::
AlignCenter
);
label_26
=
new
QLabel
(
frame
);
label_26
->
setObjectName
(
QStringLiteral
(
"label_26"
));
label_26
->
setGeometry
(
QRect
(
270
,
420
,
361
,
31
));
label_26
->
setStyleSheet
(
QStringLiteral
(
"font:18px;"
));
label_26
->
setGeometry
(
QRect
(
260
,
460
,
361
,
41
));
label_26
->
setStyleSheet
(
QLatin1String
(
"font:22px;
\n
"
"background-color: rgba(255, 255, 255, 00);"
));
label_26
->
setAlignment
(
Qt
::
AlignCenter
);
label_27
=
new
QLabel
(
frame
);
label_27
->
setObjectName
(
QStringLiteral
(
"label_27"
));
label_27
->
setGeometry
(
QRect
(
270
,
470
,
361
,
31
));
label_27
->
setStyleSheet
(
QStringLiteral
(
"font:18px;"
));
label_27
->
setGeometry
(
QRect
(
260
,
510
,
361
,
41
));
label_27
->
setStyleSheet
(
QLatin1String
(
"font:20px;
\n
"
"background-color: rgba(255, 255, 255, 00);"
));
label_27
->
setAlignment
(
Qt
::
AlignCenter
);
stackedWidget
->
addWidget
(
page
);
page_2
=
new
QWidget
();
...
...
@@ -720,10 +737,10 @@ public:
tableWidget
->
setVerticalHeaderItem
(
14
,
__qtablewidgetitem19
);
tableWidget
->
setObjectName
(
QStringLiteral
(
"tableWidget"
));
tableWidget
->
setGeometry
(
QRect
(
0
,
0
,
921
,
581
));
QFont
font
3
;
font
3
.
setBold
(
true
);
font
3
.
setWeight
(
75
);
tableWidget
->
setFont
(
font
3
);
QFont
font
4
;
font
4
.
setBold
(
true
);
font
4
.
setWeight
(
75
);
tableWidget
->
setFont
(
font
4
);
tableWidget
->
setContextMenuPolicy
(
Qt
::
DefaultContextMenu
);
tableWidget
->
setStyleSheet
(
QString
::
fromUtf8
(
"QTableWidget{
\n
"
"background-color: rgb(116, 116, 116);
\n
"
...
...
@@ -781,13 +798,13 @@ public:
listWidget
=
new
QListWidget
(
page_4
);
listWidget
->
setObjectName
(
QStringLiteral
(
"listWidget"
));
listWidget
->
setGeometry
(
QRect
(
40
,
280
,
581
,
241
));
QFont
font
4
;
font
4
.
setFamily
(
QString
::
fromUtf8
(
"
\345\256\213\344\275\223
"
));
font
4
.
setPointSize
(
9
);
font
4
.
setBold
(
false
);
font
4
.
setItalic
(
false
);
font
4
.
setWeight
(
50
);
listWidget
->
setFont
(
font
4
);
QFont
font
5
;
font
5
.
setFamily
(
QString
::
fromUtf8
(
"
\345\256\213\344\275\223
"
));
font
5
.
setPointSize
(
9
);
font
5
.
setBold
(
false
);
font
5
.
setItalic
(
false
);
font
5
.
setWeight
(
50
);
listWidget
->
setFont
(
font
5
);
listWidget
->
setStyleSheet
(
QString
::
fromUtf8
(
"font: 9pt
\"\345\256\213\344\275\223\"
;"
));
listWidget
->
setFrameShape
(
QFrame
::
NoFrame
);
listWidget
->
setFrameShadow
(
QFrame
::
Plain
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录