mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-11-30 07:03:46 +08:00
update
This commit is contained in:
parent
7723ac97fb
commit
9354b8c0bf
@ -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));
|
||||||
}
|
}
|
||||||
|
@ -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
|
||||||
|
@ -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: {
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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: {
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user