Begin groundwork on downloading from ldraw.org

Fri, 02 Aug 2013 18:39:41 +0300

author
Santeri Piippo <crimsondusk64@gmail.com>
date
Fri, 02 Aug 2013 18:39:41 +0300
changeset 425
6bdf2b3f4e00
parent 424
3b9cd65c8f59
child 426
be5746bf0f12

Begin groundwork on downloading from ldraw.org

src/actions.h file | annotate | diff | comparison | revisions
src/src.pro file | annotate | diff | comparison | revisions
src/ui/ldforge.ui file | annotate | diff | comparison | revisions
--- a/src/actions.h	Fri Aug 02 16:46:50 2013 +0300
+++ b/src/actions.h	Fri Aug 02 18:39:41 2013 +0300
@@ -1,6 +1,7 @@
 act (New)
 act (NewFile)
 act (Open)
+act (DownloadFrom)
 act (Save)
 act (SaveAs)
 act (SaveAll)
--- a/src/src.pro	Fri Aug 02 16:46:50 2013 +0300
+++ b/src/src.pro	Fri Aug 02 18:39:41 2013 +0300
@@ -10,7 +10,7 @@
 SOURCES         = *.cpp
 HEADERS         = *.h
 FORMS           = ui/*.ui
-QT             += opengl
+QT             += opengl network
 QMAKE_CXXFLAGS += -std=c++0x
 
 unix {
--- a/src/ui/ldforge.ui	Fri Aug 02 16:46:50 2013 +0300
+++ b/src/ui/ldforge.ui	Fri Aug 02 18:39:41 2013 +0300
@@ -94,6 +94,8 @@
     <addaction name="actionSaveAs"/>
     <addaction name="actionSaveAll"/>
     <addaction name="separator"/>
+    <addaction name="actionDownloadFrom"/>
+    <addaction name="separator"/>
     <addaction name="actionClose"/>
     <addaction name="actionCloseAll"/>
     <addaction name="separator"/>
@@ -1257,6 +1259,11 @@
     <string>New File</string>
    </property>
   </action>
+  <action name="actionDownloadFrom">
+   <property name="text">
+    <string>Download From...</string>
+   </property>
+  </action>
  </widget>
  <resources>
   <include location="../../ldforge.qrc"/>

mercurial