added copying of two png images into publishercreator.cpp
authorjake
Tue, 22 Jun 2010 16:28:13 +0300
changeset 2 0c23d71853fe
parent 1 b1c4884ae18f
child 3 ec1db19b0e4b
added copying of two png images into publishercreator.cpp
WidgetGen.pro
WidgetGen.pro.user
mainwindow.cpp
publishercreator.cpp
--- a/WidgetGen.pro	Thu Jun 03 15:47:45 2010 +0300
+++ b/WidgetGen.pro	Tue Jun 22 16:28:13 2010 +0300
@@ -6,7 +6,7 @@
 
 QT       += core gui
 
-TARGET = WidgetGen
+TARGET = WidgetBuilder
 TEMPLATE = app
 
 
--- a/WidgetGen.pro.user	Thu Jun 03 15:47:45 2010 +0300
+++ b/WidgetGen.pro.user	Tue Jun 22 16:28:13 2010 +0300
@@ -15,7 +15,7 @@
   <valuemap type="QVariantMap">
    <value key="ProjectExplorer.ProjectConfiguration.DisplayName" type="QString">Qt Simulator</value>
    <value key="ProjectExplorer.ProjectConfiguration.Id" type="QString">Qt4ProjectManager.Target.QtSimulatorTarget</value>
-   <value key="ProjectExplorer.Target.ActiveBuildConfiguration" type="int">0</value>
+   <value key="ProjectExplorer.Target.ActiveBuildConfiguration" type="int">1</value>
    <value key="ProjectExplorer.Target.ActiveRunConfiguration" type="int">0</value>
    <valuemap key="ProjectExplorer.Target.BuildConfiguration.0" type="QVariantMap">
     <valuemap key="ProjectExplorer.BuildConfiguration.BuildStep.0" type="QVariantMap">
@@ -46,7 +46,7 @@
     <value key="ProjectExplorer.ProjectConfiguration.DisplayName" type="QString">Debug</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">F:/QT/tryouts/WidgetGen/WidgetGen-build-simulator</value>
+    <value key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory" type="QString">F:/QT/tryouts/widgetbuilder</value>
     <value key="Qt4ProjectManager.Qt4BuildConfiguration.QtVersionId" type="int">3</value>
     <value key="Qt4ProjectManager.Qt4BuildConfiguration.ToolChain" type="int">2</value>
     <value key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild" type="bool">true</value>
@@ -80,7 +80,7 @@
     <value key="ProjectExplorer.ProjectConfiguration.DisplayName" type="QString">Release</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">F:/QT/tryouts/WidgetGen/WidgetGen-build-simulator</value>
+    <value key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory" type="QString">F:/QT/tryouts/widgetbuilder</value>
     <value key="Qt4ProjectManager.Qt4BuildConfiguration.QtVersionId" type="int">3</value>
     <value key="Qt4ProjectManager.Qt4BuildConfiguration.ToolChain" type="int">2</value>
     <value key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild" type="bool">true</value>
--- a/mainwindow.cpp	Thu Jun 03 15:47:45 2010 +0300
+++ b/mainwindow.cpp	Tue Jun 22 16:28:13 2010 +0300
@@ -116,11 +116,11 @@
         RendererCreator * renderer = new RendererCreator(*this);
         delete renderer;
     }
-/*
+
     QMessageBox msgBox;
     msgBox.setText("Widget created.");
     msgBox.exec();
-    return;*/
+    return;
 }
 
 void MainWindow::generateMainBuildFile()
--- a/publishercreator.cpp	Thu Jun 03 15:47:45 2010 +0300
+++ b/publishercreator.cpp	Tue Jun 22 16:28:13 2010 +0300
@@ -50,6 +50,10 @@
                   iUi.widgetName() + "/testpublisher/gfx/cricket.png");
     QFile::copy ( "data/testpublisher/gfx/tennis.png",
                   iUi.widgetName() + "/testpublisher/gfx/tennis.png");
+    QFile::copy ( "data/testpublisher/gfx/rss.png",
+                  iUi.widgetName() + "/testpublisher/gfx/rss.png");
+    QFile::copy ( "data/testpublisher/gfx/rss_small.png",
+                  iUi.widgetName() + "/testpublisher/gfx/rss_small.png");
 
     dir.mkpath( iUi.widgetName() + "/testpublisher/group");
     QFile::copy ( "data/testpublisher/group/bld.inf",