This commit is contained in:
朱子楚\zhuzi 2023-09-26 20:57:52 +08:00
parent 7723ac97fb
commit 9354b8c0bf
7 changed files with 20 additions and 2 deletions

View File

@ -35,6 +35,6 @@ void SettingsHelper::init(char *argv[]){
const QFileInfo fileInfo(applicationPath); const QFileInfo fileInfo(applicationPath);
const QString iniFileName = fileInfo.completeBaseName() + ".ini"; const QString iniFileName = fileInfo.completeBaseName() + ".ini";
const QString iniFilePath = fileInfo.dir().path() + "/" + iniFileName; const QString iniFilePath = fileInfo.dir().path() + "/" + iniFileName;
qDebug()<<iniFilePath; qDebug()<<"Application configuration file path->"<<iniFilePath;
m_settings.reset(new QSettings(iniFilePath, QSettings::IniFormat)); m_settings.reset(new QSettings(iniFilePath, QSettings::IniFormat));
} }

View File

@ -24,6 +24,9 @@ FluPopup {
anchors.fill: parent anchors.fill: parent
color: 'transparent' color: 'transparent'
radius:5 radius:5
FluShadow{
radius: 5
}
FluText{ FluText{
id:text_title id:text_title
font: FluTextStyle.TitleLarge font: FluTextStyle.TitleLarge

View File

@ -125,6 +125,9 @@ FluObject {
return "#FFFFFF" return "#FFFFFF"
} }
} }
FluShadow{
radius: 4
}
radius: 4 radius: 4
border.width: 1 border.width: 1
border.color: { border.color: {

View File

@ -60,7 +60,7 @@ Popup{
return d.window.height return d.window.height
return 0 return 0
} }
property var pos: Qt.point(0,0) property point pos: Qt.point(0,0)
property var step : steps[index] property var step : steps[index]
property var target : step.target() property var target : step.target()
} }
@ -123,6 +123,9 @@ Popup{
x: Math.min(Math.max(0,d.pos.x+d.target.width/2-width/2),d.windowWidth-width) x: Math.min(Math.max(0,d.pos.x+d.target.width/2-width/2),d.windowWidth-width)
y: d.pos.y+d.target.height+control.targetMargins + 15 y: d.pos.y+d.target.height+control.targetMargins + 15
border.width: 0 border.width: 0
FluShadow{
radius: 5
}
FluText{ FluText{
text: d.step.title text: d.step.title
font: FluTextStyle.BodyStrong font: FluTextStyle.BodyStrong

View File

@ -24,6 +24,9 @@ FluPopup {
anchors.fill: parent anchors.fill: parent
color: 'transparent' color: 'transparent'
radius:5 radius:5
FluShadow{
radius: 5
}
FluText{ FluText{
id:text_title id:text_title
font: FluTextStyle.TitleLarge font: FluTextStyle.TitleLarge

View File

@ -125,6 +125,9 @@ FluObject {
return "#FFFFFF" return "#FFFFFF"
} }
} }
FluShadow{
radius: 4
}
radius: 4 radius: 4
border.width: 1 border.width: 1
border.color: { border.color: {

View File

@ -112,6 +112,9 @@ Popup{
x: Math.min(Math.max(0,d.pos.x+d.target.width/2-width/2),d.window?.width-width) x: Math.min(Math.max(0,d.pos.x+d.target.width/2-width/2),d.window?.width-width)
y: d.pos.y+d.target.height+control.targetMargins + 15 y: d.pos.y+d.target.height+control.targetMargins + 15
border.width: 0 border.width: 0
FluShadow{
radius: 5
}
FluText{ FluText{
text: d.step.title text: d.step.title
font: FluTextStyle.BodyStrong font: FluTextStyle.BodyStrong