<value key="ProjectExplorer.BuildConfiguration.BuildStepListCount" type="int">2</value>
<value key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment" type="bool">false</value>
<valuelist key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges" type="QVariantList"/>
- <value key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName" type="QString">Desktop Qt 4.7.3 for GCC (Qt SDK) Release</value>
+ <value key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName" type="QString">4.7.3 Desktop Release</value>
<value key="ProjectExplorer.ProjectConfiguration.DisplayName" type="QString"></value>
<value key="ProjectExplorer.ProjectConfiguration.Id" type="QString">Qt4ProjectManager.Qt4BuildConfiguration</value>
<value key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration" type="int">0</value>
- <value key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory" type="QString">/home/cuonglb/Garage/ba/lichvietwidget-build-desktop</value>
- <value key="Qt4ProjectManager.Qt4BuildConfiguration.QtVersionId" type="int">3</value>
+ <value key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory" type="QString">/home/cuonglb/Garage/lichvietwidget-build-desktop</value>
+ <value key="Qt4ProjectManager.Qt4BuildConfiguration.QtVersionId" type="int">6</value>
<value key="Qt4ProjectManager.Qt4BuildConfiguration.ToolChain" type="QString">ProjectExplorer.ToolChain.Gcc:/usr/bin/g++.x86-linux-generic-elf-64bit.</value>
<value key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild" type="bool">true</value>
</valuemap>
- <valuemap key="ProjectExplorer.Target.BuildConfiguration.1" type="QVariantMap">
- <value key="ProjectExplorer.BuildCOnfiguration.ToolChain" type="QString">ProjectExplorer.ToolChain.Gcc:/usr/bin/g++.x86-linux-generic-elf-64bit.</value>
- <valuemap key="ProjectExplorer.BuildConfiguration.BuildStepList.0" type="QVariantMap">
- <valuemap key="ProjectExplorer.BuildStepList.Step.0" type="QVariantMap">
- <value key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName" type="QString">qmake</value>
- <value key="ProjectExplorer.ProjectConfiguration.DisplayName" type="QString"></value>
- <value key="ProjectExplorer.ProjectConfiguration.Id" type="QString">QtProjectManager.QMakeBuildStep</value>
- <value key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary" type="bool">false</value>
- <value key="QtProjectManager.QMakeBuildStep.QMakeArguments" type="QString"></value>
- <value key="QtProjectManager.QMakeBuildStep.QMakeForced" type="bool">false</value>
- </valuemap>
- <valuemap key="ProjectExplorer.BuildStepList.Step.1" type="QVariantMap">
- <value key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName" type="QString">Make</value>
- <value key="ProjectExplorer.ProjectConfiguration.DisplayName" type="QString"></value>
- <value key="ProjectExplorer.ProjectConfiguration.Id" type="QString">Qt4ProjectManager.MakeStep</value>
- <value key="Qt4ProjectManager.MakeStep.Clean" type="bool">false</value>
- <value key="Qt4ProjectManager.MakeStep.MakeArguments" type="QString"></value>
- <value key="Qt4ProjectManager.MakeStep.MakeCommand" type="QString"></value>
- </valuemap>
- <value key="ProjectExplorer.BuildStepList.StepsCount" type="int">2</value>
- <value key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName" type="QString">Build</value>
- <value key="ProjectExplorer.ProjectConfiguration.DisplayName" type="QString"></value>
- <value key="ProjectExplorer.ProjectConfiguration.Id" type="QString">ProjectExplorer.BuildSteps.Build</value>
- </valuemap>
- <valuemap key="ProjectExplorer.BuildConfiguration.BuildStepList.1" type="QVariantMap">
- <valuemap key="ProjectExplorer.BuildStepList.Step.0" type="QVariantMap">
- <value key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName" type="QString">Make</value>
- <value key="ProjectExplorer.ProjectConfiguration.DisplayName" type="QString"></value>
- <value key="ProjectExplorer.ProjectConfiguration.Id" type="QString">Qt4ProjectManager.MakeStep</value>
- <value key="Qt4ProjectManager.MakeStep.Clean" type="bool">true</value>
- <value key="Qt4ProjectManager.MakeStep.MakeArguments" type="QString">clean</value>
- <value key="Qt4ProjectManager.MakeStep.MakeCommand" type="QString"></value>
- </valuemap>
- <value key="ProjectExplorer.BuildStepList.StepsCount" type="int">1</value>
- <value key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName" type="QString">Clean</value>
- <value key="ProjectExplorer.ProjectConfiguration.DisplayName" type="QString"></value>
- <value key="ProjectExplorer.ProjectConfiguration.Id" type="QString">ProjectExplorer.BuildSteps.Clean</value>
- </valuemap>
- <value key="ProjectExplorer.BuildConfiguration.BuildStepListCount" type="int">2</value>
- <value key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment" type="bool">false</value>
- <valuelist key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges" type="QVariantList"/>
- <value key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName" type="QString">Desktop Qt 4.7.3 for GCC (Qt SDK) Debug</value>
- <value key="ProjectExplorer.ProjectConfiguration.DisplayName" type="QString"></value>
- <value key="ProjectExplorer.ProjectConfiguration.Id" type="QString">Qt4ProjectManager.Qt4BuildConfiguration</value>
- <value key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration" type="int">2</value>
- <value key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory" type="QString">/home/cuonglb/Garage/ba/lichvietwidget-build-desktop</value>
- <value key="Qt4ProjectManager.Qt4BuildConfiguration.QtVersionId" type="int">3</value>
- <value key="Qt4ProjectManager.Qt4BuildConfiguration.ToolChain" type="QString">ProjectExplorer.ToolChain.Gcc:/usr/bin/g++.x86-linux-generic-elf-64bit.</value>
- <value key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild" type="bool">true</value>
- </valuemap>
- <value key="ProjectExplorer.Target.BuildConfigurationCount" type="int">2</value>
+ <value key="ProjectExplorer.Target.BuildConfigurationCount" type="int">1</value>
<valuemap key="ProjectExplorer.Target.DeployConfiguration.0" type="QVariantMap">
<valuemap key="ProjectExplorer.BuildConfiguration.BuildStepList.0" type="QVariantMap">
<value key="ProjectExplorer.BuildStepList.StepsCount" type="int">0</value>
<value key="ProjectExplorer.BuildConfiguration.BuildStepListCount" type="int">2</value>
<value key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment" type="bool">false</value>
<valuelist key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges" type="QVariantList"/>
- <value key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName" type="QString">Qt for Fremantle PR1.3 Devices (Qt SDK) Release</value>
+ <value key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName" type="QString">4.7.0 Release</value>
<value key="ProjectExplorer.ProjectConfiguration.DisplayName" type="QString"></value>
<value key="ProjectExplorer.ProjectConfiguration.Id" type="QString">Qt4ProjectManager.Qt4BuildConfiguration</value>
<value key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration" type="int">0</value>
<value key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory" type="QString">/home/cuonglb/Garage/lichvietwidget-build-maemo</value>
- <value key="Qt4ProjectManager.Qt4BuildConfiguration.QtVersionId" type="int">2</value>
+ <value key="Qt4ProjectManager.Qt4BuildConfiguration.QtVersionId" type="int">4</value>
<value key="Qt4ProjectManager.Qt4BuildConfiguration.ToolChain" type="QString">Qt4ProjectManager.ToolChain.Maemo:/opt/QtSDK_Maemo/Maemo/4.6.2/targets/fremantle-pr13/bin/gcc.arm-linux-generic-elf-32bit.</value>
<value key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild" type="bool">true</value>
</valuemap>
<value key="ProjectExplorer.BuildConfiguration.BuildStepListCount" type="int">2</value>
<value key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment" type="bool">false</value>
<valuelist key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges" type="QVariantList"/>
- <value key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName" type="QString">Qt for Fremantle PR1.3 Devices (Qt SDK) Debug</value>
- <value key="ProjectExplorer.ProjectConfiguration.DisplayName" type="QString"></value>
+ <value key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName" type="QString">4.7.0 Release</value>
+ <value key="ProjectExplorer.ProjectConfiguration.DisplayName" type="QString">4.7.0 Release2</value>
<value key="ProjectExplorer.ProjectConfiguration.Id" type="QString">Qt4ProjectManager.Qt4BuildConfiguration</value>
- <value key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration" type="int">2</value>
- <value key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory" type="QString">/home/cuonglb/Garage/ba/lichvietwidget-build-maemo</value>
- <value key="Qt4ProjectManager.Qt4BuildConfiguration.QtVersionId" type="int">2</value>
+ <value key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration" type="int">0</value>
+ <value key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory" type="QString">/home/cuonglb/Garage/lichvietwidget-build-maemo</value>
+ <value key="Qt4ProjectManager.Qt4BuildConfiguration.QtVersionId" type="int">4</value>
<value key="Qt4ProjectManager.Qt4BuildConfiguration.ToolChain" type="QString">Qt4ProjectManager.ToolChain.Maemo:/opt/QtSDK_Maemo/Maemo/4.6.2/targets/fremantle-pr13/bin/gcc.arm-linux-generic-elf-32bit.</value>
<value key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild" type="bool">true</value>
</valuemap>
Item {
id: lichvietwidget
- width: 344
- height: 200
+ width: 370
+ height: 140
Rectangle {
id: lvwidgetrec
radius: 8
opacity: 0.7
anchors.fill: parent
-
- Text {
- id: txt_title
- x: 133
- y: 169
- color: "#ffffff"
- text: "Lịch Việt"
- style: Text.Raised
- font.bold: true
- wrapMode: Text.WrapAnywhere
- verticalAlignment: Text.AlignVCenter
- horizontalAlignment: Text.AlignHCenter
- font.pixelSize: 18
- font.family: "Tahoma"
- }
}
Rectangle {
id: rectangle1
x: 5
y: 5
- width: 336
- height: 157
+ width: 362
+ height: 156
anchors.fill: parent
radius: 8
gradient: Gradient {
GradientStop {
position: 0
- color: "#000000"
- }
-
- GradientStop {
- position: 0.03
color: "#f0eef7"
}
}
smooth: true
z: 0
anchors.rightMargin: 5
- anchors.bottomMargin: 40
+ anchors.bottomMargin: 6
anchors.leftMargin: 5
anchors.topMargin: 5
border.color: "#6382c6"
border.width: 1
- opacity: 0.9
+ opacity: 0.7
Image {
id: day_left_img
- x: -5
- y: -1
- width: 100
- height: 100
+ x: 132
+ y: -2
+ width: 60
+ height: 75
source: "imgs/1.png"
- visible:false
+ visible:true
}
Image {
id: day_right_img
- x: 74
- y: -1
- width: 100
- height: 100
- visible: false
- source: "imgs/4.png"
+ x: 179
+ y: -2
+ width: 60
+ height: 75
+ visible: true
+ source: "imgs/0.png"
}
Image {
id: day_center_img
- x: 33
- y: -1
- width: 100
- height: 100
+ x: 157
+ y: -2
+ width: 60
+ height: 75
source: "imgs/4.png"
- visible: false
+ visible: true
}
Image {
id: month_right_img
- x: 245
- y: 5
- width: 50
- height: 47
+ x: 294
+ y: 2
+ width: 33
+ height: 35
+ visible: true
}
Image {
id: month_left_img
- x: 206
- y: 5
- width: 50
- height: 47
+ x: 265
+ y: 2
+ width: 34
+ height: 35
+ visible: true
}
Image {
id: year_1_img
- x: 167
- y: 45
- width: 50
- height: 47
+ x: 235
+ y: 32
+ width: 35
+ height: 35
}
Image {
id: year_2_img
- x: 206
- y: 45
- width: 50
- height: 47
+ x: 264
+ y: 32
+ width: 35
+ height: 35
}
Image {
id: year_3_img
- x: 245
- y: 45
- width: 50
- height: 47
+ x: 293
+ y: 32
+ width: 35
+ height: 35
}
Image {
id: year_4_img
- x: 284
- y: 45
- width: 50
- height: 47
+ x: 322
+ y: 32
+ width: 35
+ height: 35
}
Text {
id: txt_detail
- x: 62
- y: 99
- width: 205
- color: "#1a1d20"
+ x: 174
+ y: 68
+ color: "#0c0a4d"
text: ""
- verticalAlignment: Text.AlignVCenter
- wrapMode: Text.NoWrap
- style: Text.Normal
- font.family: "Tahoma"
+ anchors.horizontalCenterOffset: 0
+ font.family: "Nokia Sans"
+ verticalAlignment: Text.AlignTop
horizontalAlignment: Text.AlignHCenter
- font.pixelSize: 20
+ font.pointSize: 16
+ textFormat: Text.RichText
+ anchors.horizontalCenter: parent.horizontalCenter
+ }
+
+ Rectangle {
+ id: rectangle2
+ x: 4
+ y: 7
+ width: 131
+ height: 56
+ color: "#ffffff"
+ radius: 8
+ border.color: "#000000"
+
+ Text {
+ id: txt_thu
+ x: 5
+ y: 11
+ width: 121
+ text: ""
+ verticalAlignment: Text.AlignTop
+ style: Text.Normal
+ horizontalAlignment: Text.AlignHCenter
+ font.bold: true
+ font.pixelSize: 23
+ font.family: "Nokia Sans"
+ }
}
}
Timer {
interval: 1000; running: true; repeat: true
- onTriggered: Main.refresh(day_center_img, day_left_img, day_right_img, month_left_img, month_right_img, year_1_img, year_2_img,year_3_img,year_4_img, txt_detail)
+ onTriggered: Main.refresh(day_center_img, day_left_img, day_right_img, month_left_img, month_right_img, year_1_img, year_2_img,year_3_img,year_4_img, txt_detail, txt_thu)
}
}
connect(buttonBox, SIGNAL(rejected()), this, SLOT(reject()));
tabWidget = new QTabWidget;
- tabWidget ->addTab(new GeneralTab(), QString::fromUtf8("Hiển Thị "));
- tabWidget ->addTab(new ThemeTab(), QString::fromUtf8("Kiểu Mẫu Widget"));
+ tabWidget ->addTab(new ThemeTab(), QString::fromUtf8("Mẫu widget"));
+ tabWidget ->addTab(new GeneralTab(), QString::fromUtf8("Giới thiệu"));
mainLayout = new QGridLayout(this);
mainLayout->addWidget(tabWidget,0,0,1,1);
mainLayout->addWidget(buttonBox,0,1,1,1);
+
\
this->setLayout(mainLayout);
: QWidget(parent)
{
themes = new QListWidget(this);
- themes->addItem(new QListWidgetItem( QString::fromUtf8("Mặc định (344 x 200) pixel.")));
- themes->addItem(new QListWidgetItem( QString::fromUtf8("Lớn (430 x 500) pixel.")));
+ themes->addItem(new QListWidgetItem( QString::fromUtf8("Mặc định")));
+ themes->addItem(new QListWidgetItem( QString::fromUtf8("Vừa phải")));
+ themes->addItem(new QListWidgetItem( QString::fromUtf8("Lớn")));
+
mainLayout = new QVBoxLayout;
mainLayout->addWidget(themes);
setLayout(mainLayout);