改进说明
parent
6d86d5e161
commit
f8f040eb5f
|
@ -28,7 +28,7 @@ public:
|
||||||
//样式颜色结构体
|
//样式颜色结构体
|
||||||
struct StyleColor {
|
struct StyleColor {
|
||||||
QString position; //位置 left right top bottom
|
QString position; //位置 left right top bottom
|
||||||
bool textBesideIcon; //文字在图标下面
|
bool textBesideIcon; //文字在图标左侧
|
||||||
|
|
||||||
quint32 iconSize; //图标字体尺寸
|
quint32 iconSize; //图标字体尺寸
|
||||||
quint32 iconWidth; //图标图片宽度
|
quint32 iconWidth; //图标图片宽度
|
||||||
|
|
|
@ -100,8 +100,8 @@ QString QUIHelper::appPath()
|
||||||
QString QUIHelper::getUuid()
|
QString QUIHelper::getUuid()
|
||||||
{
|
{
|
||||||
QString uuid = QUuid::createUuid().toString();
|
QString uuid = QUuid::createUuid().toString();
|
||||||
uuid = uuid.replace("{", "");
|
uuid.replace("{", "");
|
||||||
uuid = uuid.replace("}", "");
|
uuid.replace("}", "");
|
||||||
return uuid;
|
return uuid;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -219,8 +219,8 @@ bool QUIHelper::checkIniFile(const QString &iniFile)
|
||||||
bool ok = true;
|
bool ok = true;
|
||||||
while (!file.atEnd()) {
|
while (!file.atEnd()) {
|
||||||
QString line = file.readLine();
|
QString line = file.readLine();
|
||||||
line = line.replace("\r", "");
|
line.replace("\r", "");
|
||||||
line = line.replace("\n", "");
|
line.replace("\n", "");
|
||||||
QStringList list = line.split("=");
|
QStringList list = line.split("=");
|
||||||
|
|
||||||
if (list.count() == 2) {
|
if (list.count() == 2) {
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 10 KiB |
Binary file not shown.
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 13 KiB |
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue