gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r5835 - in GNUnet/src/setup: . qt qt/pixmaps


From: gnunet
Subject: [GNUnet-SVN] r5835 - in GNUnet/src/setup: . qt qt/pixmaps
Date: Sun, 9 Dec 2007 15:21:50 -0700 (MST)

Author: durner
Date: 2007-12-09 15:21:50 -0700 (Sun, 09 Dec 2007)
New Revision: 5835

Added:
   GNUnet/src/setup/qt/
   GNUnet/src/setup/qt/enhanced.ui
   GNUnet/src/setup/qt/gnunet-setup.ui
   GNUnet/src/setup/qt/pixmaps/
   GNUnet/src/setup/qt/pixmaps/about.png
   GNUnet/src/setup/qt/pixmaps/close.png
   GNUnet/src/setup/qt/pixmaps/exit.png
   GNUnet/src/setup/qt/pixmaps/gnunet-logo-small.png
   GNUnet/src/setup/qt/pixmaps/go-next.png
   GNUnet/src/setup/qt/pixmaps/go-previous.png
   GNUnet/src/setup/qt/pixmaps/media-floppy.png
   GNUnet/src/setup/qt/pixmaps/pixmaps.qrc
   GNUnet/src/setup/qt/pixmaps/sect-apps.png
   GNUnet/src/setup/qt/pixmaps/sect-general.png
   GNUnet/src/setup/qt/pixmaps/sect-load.png
   GNUnet/src/setup/qt/pixmaps/sect-log.png
   GNUnet/src/setup/qt/pixmaps/sect-meta.png
   GNUnet/src/setup/qt/pixmaps/sect-modules.png
   GNUnet/src/setup/qt/pixmaps/sect-paths.png
   GNUnet/src/setup/qt/pixmaps/sect-transports.png
   GNUnet/src/setup/qt/qt.pro
   GNUnet/src/setup/qt/qt.pro.in
   GNUnet/src/setup/qt/qtconfig.cc
   GNUnet/src/setup/qt/setupWizard.cc
   GNUnet/src/setup/qt/setupWizard.h
   GNUnet/src/setup/qt/ui_enhanced.h
   GNUnet/src/setup/qt/ui_gnunet-setup.h
Modified:
   GNUnet/src/setup/Makefile.am
   GNUnet/src/setup/gnunet-setup.c
Log:
import Qt frontend (doesn't work yet)

Modified: GNUnet/src/setup/Makefile.am
===================================================================
--- GNUnet/src/setup/Makefile.am        2007-12-09 21:51:34 UTC (rev 5834)
+++ GNUnet/src/setup/Makefile.am        2007-12-09 22:21:50 UTC (rev 5835)
@@ -3,6 +3,9 @@
 if HAVE_GTK
  gtk_dir = gtk
 endif
+if HAVE_QT
+ qt_dir = qt
+endif
 if HAVE_DIALOG
  curses_dir = ncurses
 endif
@@ -11,7 +14,7 @@
  textdir=text
 endif
 
-SUBDIRS = lib $(textdir) . $(curses_dir) $(gtk_dir) .
+SUBDIRS = lib $(textdir) . $(curses_dir) $(gtk_dir) $(qt_dir) .
 
 plugindir = $(libdir)/GNUnet
 

Modified: GNUnet/src/setup/gnunet-setup.c
===================================================================
--- GNUnet/src/setup/gnunet-setup.c     2007-12-09 21:51:34 UTC (rev 5834)
+++ GNUnet/src/setup/gnunet-setup.c     2007-12-09 22:21:50 UTC (rev 5835)
@@ -159,6 +159,19 @@
   ConfigurationPluginMain mptr;
   struct GNUNET_PluginHandle *library;
 
+#ifdef MINGW
+  if (strcmp(module, "setup_qt") == 0)
+    {
+      char sz[1000];
+      int i;
+      
+      plibc_conv_to_win_path("/bin/gnunetsetup_qt ", sz);
+      for (i = 1; i < argc; i++)
+        strncat(sz, argv[i], 1000);
+      return system(sz) != -1 ? GNUNET_YES : GNUNET_NO;
+    }
+#endif
+
   library = GNUNET_plugin_load (ectx, "libgnunet", module);
   if (!library)
     return GNUNET_SYSERR;
@@ -193,6 +206,7 @@
   "config", "setup_text", "main_",
   "wizard-curses", "setup_curses", "wizard_curs_main",
   "wizard-gtk", "setup_gtk", "gtk_wizard_main",
+  "wizard-qt", "setup_qt", "qt_wizard_main",
   "generate-defaults", "setup_text", "dump_",
   NULL,
 };

Added: GNUnet/src/setup/qt/enhanced.ui
===================================================================
--- GNUnet/src/setup/qt/enhanced.ui                             (rev 0)
+++ GNUnet/src/setup/qt/enhanced.ui     2007-12-09 22:21:50 UTC (rev 5835)
@@ -0,0 +1,206 @@
+<ui version="4.0" >
+ <class>MainWindow</class>
+ <widget class="QMainWindow" name="MainWindow" >
+  <property name="geometry" >
+   <rect>
+    <x>0</x>
+    <y>0</y>
+    <width>640</width>
+    <height>480</height>
+   </rect>
+  </property>
+  <property name="windowTitle" >
+   <string>gnunet-setup</string>
+  </property>
+  <property name="windowIcon" >
+   <iconset resource="pixmaps/pixmaps.qrc" 
>:/pixmaps/gnunet-logo-small.png</iconset>
+  </property>
+  <widget class="QWidget" name="centralwidget" >
+   <layout class="QVBoxLayout" >
+    <property name="margin" >
+     <number>9</number>
+    </property>
+    <property name="spacing" >
+     <number>6</number>
+    </property>
+    <item>
+     <widget class="QSplitter" name="splitter_2" >
+      <property name="orientation" >
+       <enum>Qt::Horizontal</enum>
+      </property>
+      <widget class="QListWidget" name="listWidget" >
+       <property name="maximumSize" >
+        <size>
+         <width>140</width>
+         <height>16777215</height>
+        </size>
+       </property>
+       <property name="iconSize" >
+        <size>
+         <width>96</width>
+         <height>84</height>
+        </size>
+       </property>
+       <property name="verticalScrollMode" >
+        <enum>QAbstractItemView::ScrollPerPixel</enum>
+       </property>
+       <property name="movement" >
+        <enum>QListView::Static</enum>
+       </property>
+       <property name="spacing" >
+        <number>12</number>
+       </property>
+       <property name="viewMode" >
+        <enum>QListView::IconMode</enum>
+       </property>
+       <item>
+        <property name="text" >
+         <string>Meta-configuration</string>
+        </property>
+        <property name="icon" >
+         <iconset resource="pixmaps/pixmaps.qrc" 
>:/pixmaps/sect-meta.png</iconset>
+        </property>
+       </item>
+       <item>
+        <property name="text" >
+         <string>Path settings</string>
+        </property>
+        <property name="icon" >
+         <iconset resource="pixmaps/pixmaps.qrc" 
>:/pixmaps/sect-paths.png</iconset>
+        </property>
+       </item>
+       <item>
+        <property name="text" >
+         <string>General settings</string>
+        </property>
+        <property name="icon" >
+         <iconset resource="pixmaps/pixmaps.qrc" 
>:/pixmaps/sect-general.png</iconset>
+        </property>
+       </item>
+       <item>
+        <property name="text" >
+         <string>Logging system</string>
+        </property>
+        <property name="icon" >
+         <iconset resource="pixmaps/pixmaps.qrc" 
>:/pixmaps/sect-log.png</iconset>
+        </property>
+       </item>
+       <item>
+        <property name="text" >
+         <string>Load management</string>
+        </property>
+        <property name="icon" >
+         <iconset resource="pixmaps/pixmaps.qrc" 
>:/pixmaps/sect-load.png</iconset>
+        </property>
+       </item>
+       <item>
+        <property name="text" >
+         <string>Modules</string>
+        </property>
+        <property name="icon" >
+         <iconset resource="pixmaps/pixmaps.qrc" 
>:/pixmaps/sect-modules.png</iconset>
+        </property>
+       </item>
+       <item>
+        <property name="text" >
+         <string>Transports</string>
+        </property>
+        <property name="icon" >
+         <iconset resource="pixmaps/pixmaps.qrc" 
>:/pixmaps/sect-transports.png</iconset>
+        </property>
+       </item>
+       <item>
+        <property name="text" >
+         <string>Applications</string>
+        </property>
+        <property name="icon" >
+         <iconset resource="pixmaps/pixmaps.qrc" 
>:/pixmaps/sect-apps.png</iconset>
+        </property>
+       </item>
+      </widget>
+      <widget class="QSplitter" name="splitter" >
+       <property name="orientation" >
+        <enum>Qt::Vertical</enum>
+       </property>
+       <widget class="QTreeView" name="treeView" />
+       <widget class="QTextBrowser" name="textBrowser" >
+        <property name="sizePolicy" >
+         <sizepolicy>
+          <hsizetype>7</hsizetype>
+          <vsizetype>0</vsizetype>
+          <horstretch>0</horstretch>
+          <verstretch>0</verstretch>
+         </sizepolicy>
+        </property>
+        <property name="maximumSize" >
+         <size>
+          <width>16777215</width>
+          <height>150</height>
+         </size>
+        </property>
+       </widget>
+      </widget>
+     </widget>
+    </item>
+   </layout>
+  </widget>
+  <widget class="QMenuBar" name="menubar" >
+   <property name="geometry" >
+    <rect>
+     <x>0</x>
+     <y>0</y>
+     <width>640</width>
+     <height>21</height>
+    </rect>
+   </property>
+   <widget class="QMenu" name="menuFile" >
+    <property name="title" >
+     <string>File</string>
+    </property>
+    <addaction name="actionSave" />
+   </widget>
+   <addaction name="menuFile" />
+  </widget>
+  <widget class="QStatusBar" name="statusbar" />
+  <widget class="QToolBar" name="toolBar" >
+   <property name="orientation" >
+    <enum>Qt::Horizontal</enum>
+   </property>
+   <attribute name="toolBarArea" >
+    <number>4</number>
+   </attribute>
+   <addaction name="actionSave" />
+   <addaction name="actionAbout" />
+   <addaction name="actionExit" />
+  </widget>
+  <action name="actionSave" >
+   <property name="icon" >
+    <iconset resource="pixmaps/pixmaps.qrc" 
>:/pixmaps/media-floppy.png</iconset>
+   </property>
+   <property name="text" >
+    <string>Save</string>
+   </property>
+  </action>
+  <action name="actionAbout" >
+   <property name="icon" >
+    <iconset resource="pixmaps/pixmaps.qrc" >:/pixmaps/about.png</iconset>
+   </property>
+   <property name="text" >
+    <string>About</string>
+   </property>
+  </action>
+  <action name="actionExit" >
+   <property name="icon" >
+    <iconset resource="pixmaps/pixmaps.qrc" >:/pixmaps/exit.png</iconset>
+   </property>
+   <property name="text" >
+    <string>Exit</string>
+   </property>
+  </action>
+ </widget>
+ <resources>
+  <include location="../../../../gnunet-qt/pixmaps/pixmaps.qrc" />
+  <include location="pixmaps/pixmaps.qrc" />
+ </resources>
+ <connections/>
+</ui>

Added: GNUnet/src/setup/qt/gnunet-setup.ui
===================================================================
--- GNUnet/src/setup/qt/gnunet-setup.ui                         (rev 0)
+++ GNUnet/src/setup/qt/gnunet-setup.ui 2007-12-09 22:21:50 UTC (rev 5835)
@@ -0,0 +1,1035 @@
+<ui version="4.0" >
+ <author></author>
+ <comment></comment>
+ <exportmacro></exportmacro>
+ <class>SetupWizard</class>
+ <widget class="QWidget" name="SetupWizard" >
+  <property name="geometry" >
+   <rect>
+    <x>0</x>
+    <y>0</y>
+    <width>640</width>
+    <height>480</height>
+   </rect>
+  </property>
+  <property name="windowTitle" >
+   <string>GNUnet setup</string>
+  </property>
+  <property name="windowIcon" >
+   <iconset resource="pixmaps/pixmaps.qrc" 
>:/pixmaps/gnunet-logo-small.png</iconset>
+  </property>
+  <layout class="QVBoxLayout" >
+   <property name="margin" >
+    <number>9</number>
+   </property>
+   <property name="spacing" >
+    <number>6</number>
+   </property>
+   <item>
+    <widget class="QStackedWidget" name="stackedWidget" >
+     <property name="currentIndex" >
+      <number>0</number>
+     </property>
+     <widget class="QWidget" name="page" >
+      <layout class="QVBoxLayout" >
+       <property name="margin" >
+        <number>9</number>
+       </property>
+       <property name="spacing" >
+        <number>6</number>
+       </property>
+       <item>
+        <widget class="QTextBrowser" name="textBrowser" />
+       </item>
+      </layout>
+     </widget>
+     <widget class="QWidget" name="page_2" >
+      <layout class="QVBoxLayout" >
+       <property name="margin" >
+        <number>9</number>
+       </property>
+       <property name="spacing" >
+        <number>6</number>
+       </property>
+       <item>
+        <widget class="QGroupBox" name="groupBox" >
+         <property name="title" >
+          <string>Network connection - enter information about your network 
connection here</string>
+         </property>
+         <layout class="QVBoxLayout" >
+          <property name="margin" >
+           <number>9</number>
+          </property>
+          <property name="spacing" >
+           <number>6</number>
+          </property>
+          <item>
+           <widget class="QLabel" name="label" >
+            <property name="frameShape" >
+             <enum>QFrame::NoFrame</enum>
+            </property>
+            <property name="text" >
+             <string>Choose the device that connects your computer to the 
internet. This is usually a modem, an ISDN card or a network card in case you 
are using DSL.</string>
+            </property>
+            <property name="wordWrap" >
+             <bool>true</bool>
+            </property>
+           </widget>
+          </item>
+          <item>
+           <layout class="QHBoxLayout" >
+            <property name="margin" >
+             <number>0</number>
+            </property>
+            <property name="spacing" >
+             <number>6</number>
+            </property>
+            <item>
+             <widget class="QLabel" name="label_2" >
+              <property name="font" >
+               <font>
+                <family>MS Shell Dlg 2</family>
+                <pointsize>8</pointsize>
+                <weight>75</weight>
+                <italic>false</italic>
+                <bold>true</bold>
+                <underline>false</underline>
+                <strikeout>false</strikeout>
+               </font>
+              </property>
+              <property name="text" >
+               <string>Network interface:</string>
+              </property>
+             </widget>
+            </item>
+            <item>
+             <spacer>
+              <property name="orientation" >
+               <enum>Qt::Horizontal</enum>
+              </property>
+              <property name="sizeType" >
+               <enum>QSizePolicy::Maximum</enum>
+              </property>
+              <property name="sizeHint" >
+               <size>
+                <width>50</width>
+                <height>20</height>
+               </size>
+              </property>
+             </spacer>
+            </item>
+            <item>
+             <widget class="QComboBox" name="comboBox" >
+              <property name="minimumSize" >
+               <size>
+                <width>420</width>
+                <height>0</height>
+               </size>
+              </property>
+             </widget>
+            </item>
+           </layout>
+          </item>
+          <item>
+           <spacer>
+            <property name="orientation" >
+             <enum>Qt::Vertical</enum>
+            </property>
+            <property name="sizeType" >
+             <enum>QSizePolicy::Fixed</enum>
+            </property>
+            <property name="sizeHint" >
+             <size>
+              <width>20</width>
+              <height>20</height>
+             </size>
+            </property>
+           </spacer>
+          </item>
+          <item>
+           <widget class="QLabel" name="label_3" >
+            <property name="text" >
+             <string>If your provider always assigns the same IP-Address to 
you (a "static" IP-Address), enter it into this field. If your IP-Address 
changes every now and then ("dynamic" IP-Address) but there's a hostname that 
always points to your actual IP-Address ("Dynamic DNS"), you can also enter it 
here.
+If in doubt, leave the field empty. GNUnet will then try to determine your 
IP-Address.</string>
+            </property>
+            <property name="wordWrap" >
+             <bool>true</bool>
+            </property>
+           </widget>
+          </item>
+          <item>
+           <layout class="QHBoxLayout" >
+            <property name="margin" >
+             <number>0</number>
+            </property>
+            <property name="spacing" >
+             <number>6</number>
+            </property>
+            <item>
+             <widget class="QLabel" name="label_4" >
+              <property name="font" >
+               <font>
+                <family>MS Shell Dlg 2</family>
+                <pointsize>8</pointsize>
+                <weight>75</weight>
+                <italic>false</italic>
+                <bold>true</bold>
+                <underline>false</underline>
+                <strikeout>false</strikeout>
+               </font>
+              </property>
+              <property name="text" >
+               <string>IP-Address/Hostname:</string>
+              </property>
+             </widget>
+            </item>
+            <item>
+             <spacer>
+              <property name="orientation" >
+               <enum>Qt::Horizontal</enum>
+              </property>
+              <property name="sizeType" >
+               <enum>QSizePolicy::Maximum</enum>
+              </property>
+              <property name="sizeHint" >
+               <size>
+                <width>50</width>
+                <height>20</height>
+               </size>
+              </property>
+             </spacer>
+            </item>
+            <item>
+             <widget class="QLineEdit" name="lineEdit" >
+              <property name="minimumSize" >
+               <size>
+                <width>420</width>
+                <height>0</height>
+               </size>
+              </property>
+             </widget>
+            </item>
+           </layout>
+          </item>
+          <item>
+           <spacer>
+            <property name="orientation" >
+             <enum>Qt::Vertical</enum>
+            </property>
+            <property name="sizeType" >
+             <enum>QSizePolicy::Fixed</enum>
+            </property>
+            <property name="sizeHint" >
+             <size>
+              <width>20</width>
+              <height>20</height>
+             </size>
+            </property>
+           </spacer>
+          </item>
+          <item>
+           <widget class="QLabel" name="label_5" >
+            <property name="text" >
+             <string>If you are connected to the internet through another 
computer doing SNAT, a router or a "hardware firewall" and other computers on 
the internet cannot connect to this computer, check the this option on this 
page. Leave it unchecked on direct connections through modems, ISDN cards and 
DNAT (also known as "port forwarding").</string>
+            </property>
+            <property name="wordWrap" >
+             <bool>true</bool>
+            </property>
+           </widget>
+          </item>
+          <item>
+           <layout class="QHBoxLayout" >
+            <property name="margin" >
+             <number>6</number>
+            </property>
+            <property name="spacing" >
+             <number>6</number>
+            </property>
+            <item>
+             <widget class="QCheckBox" name="checkBox" >
+              <property name="font" >
+               <font>
+                <family>MS Shell Dlg 2</family>
+                <pointsize>8</pointsize>
+                <weight>75</weight>
+                <italic>false</italic>
+                <bold>true</bold>
+                <underline>false</underline>
+                <strikeout>false</strikeout>
+               </font>
+              </property>
+              <property name="text" >
+               <string>Computer cannot receive inbound connections</string>
+              </property>
+             </widget>
+            </item>
+           </layout>
+          </item>
+          <item>
+           <spacer>
+            <property name="orientation" >
+             <enum>Qt::Vertical</enum>
+            </property>
+            <property name="sizeHint" >
+             <size>
+              <width>20</width>
+              <height>40</height>
+             </size>
+            </property>
+           </spacer>
+          </item>
+         </layout>
+        </widget>
+       </item>
+      </layout>
+     </widget>
+     <widget class="QWidget" name="page_3" >
+      <layout class="QVBoxLayout" >
+       <property name="margin" >
+        <number>9</number>
+       </property>
+       <property name="spacing" >
+        <number>6</number>
+       </property>
+       <item>
+        <widget class="QGroupBox" name="groupBox_2" >
+         <property name="title" >
+          <string>Load limitation - limit GNUnet's ressource usage 
here</string>
+         </property>
+         <layout class="QVBoxLayout" >
+          <property name="margin" >
+           <number>9</number>
+          </property>
+          <property name="spacing" >
+           <number>6</number>
+          </property>
+          <item>
+           <widget class="QLabel" name="label_6" >
+            <property name="text" >
+             <string>This is how much data may be sent per second. If you have 
a flatrate you can set it to the maximum speed of your internet 
connection.</string>
+            </property>
+            <property name="wordWrap" >
+             <bool>true</bool>
+            </property>
+           </widget>
+          </item>
+          <item>
+           <layout class="QHBoxLayout" >
+            <property name="margin" >
+             <number>0</number>
+            </property>
+            <property name="spacing" >
+             <number>6</number>
+            </property>
+            <item>
+             <widget class="QLabel" name="label_7" >
+              <property name="font" >
+               <font>
+                <family>MS Shell Dlg 2</family>
+                <pointsize>8</pointsize>
+                <weight>75</weight>
+                <italic>false</italic>
+                <bold>true</bold>
+                <underline>false</underline>
+                <strikeout>false</strikeout>
+               </font>
+              </property>
+              <property name="text" >
+               <string>Upstream (Bytes/s):</string>
+              </property>
+             </widget>
+            </item>
+            <item>
+             <spacer>
+              <property name="orientation" >
+               <enum>Qt::Horizontal</enum>
+              </property>
+              <property name="sizeHint" >
+               <size>
+                <width>40</width>
+                <height>20</height>
+               </size>
+              </property>
+             </spacer>
+            </item>
+            <item>
+             <widget class="QLineEdit" name="lineEdit_2" >
+              <property name="minimumSize" >
+               <size>
+                <width>420</width>
+                <height>0</height>
+               </size>
+              </property>
+             </widget>
+            </item>
+           </layout>
+          </item>
+          <item>
+           <layout class="QHBoxLayout" >
+            <property name="margin" >
+             <number>0</number>
+            </property>
+            <property name="spacing" >
+             <number>6</number>
+            </property>
+            <item>
+             <widget class="QLabel" name="label_8" >
+              <property name="font" >
+               <font>
+                <family>MS Shell Dlg 2</family>
+                <pointsize>8</pointsize>
+                <weight>75</weight>
+                <italic>false</italic>
+                <bold>true</bold>
+                <underline>false</underline>
+                <strikeout>false</strikeout>
+               </font>
+              </property>
+              <property name="text" >
+               <string>Downstream (Bytes/s):</string>
+              </property>
+             </widget>
+            </item>
+            <item>
+             <spacer>
+              <property name="orientation" >
+               <enum>Qt::Horizontal</enum>
+              </property>
+              <property name="sizeType" >
+               <enum>QSizePolicy::Maximum</enum>
+              </property>
+              <property name="sizeHint" >
+               <size>
+                <width>50</width>
+                <height>20</height>
+               </size>
+              </property>
+             </spacer>
+            </item>
+            <item>
+             <widget class="QLineEdit" name="lineEdit_3" >
+              <property name="minimumSize" >
+               <size>
+                <width>420</width>
+                <height>0</height>
+               </size>
+              </property>
+             </widget>
+            </item>
+           </layout>
+          </item>
+          <item>
+           <spacer>
+            <property name="orientation" >
+             <enum>Qt::Vertical</enum>
+            </property>
+            <property name="sizeType" >
+             <enum>QSizePolicy::Fixed</enum>
+            </property>
+            <property name="sizeHint" >
+             <size>
+              <width>20</width>
+              <height>20</height>
+             </size>
+            </property>
+           </spacer>
+          </item>
+          <item>
+           <widget class="QRadioButton" name="radioButton" >
+            <property name="font" >
+             <font>
+              <family>MS Shell Dlg 2</family>
+              <pointsize>8</pointsize>
+              <weight>75</weight>
+              <italic>false</italic>
+              <bold>true</bold>
+              <underline>false</underline>
+              <strikeout>false</strikeout>
+             </font>
+            </property>
+            <property name="text" >
+             <string>Use denoted bandwidth for GNUnet</string>
+            </property>
+           </widget>
+          </item>
+          <item>
+           <widget class="QRadioButton" name="radioButton_2" >
+            <property name="font" >
+             <font>
+              <family>MS Shell Dlg 2</family>
+              <pointsize>8</pointsize>
+              <weight>75</weight>
+              <italic>false</italic>
+              <bold>true</bold>
+              <underline>false</underline>
+              <strikeout>false</strikeout>
+             </font>
+            </property>
+            <property name="text" >
+             <string>Share denoted bandwidth with other applications</string>
+            </property>
+           </widget>
+          </item>
+          <item>
+           <spacer>
+            <property name="orientation" >
+             <enum>Qt::Vertical</enum>
+            </property>
+            <property name="sizeType" >
+             <enum>QSizePolicy::Fixed</enum>
+            </property>
+            <property name="sizeHint" >
+             <size>
+              <width>20</width>
+              <height>20</height>
+             </size>
+            </property>
+           </spacer>
+          </item>
+          <item>
+           <widget class="QLabel" name="label_9" >
+            <property name="text" >
+             <string>Enter the percentage of processor time GNUnet is allowed 
to use here.</string>
+            </property>
+            <property name="wordWrap" >
+             <bool>true</bool>
+            </property>
+           </widget>
+          </item>
+          <item>
+           <layout class="QHBoxLayout" >
+            <property name="margin" >
+             <number>0</number>
+            </property>
+            <property name="spacing" >
+             <number>6</number>
+            </property>
+            <item>
+             <widget class="QLabel" name="label_10" >
+              <property name="font" >
+               <font>
+                <family>MS Shell Dlg 2</family>
+                <pointsize>8</pointsize>
+                <weight>75</weight>
+                <italic>false</italic>
+                <bold>true</bold>
+                <underline>false</underline>
+                <strikeout>false</strikeout>
+               </font>
+              </property>
+              <property name="text" >
+               <string>Maximum CPU usage (%):</string>
+              </property>
+             </widget>
+            </item>
+            <item>
+             <spacer>
+              <property name="orientation" >
+               <enum>Qt::Horizontal</enum>
+              </property>
+              <property name="sizeType" >
+               <enum>QSizePolicy::Maximum</enum>
+              </property>
+              <property name="sizeHint" >
+               <size>
+                <width>50</width>
+                <height>20</height>
+               </size>
+              </property>
+             </spacer>
+            </item>
+            <item>
+             <widget class="QSpinBox" name="spinBox" >
+              <property name="minimumSize" >
+               <size>
+                <width>420</width>
+                <height>0</height>
+               </size>
+              </property>
+             </widget>
+            </item>
+           </layout>
+          </item>
+          <item>
+           <spacer>
+            <property name="orientation" >
+             <enum>Qt::Vertical</enum>
+            </property>
+            <property name="sizeHint" >
+             <size>
+              <width>20</width>
+              <height>40</height>
+             </size>
+            </property>
+           </spacer>
+          </item>
+         </layout>
+        </widget>
+       </item>
+      </layout>
+     </widget>
+     <widget class="QWidget" name="page_4" >
+      <layout class="QVBoxLayout" >
+       <property name="margin" >
+        <number>9</number>
+       </property>
+       <property name="spacing" >
+        <number>6</number>
+       </property>
+       <item>
+        <widget class="QGroupBox" name="groupBox_3" >
+         <property name="title" >
+          <string>Security settings - specify the user and the group owning 
the GNUnet service here</string>
+         </property>
+         <layout class="QVBoxLayout" >
+          <property name="margin" >
+           <number>9</number>
+          </property>
+          <property name="spacing" >
+           <number>6</number>
+          </property>
+          <item>
+           <widget class="QLabel" name="label_11" >
+            <property name="text" >
+             <string>For security reasons, it is a good idea to let this setup 
create a new user account and a new group under which the GNUnet service is 
started at system startup.
+
+However, GNUnet may not be able to access files other than its own. This 
includes files you want to publish in GNUnet. You will have to grant read 
permissions to the user specified below.
+
+Leave the fields empty to run GNUnet with system privileges.</string>
+            </property>
+            <property name="wordWrap" >
+             <bool>true</bool>
+            </property>
+           </widget>
+          </item>
+          <item>
+           <layout class="QHBoxLayout" >
+            <property name="margin" >
+             <number>0</number>
+            </property>
+            <property name="spacing" >
+             <number>6</number>
+            </property>
+            <item>
+             <widget class="QLabel" name="label_12" >
+              <property name="font" >
+               <font>
+                <family>MS Shell Dlg 2</family>
+                <pointsize>8</pointsize>
+                <weight>75</weight>
+                <italic>false</italic>
+                <bold>true</bold>
+                <underline>false</underline>
+                <strikeout>false</strikeout>
+               </font>
+              </property>
+              <property name="text" >
+               <string>User account:</string>
+              </property>
+             </widget>
+            </item>
+            <item>
+             <spacer>
+              <property name="orientation" >
+               <enum>Qt::Horizontal</enum>
+              </property>
+              <property name="sizeHint" >
+               <size>
+                <width>50</width>
+                <height>20</height>
+               </size>
+              </property>
+             </spacer>
+            </item>
+            <item>
+             <widget class="QLineEdit" name="lineEdit_4" >
+              <property name="minimumSize" >
+               <size>
+                <width>440</width>
+                <height>0</height>
+               </size>
+              </property>
+             </widget>
+            </item>
+           </layout>
+          </item>
+          <item>
+           <layout class="QHBoxLayout" >
+            <property name="margin" >
+             <number>0</number>
+            </property>
+            <property name="spacing" >
+             <number>6</number>
+            </property>
+            <item>
+             <widget class="QLabel" name="label_13" >
+              <property name="font" >
+               <font>
+                <family>MS Shell Dlg 2</family>
+                <pointsize>8</pointsize>
+                <weight>75</weight>
+                <italic>false</italic>
+                <bold>true</bold>
+                <underline>false</underline>
+                <strikeout>false</strikeout>
+               </font>
+              </property>
+              <property name="text" >
+               <string>Group:</string>
+              </property>
+             </widget>
+            </item>
+            <item>
+             <spacer>
+              <property name="orientation" >
+               <enum>Qt::Horizontal</enum>
+              </property>
+              <property name="sizeHint" >
+               <size>
+                <width>50</width>
+                <height>20</height>
+               </size>
+              </property>
+             </spacer>
+            </item>
+            <item>
+             <widget class="QLineEdit" name="lineEdit_5" >
+              <property name="minimumSize" >
+               <size>
+                <width>440</width>
+                <height>0</height>
+               </size>
+              </property>
+             </widget>
+            </item>
+           </layout>
+          </item>
+          <item>
+           <spacer>
+            <property name="orientation" >
+             <enum>Qt::Vertical</enum>
+            </property>
+            <property name="sizeHint" >
+             <size>
+              <width>20</width>
+              <height>40</height>
+             </size>
+            </property>
+           </spacer>
+          </item>
+         </layout>
+        </widget>
+       </item>
+      </layout>
+     </widget>
+     <widget class="QWidget" name="page_5" >
+      <layout class="QVBoxLayout" >
+       <property name="margin" >
+        <number>9</number>
+       </property>
+       <property name="spacing" >
+        <number>6</number>
+       </property>
+       <item>
+        <widget class="QGroupBox" name="groupBox_4" >
+         <property name="title" >
+          <string>Other settings</string>
+         </property>
+         <layout class="QVBoxLayout" >
+          <property name="margin" >
+           <number>9</number>
+          </property>
+          <property name="spacing" >
+           <number>6</number>
+          </property>
+          <item>
+           <widget class="QLabel" name="label_14" >
+            <property name="text" >
+             <string>GNUnet is able to store data from other peers in your 
datastore. This is useful if an adversary has access to your inserted content 
and you need to deny that the content is yours. With "content migration" on, 
the content could have "migrated" over the internet to your node without your 
knowledge.
+It also helps to spread popular content over different peers to enhance 
availability.</string>
+            </property>
+            <property name="wordWrap" >
+             <bool>true</bool>
+            </property>
+           </widget>
+          </item>
+          <item>
+           <widget class="QCheckBox" name="checkBox_2" >
+            <property name="font" >
+             <font>
+              <family>MS Shell Dlg 2</family>
+              <pointsize>8</pointsize>
+              <weight>75</weight>
+              <italic>false</italic>
+              <bold>true</bold>
+              <underline>false</underline>
+              <strikeout>false</strikeout>
+             </font>
+            </property>
+            <property name="text" >
+             <string>Store migrated content</string>
+            </property>
+           </widget>
+          </item>
+          <item>
+           <spacer>
+            <property name="orientation" >
+             <enum>Qt::Vertical</enum>
+            </property>
+            <property name="sizeType" >
+             <enum>QSizePolicy::Fixed</enum>
+            </property>
+            <property name="sizeHint" >
+             <size>
+              <width>20</width>
+              <height>20</height>
+             </size>
+            </property>
+           </spacer>
+          </item>
+          <item>
+           <widget class="QLabel" name="label_15" >
+            <property name="text" >
+             <string>The GNUnet datastore contains all data that GNUnet 
generates (index data, inserted and migrated content). Its maximum size can be 
specified below.</string>
+            </property>
+            <property name="wordWrap" >
+             <bool>true</bool>
+            </property>
+           </widget>
+          </item>
+          <item>
+           <layout class="QHBoxLayout" >
+            <property name="margin" >
+             <number>0</number>
+            </property>
+            <property name="spacing" >
+             <number>6</number>
+            </property>
+            <item>
+             <widget class="QLabel" name="label_16" >
+              <property name="font" >
+               <font>
+                <family>MS Shell Dlg 2</family>
+                <pointsize>8</pointsize>
+                <weight>75</weight>
+                <italic>false</italic>
+                <bold>true</bold>
+                <underline>false</underline>
+                <strikeout>false</strikeout>
+               </font>
+              </property>
+              <property name="text" >
+               <string>Maximum datastore size (MB):</string>
+              </property>
+             </widget>
+            </item>
+            <item>
+             <widget class="QLineEdit" name="lineEdit_6" />
+            </item>
+           </layout>
+          </item>
+          <item>
+           <spacer>
+            <property name="orientation" >
+             <enum>Qt::Vertical</enum>
+            </property>
+            <property name="sizeType" >
+             <enum>QSizePolicy::Fixed</enum>
+            </property>
+            <property name="sizeHint" >
+             <size>
+              <width>20</width>
+              <height>20</height>
+             </size>
+            </property>
+           </spacer>
+          </item>
+          <item>
+           <widget class="QLabel" name="label_17" >
+            <property name="text" >
+             <string>If you are an experienced user, you may want to tweak 
your GNUnet installation using the enhanced configurator.</string>
+            </property>
+            <property name="wordWrap" >
+             <bool>true</bool>
+            </property>
+           </widget>
+          </item>
+          <item>
+           <widget class="QCheckBox" name="checkBox_3" >
+            <property name="font" >
+             <font>
+              <family>MS Shell Dlg 2</family>
+              <pointsize>8</pointsize>
+              <weight>75</weight>
+              <italic>false</italic>
+              <bold>true</bold>
+              <underline>false</underline>
+              <strikeout>false</strikeout>
+             </font>
+            </property>
+            <property name="text" >
+             <string>Open the enhanced configurator</string>
+            </property>
+           </widget>
+          </item>
+          <item>
+           <spacer>
+            <property name="orientation" >
+             <enum>Qt::Vertical</enum>
+            </property>
+            <property name="sizeType" >
+             <enum>QSizePolicy::Fixed</enum>
+            </property>
+            <property name="sizeHint" >
+             <size>
+              <width>20</width>
+              <height>20</height>
+             </size>
+            </property>
+           </spacer>
+          </item>
+          <item>
+           <widget class="QLabel" name="label_18" >
+            <property name="text" >
+             <string>After changing the configuration and/or updating GNUnet, 
it is sometimes required to run gnunet-update to update internal data 
structures. Depending on the changes made, this may take some time.</string>
+            </property>
+            <property name="wordWrap" >
+             <bool>true</bool>
+            </property>
+           </widget>
+          </item>
+          <item>
+           <widget class="QCheckBox" name="checkBox_4" >
+            <property name="font" >
+             <font>
+              <family>MS Shell Dlg 2</family>
+              <pointsize>8</pointsize>
+              <weight>75</weight>
+              <italic>false</italic>
+              <bold>true</bold>
+              <underline>false</underline>
+              <strikeout>false</strikeout>
+             </font>
+            </property>
+            <property name="text" >
+             <string>Run gnunet-update</string>
+            </property>
+           </widget>
+          </item>
+          <item>
+           <spacer>
+            <property name="orientation" >
+             <enum>Qt::Vertical</enum>
+            </property>
+            <property name="sizeHint" >
+             <size>
+              <width>20</width>
+              <height>40</height>
+             </size>
+            </property>
+           </spacer>
+          </item>
+         </layout>
+        </widget>
+       </item>
+      </layout>
+     </widget>
+    </widget>
+   </item>
+   <item>
+    <layout class="QHBoxLayout" >
+     <property name="margin" >
+      <number>0</number>
+     </property>
+     <property name="spacing" >
+      <number>6</number>
+     </property>
+     <item>
+      <spacer>
+       <property name="orientation" >
+        <enum>Qt::Horizontal</enum>
+       </property>
+       <property name="sizeHint" >
+        <size>
+         <width>40</width>
+         <height>20</height>
+        </size>
+       </property>
+      </spacer>
+     </item>
+     <item>
+      <widget class="QPushButton" name="pbPrev" >
+       <property name="minimumSize" >
+        <size>
+         <width>75</width>
+         <height>0</height>
+        </size>
+       </property>
+       <property name="text" >
+        <string>Previous</string>
+       </property>
+       <property name="icon" >
+        <iconset resource="pixmaps/pixmaps.qrc" 
>:/pixmaps/go-previous.png</iconset>
+       </property>
+       <property name="iconSize" >
+        <size>
+         <width>22</width>
+         <height>22</height>
+        </size>
+       </property>
+      </widget>
+     </item>
+     <item>
+      <widget class="QPushButton" name="pbNext" >
+       <property name="minimumSize" >
+        <size>
+         <width>75</width>
+         <height>0</height>
+        </size>
+       </property>
+       <property name="text" >
+        <string>Next</string>
+       </property>
+       <property name="icon" >
+        <iconset resource="pixmaps/pixmaps.qrc" 
>:/pixmaps/go-next.png</iconset>
+       </property>
+       <property name="iconSize" >
+        <size>
+         <width>22</width>
+         <height>22</height>
+        </size>
+       </property>
+      </widget>
+     </item>
+     <item>
+      <widget class="QPushButton" name="pbClose" >
+       <property name="minimumSize" >
+        <size>
+         <width>75</width>
+         <height>0</height>
+        </size>
+       </property>
+       <property name="text" >
+        <string>Close</string>
+       </property>
+       <property name="icon" >
+        <iconset resource="pixmaps/pixmaps.qrc" >:/pixmaps/close.png</iconset>
+       </property>
+       <property name="iconSize" >
+        <size>
+         <width>22</width>
+         <height>22</height>
+        </size>
+       </property>
+      </widget>
+     </item>
+    </layout>
+   </item>
+  </layout>
+ </widget>
+ <pixmapfunction></pixmapfunction>
+ <resources>
+  <include location="pixmaps/pixmaps.qrc" />
+ </resources>
+ <connections/>
+</ui>

Added: GNUnet/src/setup/qt/pixmaps/about.png
===================================================================
(Binary files differ)


Property changes on: GNUnet/src/setup/qt/pixmaps/about.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: GNUnet/src/setup/qt/pixmaps/close.png
===================================================================
(Binary files differ)


Property changes on: GNUnet/src/setup/qt/pixmaps/close.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: GNUnet/src/setup/qt/pixmaps/exit.png
===================================================================
(Binary files differ)


Property changes on: GNUnet/src/setup/qt/pixmaps/exit.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: GNUnet/src/setup/qt/pixmaps/gnunet-logo-small.png
===================================================================
(Binary files differ)


Property changes on: GNUnet/src/setup/qt/pixmaps/gnunet-logo-small.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: GNUnet/src/setup/qt/pixmaps/go-next.png
===================================================================
(Binary files differ)


Property changes on: GNUnet/src/setup/qt/pixmaps/go-next.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: GNUnet/src/setup/qt/pixmaps/go-previous.png
===================================================================
(Binary files differ)


Property changes on: GNUnet/src/setup/qt/pixmaps/go-previous.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: GNUnet/src/setup/qt/pixmaps/media-floppy.png
===================================================================
(Binary files differ)


Property changes on: GNUnet/src/setup/qt/pixmaps/media-floppy.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: GNUnet/src/setup/qt/pixmaps/pixmaps.qrc
===================================================================
--- GNUnet/src/setup/qt/pixmaps/pixmaps.qrc                             (rev 0)
+++ GNUnet/src/setup/qt/pixmaps/pixmaps.qrc     2007-12-09 22:21:50 UTC (rev 
5835)
@@ -0,0 +1,19 @@
+<RCC>
+    <qresource prefix="/pixmaps" >
+        <file>about.png</file>
+        <file>close.png</file>
+        <file>exit.png</file>
+        <file>gnunet-logo-small.png</file>
+        <file>go-next.png</file>
+        <file>go-previous.png</file>
+        <file>media-floppy.png</file>
+        <file>sect-apps.png</file>
+        <file>sect-general.png</file>
+        <file>sect-load.png</file>
+        <file>sect-log.png</file>
+        <file>sect-meta.png</file>
+        <file>sect-modules.png</file>
+        <file>sect-paths.png</file>
+        <file>sect-transports.png</file>
+    </qresource>
+</RCC>

Added: GNUnet/src/setup/qt/pixmaps/sect-apps.png
===================================================================
(Binary files differ)


Property changes on: GNUnet/src/setup/qt/pixmaps/sect-apps.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: GNUnet/src/setup/qt/pixmaps/sect-general.png
===================================================================
(Binary files differ)


Property changes on: GNUnet/src/setup/qt/pixmaps/sect-general.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: GNUnet/src/setup/qt/pixmaps/sect-load.png
===================================================================
(Binary files differ)


Property changes on: GNUnet/src/setup/qt/pixmaps/sect-load.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: GNUnet/src/setup/qt/pixmaps/sect-log.png
===================================================================
(Binary files differ)


Property changes on: GNUnet/src/setup/qt/pixmaps/sect-log.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: GNUnet/src/setup/qt/pixmaps/sect-meta.png
===================================================================
(Binary files differ)


Property changes on: GNUnet/src/setup/qt/pixmaps/sect-meta.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: GNUnet/src/setup/qt/pixmaps/sect-modules.png
===================================================================
(Binary files differ)


Property changes on: GNUnet/src/setup/qt/pixmaps/sect-modules.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: GNUnet/src/setup/qt/pixmaps/sect-paths.png
===================================================================
(Binary files differ)


Property changes on: GNUnet/src/setup/qt/pixmaps/sect-paths.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: GNUnet/src/setup/qt/pixmaps/sect-transports.png
===================================================================
(Binary files differ)


Property changes on: GNUnet/src/setup/qt/pixmaps/sect-transports.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: GNUnet/src/setup/qt/qt.pro
===================================================================
--- GNUnet/src/setup/qt/qt.pro                          (rev 0)
+++ GNUnet/src/setup/qt/qt.pro  2007-12-09 22:21:50 UTC (rev 5835)
@@ -0,0 +1,17 @@
+TEMPLATE = lib
+TARGET = gnunetsetup_qt
+dlltarget = $(TARGET)
+CONFIG += @QT_CONFIG@ dll
+INCLUDEPATH = ../../include ../lib . @INCLUDEPATH@ ../../..
+DLLDESTDIR = .
+LIBS = -L../../../src/util -lgnunetutil -L../../../src/setup/lib -lgnunetsetup
+QMAKE_LIBDIR += -L/opt/guile/lib -L/usr/lib -L/lib 
+QMAKE_LFLAGS += -shared
+
+target.path = /usr/local/lib
+INSTALLS += target
+
+SOURCES = qtconfig.cc \
+                                       setupWizard.cc
+HEADERS = setupWizard.h
+FORMS = gnunet-setup.ui enhanced.ui

Added: GNUnet/src/setup/qt/qt.pro.in
===================================================================
--- GNUnet/src/setup/qt/qt.pro.in                               (rev 0)
+++ GNUnet/src/setup/qt/qt.pro.in       2007-12-09 22:21:50 UTC (rev 5835)
@@ -0,0 +1,29 @@
address@hidden@
+contains(BUILD_TARGET, mingw) {
+       # Since this library cannot be loaded on Win32 (invalid memory access 
when 
+       # <QApplication> is included), we build an executable
+
+       TEMPLATE = app
+       TARGET = gnunetsetup_qt
+       CONFIG += @QT_CONFIG@
+       target.path = @prefix@/bin
+} else {
+       TEMPLATE = lib
+       TARGET = @address@hidden
+       dlltarget = $(TARGET)
+       CONFIG += @QT_CONFIG@ dll
+       DLLDESTDIR = .
+       QMAKE_LFLAGS += -shared
+       target.path = @prefix@/@DLLDIR@
+}
+QMAKE_CXXFLAGS = @CPPFLAGS@
+INCLUDEPATH = ../../include ../lib . @CPPFLAGS@ @top_builddir@
+LIBS = address@hidden@/src/util -lgnunetutil address@hidden@/src/setup/lib 
-lgnunetsetup -lplibc
+QMAKE_LIBDIR += @EXT_LIB_PATH@
+
+INSTALLS += target
+
+SOURCES = qtconfig.cc \
+                                       setupWizard.cc
+HEADERS = setupWizard.h
+FORMS = gnunet-setup.ui enhanced.ui

Added: GNUnet/src/setup/qt/qtconfig.cc
===================================================================
--- GNUnet/src/setup/qt/qtconfig.cc                             (rev 0)
+++ GNUnet/src/setup/qt/qtconfig.cc     2007-12-09 22:21:50 UTC (rev 5835)
@@ -0,0 +1,200 @@
+#include <Qt/qapplication.h>
+
+extern "C" {
+  #include "gnunet_util.h"
+  #include "platform.h"
+  #include "gnunet_util.h"
+  #include "gnunet_directories.h"
+  #include "gnunet_setup_lib.h"
+}
+#include "setupWizard.h"
+
+static struct GNUNET_GE_Context *ectx;
+static struct GNUNET_GC_Configuration *cfg;
+static struct GNUNET_GNS_Context *gns;
+static char *cfgFilename;
+static int config_daemon;
+
+/**
+ * All gnunet-setup command line options
+ */
+static struct GNUNET_CommandLineOption gnunetsetupOptions[] = {
+  GNUNET_COMMAND_LINE_OPTION_CFG_FILE (&cfgFilename),   /* -c */
+  {'d', "daemon", NULL,
+   gettext_noop ("generate configuration for gnunetd, the GNUnet daemon"),
+   0, &GNUNET_getopt_configure_set_one, &config_daemon},
+  GNUNET_COMMAND_LINE_OPTION_HELP (gettext_noop ("Tool to setup GNUnet.")),    
 /* -h */
+  GNUNET_COMMAND_LINE_OPTION_VERSION (PACKAGE_VERSION),  /* -v */
+  GNUNET_COMMAND_LINE_OPTION_VERBOSE,
+  GNUNET_COMMAND_LINE_OPTION_END,
+};
+
+static const char *INFO = "gnunetsetup_qt [OPTIONS] qconfig|wizard-qt"
+  "";
+
+static void
+gns2cfg (struct GNUNET_GNS_TreeNode *pos)
+{
+  int i;
+  char *val;
+
+  if (pos == NULL)
+    return;
+  i = 0;
+  while (pos->children[i] != NULL)
+    {
+      gns2cfg (pos->children[i]);
+      i++;
+    }
+  if (i != 0)
+    return;
+  if ((pos->section == NULL) || (pos->option == NULL))
+    return;
+  if (GNUNET_NO ==
+      GNUNET_GC_have_configuration_value (cfg, pos->section, pos->option))
+    {
+      val = GNUNET_GNS_get_default_value_as_string (pos->type, &pos->value);
+      if (val != NULL)
+        {
+          GNUNET_GC_set_configuration_value_string (cfg,
+                                                    ectx,
+                                                    pos->section, pos->option,
+                                                    val);
+          GNUNET_free (val);
+        }
+    }
+}
+
+extern "C" {
+int
+qt_wizard_mainsetup_qt (int argc,
+                          char *const *argv,
+                          struct GNUNET_PluginHandle *self,
+                          struct GNUNET_GE_Context *ectx,
+                          struct GNUNET_GC_Configuration *cfg,
+                          struct GNUNET_GNS_Context *gns,
+                          const char *filename, int is_daemon)
+  {
+    QApplication *app;
+    GSetupWizard *wiz;
+    int ret;
+    
+    GNUNET_GE_ASSERT (ectx, is_daemon);
+
+    app = new QApplication(argc, (char **) argv);
+
+    wiz = new GSetupWizard();
+    wiz->setErrorContext(ectx);
+    wiz->setConfig(cfg);
+    wiz->show();
+    
+    ret = app->exec();
+
+    delete wiz;
+    delete app;
+  
+    return ret;
+  }
+}
+
+int main(int argc, char **argv)
+{
+  const char *operation;
+  char *dirname;
+  char *specname;
+  int i;
+
+  ectx = GNUNET_GE_create_context_stderr (GNUNET_NO,
+                                          (GNUNET_GE_KIND) (GNUNET_GE_WARNING 
| GNUNET_GE_ERROR
+                                          | GNUNET_GE_FATAL | GNUNET_GE_USER |
+                                          GNUNET_GE_ADMIN |
+                                          GNUNET_GE_DEVELOPER |
+                                          GNUNET_GE_IMMEDIATE |
+                                          GNUNET_GE_BULK));
+  GNUNET_GE_setDefaultContext (ectx);
+  GNUNET_os_init (ectx);
+  cfg = GNUNET_GC_create ();
+  GNUNET_GE_ASSERT (ectx, cfg != NULL);
+  i = GNUNET_parse_options (INFO,
+                            ectx,
+                            cfg,
+                            gnunetsetupOptions, (unsigned int) argc, argv);
+  if (i < 0)
+    {
+      GNUNET_GC_free (cfg);
+      GNUNET_GE_free_context (ectx);
+      return -1;
+    }
+  if (i != argc - 1)
+    {
+      if (i < argc - 1)
+        {
+          fprintf (stderr, _("Too many arguments.\n"));
+          return -1;
+        }
+      operation = "qconfig";
+    }
+  else
+    {
+      operation = argv[i];
+    }
+  if (NULL != strstr (operation, "wizard"))
+    config_daemon = GNUNET_YES; /* wizard implies daemon! */
+  if (cfgFilename == NULL)
+    cfgFilename = config_daemon
+      ? GNUNET_strdup (GNUNET_DEFAULT_DAEMON_CONFIG_FILE)
+      : GNUNET_strdup (GNUNET_DEFAULT_CLIENT_CONFIG_FILE);
+  dirname = GNUNET_expand_file_name (ectx, cfgFilename);
+  GNUNET_free (cfgFilename);
+  cfgFilename = GNUNET_strdup (dirname);
+  i = strlen (dirname) - 1;
+  while (i > -1)
+    {
+      char ch = dirname[i];
+      if ((ch == '/') || (ch == '\\'))
+        {
+          dirname[i + 1] = 0;
+          break;
+        }
+      i--;
+    }
+  GNUNET_disk_directory_create (ectx, dirname);
+  if (((0 != ACCESS (cfgFilename, W_OK)) &&
+       ((errno != ENOENT) || (0 != ACCESS (dirname, W_OK)))))
+    GNUNET_GE_DIE_STRERROR_FILE (ectx,
+                                 (GNUNET_GE_KIND)(GNUNET_GE_FATAL | 
GNUNET_GE_USER |
+                                 GNUNET_GE_ADMIN | GNUNET_GE_IMMEDIATE),
+                                 "access", dirname);
+  GNUNET_free (dirname);
+
+  if (0 == ACCESS (cfgFilename, F_OK))
+    GNUNET_GC_parse_configuration (cfg, cfgFilename);
+  dirname = GNUNET_get_installation_path (GNUNET_IPK_DATADIR);
+  GNUNET_GE_ASSERT (ectx, dirname != NULL);
+  specname = (char *)
+    GNUNET_malloc (strlen (dirname) + strlen ("config-daemon.scm") + 1);
+  strcpy (specname, dirname);
+  GNUNET_free (dirname);
+  if (config_daemon)
+    strcat (specname, "config-daemon.scm");
+  else
+    strcat (specname, "config-client.scm");
+  gns = GNUNET_GNS_load_specification (ectx, cfg, specname);
+  GNUNET_free (specname);
+  if (gns == NULL)
+    {
+      GNUNET_GC_free (cfg);
+      GNUNET_GE_free_context (ectx);
+      GNUNET_free (cfgFilename);
+      return -1;
+    }
+  gns2cfg (GNUNET_GNS_get_tree_root (gns));
+
+  qt_wizard_mainsetup_qt(argc, argv, NULL, ectx, cfg, gns, cfgFilename, 
config_daemon);
+
+  GNUNET_free (cfgFilename);
+  GNUNET_GNS_free_specification (gns);
+  GNUNET_GC_free (cfg);
+  GNUNET_GE_free_context (ectx);
+  return 0;
+}

Added: GNUnet/src/setup/qt/setupWizard.cc
===================================================================
--- GNUnet/src/setup/qt/setupWizard.cc                          (rev 0)
+++ GNUnet/src/setup/qt/setupWizard.cc  2007-12-09 22:21:50 UTC (rev 5835)
@@ -0,0 +1,16 @@
+#include "setupWizard.h"
+
+GSetupWizard::GSetupWizard(QDialog *parent) : QDialog(parent)
+{
+  setupUi(this);
+}
+
+void GSetupWizard::setErrorContext(struct GNUNET_GE_Context *ectx)
+{
+  this->ectx = ectx;
+}
+
+void GSetupWizard::setConfig(struct GNUNET_GC_Configuration *cfg)
+{
+  this->cfg = cfg;
+}

Added: GNUnet/src/setup/qt/setupWizard.h
===================================================================
--- GNUnet/src/setup/qt/setupWizard.h                           (rev 0)
+++ GNUnet/src/setup/qt/setupWizard.h   2007-12-09 22:21:50 UTC (rev 5835)
@@ -0,0 +1,18 @@
+#include <Qt/qobject.h>
+#include <Qt/qdialog.h>
+
+#include "ui_gnunet-setup.h"
+
+class GSetupWizard : public QDialog, private Ui::SetupWizard 
+{
+  Q_OBJECT
+  
+public:
+  GSetupWizard(QDialog *parent = NULL);
+  void setErrorContext(struct GNUNET_GE_Context *ectx);
+  void setConfig(struct GNUNET_GC_Configuration *cfg);
+
+protected:
+  struct GNUNET_GE_Context *ectx;
+  struct GNUNET_GC_Configuration *cfg;
+};

Added: GNUnet/src/setup/qt/ui_enhanced.h
===================================================================
--- GNUnet/src/setup/qt/ui_enhanced.h                           (rev 0)
+++ GNUnet/src/setup/qt/ui_enhanced.h   2007-12-09 22:21:50 UTC (rev 5835)
@@ -0,0 +1,177 @@
+/********************************************************************************
+** Form generated from reading ui file 'enhanced.ui'
+**
+** Created: Sat Dec 1 13:11:45 2007
+**      by: Qt User Interface Compiler version 4.3.2
+**
+** WARNING! All changes made in this file will be lost when recompiling ui 
file!
+********************************************************************************/
+
+#ifndef UI_ENHANCED_H
+#define UI_ENHANCED_H
+
+#include <QtCore/QVariant>
+#include <QtGui/QAction>
+#include <QtGui/QApplication>
+#include <QtGui/QButtonGroup>
+#include <QtGui/QListWidget>
+#include <QtGui/QMainWindow>
+#include <QtGui/QMenu>
+#include <QtGui/QMenuBar>
+#include <QtGui/QSplitter>
+#include <QtGui/QStatusBar>
+#include <QtGui/QTextBrowser>
+#include <QtGui/QToolBar>
+#include <QtGui/QTreeView>
+#include <QtGui/QVBoxLayout>
+#include <QtGui/QWidget>
+
+class Ui_MainWindow
+{
+public:
+    QAction *actionSave;
+    QAction *actionAbout;
+    QAction *actionExit;
+    QWidget *centralwidget;
+    QVBoxLayout *vboxLayout;
+    QSplitter *splitter_2;
+    QListWidget *listWidget;
+    QSplitter *splitter;
+    QTreeView *treeView;
+    QTextBrowser *textBrowser;
+    QMenuBar *menubar;
+    QMenu *menuFile;
+    QStatusBar *statusbar;
+    QToolBar *toolBar;
+
+    void setupUi(QMainWindow *MainWindow)
+    {
+    if (MainWindow->objectName().isEmpty())
+        MainWindow->setObjectName(QString::fromUtf8("MainWindow"));
+    MainWindow->resize(640, 480);
+    
MainWindow->setWindowIcon(QIcon(QString::fromUtf8(":/pixmaps/gnunet-logo-small.png")));
+    actionSave = new QAction(MainWindow);
+    actionSave->setObjectName(QString::fromUtf8("actionSave"));
+    
actionSave->setIcon(QIcon(QString::fromUtf8(":/pixmaps/media-floppy.png")));
+    actionAbout = new QAction(MainWindow);
+    actionAbout->setObjectName(QString::fromUtf8("actionAbout"));
+    actionAbout->setIcon(QIcon(QString::fromUtf8(":/pixmaps/about.png")));
+    actionExit = new QAction(MainWindow);
+    actionExit->setObjectName(QString::fromUtf8("actionExit"));
+    actionExit->setIcon(QIcon(QString::fromUtf8(":/pixmaps/exit.png")));
+    centralwidget = new QWidget(MainWindow);
+    centralwidget->setObjectName(QString::fromUtf8("centralwidget"));
+    vboxLayout = new QVBoxLayout(centralwidget);
+#ifndef Q_OS_MAC
+    vboxLayout->setSpacing(6);
+#endif
+#ifndef Q_OS_MAC
+    vboxLayout->setMargin(9);
+#endif
+    vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
+    splitter_2 = new QSplitter(centralwidget);
+    splitter_2->setObjectName(QString::fromUtf8("splitter_2"));
+    splitter_2->setOrientation(Qt::Horizontal);
+    listWidget = new QListWidget(splitter_2);
+    listWidget->setObjectName(QString::fromUtf8("listWidget"));
+    listWidget->setMaximumSize(QSize(140, 16777215));
+    listWidget->setIconSize(QSize(96, 84));
+    listWidget->setVerticalScrollMode(QAbstractItemView::ScrollPerPixel);
+    listWidget->setMovement(QListView::Static);
+    listWidget->setSpacing(12);
+    listWidget->setViewMode(QListView::IconMode);
+    splitter_2->addWidget(listWidget);
+    splitter = new QSplitter(splitter_2);
+    splitter->setObjectName(QString::fromUtf8("splitter"));
+    splitter->setOrientation(Qt::Vertical);
+    treeView = new QTreeView(splitter);
+    treeView->setObjectName(QString::fromUtf8("treeView"));
+    splitter->addWidget(treeView);
+    textBrowser = new QTextBrowser(splitter);
+    textBrowser->setObjectName(QString::fromUtf8("textBrowser"));
+    QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(7), 
static_cast<QSizePolicy::Policy>(0));
+    sizePolicy.setHorizontalStretch(0);
+    sizePolicy.setVerticalStretch(0);
+    
sizePolicy.setHeightForWidth(textBrowser->sizePolicy().hasHeightForWidth());
+    textBrowser->setSizePolicy(sizePolicy);
+    textBrowser->setMaximumSize(QSize(16777215, 150));
+    splitter->addWidget(textBrowser);
+    splitter_2->addWidget(splitter);
+
+    vboxLayout->addWidget(splitter_2);
+
+    MainWindow->setCentralWidget(centralwidget);
+    menubar = new QMenuBar(MainWindow);
+    menubar->setObjectName(QString::fromUtf8("menubar"));
+    menubar->setGeometry(QRect(0, 0, 640, 21));
+    menuFile = new QMenu(menubar);
+    menuFile->setObjectName(QString::fromUtf8("menuFile"));
+    MainWindow->setMenuBar(menubar);
+    statusbar = new QStatusBar(MainWindow);
+    statusbar->setObjectName(QString::fromUtf8("statusbar"));
+    MainWindow->setStatusBar(statusbar);
+    toolBar = new QToolBar(MainWindow);
+    toolBar->setObjectName(QString::fromUtf8("toolBar"));
+    toolBar->setOrientation(Qt::Horizontal);
+    MainWindow->addToolBar(static_cast<Qt::ToolBarArea>(4), toolBar);
+
+    menubar->addAction(menuFile->menuAction());
+    menuFile->addAction(actionSave);
+    toolBar->addAction(actionSave);
+    toolBar->addAction(actionAbout);
+    toolBar->addAction(actionExit);
+
+    retranslateUi(MainWindow);
+
+    QMetaObject::connectSlotsByName(MainWindow);
+    } // setupUi
+
+    void retranslateUi(QMainWindow *MainWindow)
+    {
+    MainWindow->setWindowTitle(QApplication::translate("MainWindow", 
"gnunet-setup", 0, QApplication::UnicodeUTF8));
+    actionSave->setText(QApplication::translate("MainWindow", "Save", 0, 
QApplication::UnicodeUTF8));
+    actionAbout->setText(QApplication::translate("MainWindow", "About", 0, 
QApplication::UnicodeUTF8));
+    actionExit->setText(QApplication::translate("MainWindow", "Exit", 0, 
QApplication::UnicodeUTF8));
+    listWidget->clear();
+
+    QListWidgetItem *__item = new QListWidgetItem(listWidget);
+    __item->setText(QApplication::translate("MainWindow", 
"Meta-configuration", 0, QApplication::UnicodeUTF8));
+    __item->setIcon(QIcon(QString::fromUtf8(":/pixmaps/sect-meta.png")));
+
+    QListWidgetItem *__item1 = new QListWidgetItem(listWidget);
+    __item1->setText(QApplication::translate("MainWindow", "Path settings", 0, 
QApplication::UnicodeUTF8));
+    __item1->setIcon(QIcon(QString::fromUtf8(":/pixmaps/sect-paths.png")));
+
+    QListWidgetItem *__item2 = new QListWidgetItem(listWidget);
+    __item2->setText(QApplication::translate("MainWindow", "General settings", 
0, QApplication::UnicodeUTF8));
+    __item2->setIcon(QIcon(QString::fromUtf8(":/pixmaps/sect-general.png")));
+
+    QListWidgetItem *__item3 = new QListWidgetItem(listWidget);
+    __item3->setText(QApplication::translate("MainWindow", "Logging system", 
0, QApplication::UnicodeUTF8));
+    __item3->setIcon(QIcon(QString::fromUtf8(":/pixmaps/sect-log.png")));
+
+    QListWidgetItem *__item4 = new QListWidgetItem(listWidget);
+    __item4->setText(QApplication::translate("MainWindow", "Load management", 
0, QApplication::UnicodeUTF8));
+    __item4->setIcon(QIcon(QString::fromUtf8(":/pixmaps/sect-load.png")));
+
+    QListWidgetItem *__item5 = new QListWidgetItem(listWidget);
+    __item5->setText(QApplication::translate("MainWindow", "Modules", 0, 
QApplication::UnicodeUTF8));
+    __item5->setIcon(QIcon(QString::fromUtf8(":/pixmaps/sect-modules.png")));
+
+    QListWidgetItem *__item6 = new QListWidgetItem(listWidget);
+    __item6->setText(QApplication::translate("MainWindow", "Transports", 0, 
QApplication::UnicodeUTF8));
+    
__item6->setIcon(QIcon(QString::fromUtf8(":/pixmaps/sect-transports.png")));
+
+    QListWidgetItem *__item7 = new QListWidgetItem(listWidget);
+    __item7->setText(QApplication::translate("MainWindow", "Applications", 0, 
QApplication::UnicodeUTF8));
+    __item7->setIcon(QIcon(QString::fromUtf8(":/pixmaps/sect-apps.png")));
+    menuFile->setTitle(QApplication::translate("MainWindow", "File", 0, 
QApplication::UnicodeUTF8));
+    } // retranslateUi
+
+};
+
+namespace Ui {
+    class MainWindow: public Ui_MainWindow {};
+} // namespace Ui
+
+#endif // UI_ENHANCED_H

Added: GNUnet/src/setup/qt/ui_gnunet-setup.h
===================================================================
--- GNUnet/src/setup/qt/ui_gnunet-setup.h                               (rev 0)
+++ GNUnet/src/setup/qt/ui_gnunet-setup.h       2007-12-09 22:21:50 UTC (rev 
5835)
@@ -0,0 +1,701 @@
+/********************************************************************************
+** Form generated from reading ui file 'gnunet-setup.ui'
+**
+** Created: Sat Dec 1 13:11:45 2007
+**      by: Qt User Interface Compiler version 4.3.2
+**
+** WARNING! All changes made in this file will be lost when recompiling ui 
file!
+********************************************************************************/
+
+#ifndef UI_GNUNET_2D_SETUP_H
+#define UI_GNUNET_2D_SETUP_H
+
+#include <QtCore/QVariant>
+#include <QtGui/QAction>
+#include <QtGui/QApplication>
+#include <QtGui/QButtonGroup>
+#include <QtGui/QCheckBox>
+#include <QtGui/QComboBox>
+#include <QtGui/QGroupBox>
+#include <QtGui/QHBoxLayout>
+#include <QtGui/QLabel>
+#include <QtGui/QLineEdit>
+#include <QtGui/QPushButton>
+#include <QtGui/QRadioButton>
+#include <QtGui/QSpacerItem>
+#include <QtGui/QSpinBox>
+#include <QtGui/QStackedWidget>
+#include <QtGui/QTextBrowser>
+#include <QtGui/QVBoxLayout>
+#include <QtGui/QWidget>
+
+class Ui_SetupWizard
+{
+public:
+    QVBoxLayout *vboxLayout;
+    QStackedWidget *stackedWidget;
+    QWidget *page;
+    QVBoxLayout *vboxLayout1;
+    QTextBrowser *textBrowser;
+    QWidget *page_2;
+    QVBoxLayout *vboxLayout2;
+    QGroupBox *groupBox;
+    QVBoxLayout *vboxLayout3;
+    QLabel *label;
+    QHBoxLayout *hboxLayout;
+    QLabel *label_2;
+    QSpacerItem *spacerItem;
+    QComboBox *comboBox;
+    QSpacerItem *spacerItem1;
+    QLabel *label_3;
+    QHBoxLayout *hboxLayout1;
+    QLabel *label_4;
+    QSpacerItem *spacerItem2;
+    QLineEdit *lineEdit;
+    QSpacerItem *spacerItem3;
+    QLabel *label_5;
+    QHBoxLayout *hboxLayout2;
+    QCheckBox *checkBox;
+    QSpacerItem *spacerItem4;
+    QWidget *page_3;
+    QVBoxLayout *vboxLayout4;
+    QGroupBox *groupBox_2;
+    QVBoxLayout *vboxLayout5;
+    QLabel *label_6;
+    QHBoxLayout *hboxLayout3;
+    QLabel *label_7;
+    QSpacerItem *spacerItem5;
+    QLineEdit *lineEdit_2;
+    QHBoxLayout *hboxLayout4;
+    QLabel *label_8;
+    QSpacerItem *spacerItem6;
+    QLineEdit *lineEdit_3;
+    QSpacerItem *spacerItem7;
+    QRadioButton *radioButton;
+    QRadioButton *radioButton_2;
+    QSpacerItem *spacerItem8;
+    QLabel *label_9;
+    QHBoxLayout *hboxLayout5;
+    QLabel *label_10;
+    QSpacerItem *spacerItem9;
+    QSpinBox *spinBox;
+    QSpacerItem *spacerItem10;
+    QWidget *page_4;
+    QVBoxLayout *vboxLayout6;
+    QGroupBox *groupBox_3;
+    QVBoxLayout *vboxLayout7;
+    QLabel *label_11;
+    QHBoxLayout *hboxLayout6;
+    QLabel *label_12;
+    QSpacerItem *spacerItem11;
+    QLineEdit *lineEdit_4;
+    QHBoxLayout *hboxLayout7;
+    QLabel *label_13;
+    QSpacerItem *spacerItem12;
+    QLineEdit *lineEdit_5;
+    QSpacerItem *spacerItem13;
+    QWidget *page_5;
+    QVBoxLayout *vboxLayout8;
+    QGroupBox *groupBox_4;
+    QVBoxLayout *vboxLayout9;
+    QLabel *label_14;
+    QCheckBox *checkBox_2;
+    QSpacerItem *spacerItem14;
+    QLabel *label_15;
+    QHBoxLayout *hboxLayout8;
+    QLabel *label_16;
+    QLineEdit *lineEdit_6;
+    QSpacerItem *spacerItem15;
+    QLabel *label_17;
+    QCheckBox *checkBox_3;
+    QSpacerItem *spacerItem16;
+    QLabel *label_18;
+    QCheckBox *checkBox_4;
+    QSpacerItem *spacerItem17;
+    QHBoxLayout *hboxLayout9;
+    QSpacerItem *spacerItem18;
+    QPushButton *pbPrev;
+    QPushButton *pbNext;
+    QPushButton *pbClose;
+
+    void setupUi(QWidget *SetupWizard)
+    {
+fprintf(stderr, "setupUi()\n");
+    if (SetupWizard->objectName().isEmpty())
+        SetupWizard->setObjectName(QString::fromUtf8("SetupWizard"));
+    SetupWizard->resize(640, 480);
+    
SetupWizard->setWindowIcon(QIcon(QString::fromUtf8(":/pixmaps/gnunet-logo-small.png")));
+    vboxLayout = new QVBoxLayout(SetupWizard);
+#ifndef Q_OS_MAC
+    vboxLayout->setSpacing(6);
+#endif
+#ifndef Q_OS_MAC
+    vboxLayout->setMargin(9);
+#endif
+    vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
+    stackedWidget = new QStackedWidget(SetupWizard);
+    stackedWidget->setObjectName(QString::fromUtf8("stackedWidget"));
+    page = new QWidget();
+    page->setObjectName(QString::fromUtf8("page"));
+    vboxLayout1 = new QVBoxLayout(page);
+#ifndef Q_OS_MAC
+    vboxLayout1->setSpacing(6);
+#endif
+#ifndef Q_OS_MAC
+    vboxLayout1->setMargin(9);
+#endif
+    vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1"));
+    textBrowser = new QTextBrowser(page);
+    textBrowser->setObjectName(QString::fromUtf8("textBrowser"));
+
+    vboxLayout1->addWidget(textBrowser);
+
+    stackedWidget->addWidget(page);
+    page_2 = new QWidget();
+    page_2->setObjectName(QString::fromUtf8("page_2"));
+    vboxLayout2 = new QVBoxLayout(page_2);
+#ifndef Q_OS_MAC
+    vboxLayout2->setSpacing(6);
+#endif
+#ifndef Q_OS_MAC
+    vboxLayout2->setMargin(9);
+#endif
+    vboxLayout2->setObjectName(QString::fromUtf8("vboxLayout2"));
+    groupBox = new QGroupBox(page_2);
+    groupBox->setObjectName(QString::fromUtf8("groupBox"));
+    vboxLayout3 = new QVBoxLayout(groupBox);
+#ifndef Q_OS_MAC
+    vboxLayout3->setSpacing(6);
+#endif
+#ifndef Q_OS_MAC
+    vboxLayout3->setMargin(9);
+#endif
+    vboxLayout3->setObjectName(QString::fromUtf8("vboxLayout3"));
+    label = new QLabel(groupBox);
+    label->setObjectName(QString::fromUtf8("label"));
+    label->setFrameShape(QFrame::NoFrame);
+    label->setWordWrap(true);
+
+    vboxLayout3->addWidget(label);
+
+    hboxLayout = new QHBoxLayout();
+#ifndef Q_OS_MAC
+    hboxLayout->setSpacing(6);
+#endif
+    hboxLayout->setMargin(0);
+    hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
+    label_2 = new QLabel(groupBox);
+    label_2->setObjectName(QString::fromUtf8("label_2"));
+    QFont font;
+    font.setFamily(QString::fromUtf8("MS Shell Dlg 2"));
+    font.setPointSize(8);
+    font.setBold(true);
+    font.setItalic(false);
+    font.setUnderline(false);
+    font.setWeight(75);
+    font.setStrikeOut(false);
+    label_2->setFont(font);
+
+    hboxLayout->addWidget(label_2);
+
+    spacerItem = new QSpacerItem(50, 20, QSizePolicy::Maximum, 
QSizePolicy::Minimum);
+
+    hboxLayout->addItem(spacerItem);
+
+    comboBox = new QComboBox(groupBox);
+    comboBox->setObjectName(QString::fromUtf8("comboBox"));
+    comboBox->setMinimumSize(QSize(420, 0));
+
+    hboxLayout->addWidget(comboBox);
+
+
+    vboxLayout3->addLayout(hboxLayout);
+
+    spacerItem1 = new QSpacerItem(20, 20, QSizePolicy::Minimum, 
QSizePolicy::Fixed);
+
+    vboxLayout3->addItem(spacerItem1);
+
+    label_3 = new QLabel(groupBox);
+    label_3->setObjectName(QString::fromUtf8("label_3"));
+    label_3->setWordWrap(true);
+
+    vboxLayout3->addWidget(label_3);
+
+    hboxLayout1 = new QHBoxLayout();
+#ifndef Q_OS_MAC
+    hboxLayout1->setSpacing(6);
+#endif
+    hboxLayout1->setMargin(0);
+    hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
+    label_4 = new QLabel(groupBox);
+    label_4->setObjectName(QString::fromUtf8("label_4"));
+    label_4->setFont(font);
+
+    hboxLayout1->addWidget(label_4);
+
+    spacerItem2 = new QSpacerItem(50, 20, QSizePolicy::Maximum, 
QSizePolicy::Minimum);
+
+    hboxLayout1->addItem(spacerItem2);
+
+    lineEdit = new QLineEdit(groupBox);
+    lineEdit->setObjectName(QString::fromUtf8("lineEdit"));
+    lineEdit->setMinimumSize(QSize(420, 0));
+
+    hboxLayout1->addWidget(lineEdit);
+
+
+    vboxLayout3->addLayout(hboxLayout1);
+
+    spacerItem3 = new QSpacerItem(20, 20, QSizePolicy::Minimum, 
QSizePolicy::Fixed);
+
+    vboxLayout3->addItem(spacerItem3);
+
+    label_5 = new QLabel(groupBox);
+    label_5->setObjectName(QString::fromUtf8("label_5"));
+    label_5->setWordWrap(true);
+
+    vboxLayout3->addWidget(label_5);
+
+    hboxLayout2 = new QHBoxLayout();
+#ifndef Q_OS_MAC
+    hboxLayout2->setSpacing(6);
+#endif
+    hboxLayout2->setMargin(6);
+    hboxLayout2->setObjectName(QString::fromUtf8("hboxLayout2"));
+    checkBox = new QCheckBox(groupBox);
+    checkBox->setObjectName(QString::fromUtf8("checkBox"));
+    checkBox->setFont(font);
+
+    hboxLayout2->addWidget(checkBox);
+
+
+    vboxLayout3->addLayout(hboxLayout2);
+
+    spacerItem4 = new QSpacerItem(20, 40, QSizePolicy::Minimum, 
QSizePolicy::Expanding);
+
+    vboxLayout3->addItem(spacerItem4);
+
+
+    vboxLayout2->addWidget(groupBox);
+
+    stackedWidget->addWidget(page_2);
+    page_3 = new QWidget();
+    page_3->setObjectName(QString::fromUtf8("page_3"));
+    vboxLayout4 = new QVBoxLayout(page_3);
+#ifndef Q_OS_MAC
+    vboxLayout4->setSpacing(6);
+#endif
+#ifndef Q_OS_MAC
+    vboxLayout4->setMargin(9);
+#endif
+    vboxLayout4->setObjectName(QString::fromUtf8("vboxLayout4"));
+    groupBox_2 = new QGroupBox(page_3);
+    groupBox_2->setObjectName(QString::fromUtf8("groupBox_2"));
+    vboxLayout5 = new QVBoxLayout(groupBox_2);
+#ifndef Q_OS_MAC
+    vboxLayout5->setSpacing(6);
+#endif
+#ifndef Q_OS_MAC
+    vboxLayout5->setMargin(9);
+#endif
+    vboxLayout5->setObjectName(QString::fromUtf8("vboxLayout5"));
+    label_6 = new QLabel(groupBox_2);
+    label_6->setObjectName(QString::fromUtf8("label_6"));
+    label_6->setWordWrap(true);
+
+    vboxLayout5->addWidget(label_6);
+
+    hboxLayout3 = new QHBoxLayout();
+#ifndef Q_OS_MAC
+    hboxLayout3->setSpacing(6);
+#endif
+    hboxLayout3->setMargin(0);
+    hboxLayout3->setObjectName(QString::fromUtf8("hboxLayout3"));
+    label_7 = new QLabel(groupBox_2);
+    label_7->setObjectName(QString::fromUtf8("label_7"));
+    label_7->setFont(font);
+
+    hboxLayout3->addWidget(label_7);
+
+    spacerItem5 = new QSpacerItem(40, 20, QSizePolicy::Expanding, 
QSizePolicy::Minimum);
+
+    hboxLayout3->addItem(spacerItem5);
+
+    lineEdit_2 = new QLineEdit(groupBox_2);
+    lineEdit_2->setObjectName(QString::fromUtf8("lineEdit_2"));
+    lineEdit_2->setMinimumSize(QSize(420, 0));
+
+    hboxLayout3->addWidget(lineEdit_2);
+
+
+    vboxLayout5->addLayout(hboxLayout3);
+
+    hboxLayout4 = new QHBoxLayout();
+#ifndef Q_OS_MAC
+    hboxLayout4->setSpacing(6);
+#endif
+    hboxLayout4->setMargin(0);
+    hboxLayout4->setObjectName(QString::fromUtf8("hboxLayout4"));
+    label_8 = new QLabel(groupBox_2);
+    label_8->setObjectName(QString::fromUtf8("label_8"));
+    label_8->setFont(font);
+
+    hboxLayout4->addWidget(label_8);
+
+    spacerItem6 = new QSpacerItem(50, 20, QSizePolicy::Maximum, 
QSizePolicy::Minimum);
+
+    hboxLayout4->addItem(spacerItem6);
+
+    lineEdit_3 = new QLineEdit(groupBox_2);
+    lineEdit_3->setObjectName(QString::fromUtf8("lineEdit_3"));
+    lineEdit_3->setMinimumSize(QSize(420, 0));
+
+    hboxLayout4->addWidget(lineEdit_3);
+
+
+    vboxLayout5->addLayout(hboxLayout4);
+
+    spacerItem7 = new QSpacerItem(20, 20, QSizePolicy::Minimum, 
QSizePolicy::Fixed);
+
+    vboxLayout5->addItem(spacerItem7);
+
+    radioButton = new QRadioButton(groupBox_2);
+    radioButton->setObjectName(QString::fromUtf8("radioButton"));
+    radioButton->setFont(font);
+
+    vboxLayout5->addWidget(radioButton);
+
+    radioButton_2 = new QRadioButton(groupBox_2);
+    radioButton_2->setObjectName(QString::fromUtf8("radioButton_2"));
+    radioButton_2->setFont(font);
+
+    vboxLayout5->addWidget(radioButton_2);
+
+    spacerItem8 = new QSpacerItem(20, 20, QSizePolicy::Minimum, 
QSizePolicy::Fixed);
+
+    vboxLayout5->addItem(spacerItem8);
+
+    label_9 = new QLabel(groupBox_2);
+    label_9->setObjectName(QString::fromUtf8("label_9"));
+    label_9->setWordWrap(true);
+
+    vboxLayout5->addWidget(label_9);
+
+    hboxLayout5 = new QHBoxLayout();
+#ifndef Q_OS_MAC
+    hboxLayout5->setSpacing(6);
+#endif
+    hboxLayout5->setMargin(0);
+    hboxLayout5->setObjectName(QString::fromUtf8("hboxLayout5"));
+    label_10 = new QLabel(groupBox_2);
+    label_10->setObjectName(QString::fromUtf8("label_10"));
+    label_10->setFont(font);
+
+    hboxLayout5->addWidget(label_10);
+
+    spacerItem9 = new QSpacerItem(50, 20, QSizePolicy::Maximum, 
QSizePolicy::Minimum);
+
+    hboxLayout5->addItem(spacerItem9);
+
+    spinBox = new QSpinBox(groupBox_2);
+    spinBox->setObjectName(QString::fromUtf8("spinBox"));
+    spinBox->setMinimumSize(QSize(420, 0));
+
+    hboxLayout5->addWidget(spinBox);
+
+
+    vboxLayout5->addLayout(hboxLayout5);
+
+    spacerItem10 = new QSpacerItem(20, 40, QSizePolicy::Minimum, 
QSizePolicy::Expanding);
+
+    vboxLayout5->addItem(spacerItem10);
+
+
+    vboxLayout4->addWidget(groupBox_2);
+
+    stackedWidget->addWidget(page_3);
+    page_4 = new QWidget();
+    page_4->setObjectName(QString::fromUtf8("page_4"));
+    vboxLayout6 = new QVBoxLayout(page_4);
+#ifndef Q_OS_MAC
+    vboxLayout6->setSpacing(6);
+#endif
+#ifndef Q_OS_MAC
+    vboxLayout6->setMargin(9);
+#endif
+    vboxLayout6->setObjectName(QString::fromUtf8("vboxLayout6"));
+    groupBox_3 = new QGroupBox(page_4);
+    groupBox_3->setObjectName(QString::fromUtf8("groupBox_3"));
+    vboxLayout7 = new QVBoxLayout(groupBox_3);
+#ifndef Q_OS_MAC
+    vboxLayout7->setSpacing(6);
+#endif
+#ifndef Q_OS_MAC
+    vboxLayout7->setMargin(9);
+#endif
+    vboxLayout7->setObjectName(QString::fromUtf8("vboxLayout7"));
+    label_11 = new QLabel(groupBox_3);
+    label_11->setObjectName(QString::fromUtf8("label_11"));
+    label_11->setWordWrap(true);
+
+    vboxLayout7->addWidget(label_11);
+
+    hboxLayout6 = new QHBoxLayout();
+#ifndef Q_OS_MAC
+    hboxLayout6->setSpacing(6);
+#endif
+    hboxLayout6->setMargin(0);
+    hboxLayout6->setObjectName(QString::fromUtf8("hboxLayout6"));
+    label_12 = new QLabel(groupBox_3);
+    label_12->setObjectName(QString::fromUtf8("label_12"));
+    label_12->setFont(font);
+
+    hboxLayout6->addWidget(label_12);
+
+    spacerItem11 = new QSpacerItem(50, 20, QSizePolicy::Expanding, 
QSizePolicy::Minimum);
+
+    hboxLayout6->addItem(spacerItem11);
+
+    lineEdit_4 = new QLineEdit(groupBox_3);
+    lineEdit_4->setObjectName(QString::fromUtf8("lineEdit_4"));
+    lineEdit_4->setMinimumSize(QSize(440, 0));
+
+    hboxLayout6->addWidget(lineEdit_4);
+
+
+    vboxLayout7->addLayout(hboxLayout6);
+
+    hboxLayout7 = new QHBoxLayout();
+#ifndef Q_OS_MAC
+    hboxLayout7->setSpacing(6);
+#endif
+    hboxLayout7->setMargin(0);
+    hboxLayout7->setObjectName(QString::fromUtf8("hboxLayout7"));
+    label_13 = new QLabel(groupBox_3);
+    label_13->setObjectName(QString::fromUtf8("label_13"));
+    label_13->setFont(font);
+
+    hboxLayout7->addWidget(label_13);
+
+    spacerItem12 = new QSpacerItem(50, 20, QSizePolicy::Expanding, 
QSizePolicy::Minimum);
+
+    hboxLayout7->addItem(spacerItem12);
+
+    lineEdit_5 = new QLineEdit(groupBox_3);
+    lineEdit_5->setObjectName(QString::fromUtf8("lineEdit_5"));
+    lineEdit_5->setMinimumSize(QSize(440, 0));
+
+    hboxLayout7->addWidget(lineEdit_5);
+
+
+    vboxLayout7->addLayout(hboxLayout7);
+
+    spacerItem13 = new QSpacerItem(20, 40, QSizePolicy::Minimum, 
QSizePolicy::Expanding);
+
+    vboxLayout7->addItem(spacerItem13);
+
+
+    vboxLayout6->addWidget(groupBox_3);
+
+    stackedWidget->addWidget(page_4);
+    page_5 = new QWidget();
+    page_5->setObjectName(QString::fromUtf8("page_5"));
+    vboxLayout8 = new QVBoxLayout(page_5);
+#ifndef Q_OS_MAC
+    vboxLayout8->setSpacing(6);
+#endif
+#ifndef Q_OS_MAC
+    vboxLayout8->setMargin(9);
+#endif
+    vboxLayout8->setObjectName(QString::fromUtf8("vboxLayout8"));
+    groupBox_4 = new QGroupBox(page_5);
+    groupBox_4->setObjectName(QString::fromUtf8("groupBox_4"));
+    vboxLayout9 = new QVBoxLayout(groupBox_4);
+#ifndef Q_OS_MAC
+    vboxLayout9->setSpacing(6);
+#endif
+#ifndef Q_OS_MAC
+    vboxLayout9->setMargin(9);
+#endif
+    vboxLayout9->setObjectName(QString::fromUtf8("vboxLayout9"));
+    label_14 = new QLabel(groupBox_4);
+    label_14->setObjectName(QString::fromUtf8("label_14"));
+    label_14->setWordWrap(true);
+
+    vboxLayout9->addWidget(label_14);
+
+    checkBox_2 = new QCheckBox(groupBox_4);
+    checkBox_2->setObjectName(QString::fromUtf8("checkBox_2"));
+    checkBox_2->setFont(font);
+
+    vboxLayout9->addWidget(checkBox_2);
+
+    spacerItem14 = new QSpacerItem(20, 20, QSizePolicy::Minimum, 
QSizePolicy::Fixed);
+
+    vboxLayout9->addItem(spacerItem14);
+
+    label_15 = new QLabel(groupBox_4);
+    label_15->setObjectName(QString::fromUtf8("label_15"));
+    label_15->setWordWrap(true);
+
+    vboxLayout9->addWidget(label_15);
+
+    hboxLayout8 = new QHBoxLayout();
+#ifndef Q_OS_MAC
+    hboxLayout8->setSpacing(6);
+#endif
+    hboxLayout8->setMargin(0);
+    hboxLayout8->setObjectName(QString::fromUtf8("hboxLayout8"));
+    label_16 = new QLabel(groupBox_4);
+    label_16->setObjectName(QString::fromUtf8("label_16"));
+    label_16->setFont(font);
+
+    hboxLayout8->addWidget(label_16);
+
+    lineEdit_6 = new QLineEdit(groupBox_4);
+    lineEdit_6->setObjectName(QString::fromUtf8("lineEdit_6"));
+
+    hboxLayout8->addWidget(lineEdit_6);
+
+
+    vboxLayout9->addLayout(hboxLayout8);
+
+    spacerItem15 = new QSpacerItem(20, 20, QSizePolicy::Minimum, 
QSizePolicy::Fixed);
+
+    vboxLayout9->addItem(spacerItem15);
+
+    label_17 = new QLabel(groupBox_4);
+    label_17->setObjectName(QString::fromUtf8("label_17"));
+    label_17->setWordWrap(true);
+
+    vboxLayout9->addWidget(label_17);
+
+    checkBox_3 = new QCheckBox(groupBox_4);
+    checkBox_3->setObjectName(QString::fromUtf8("checkBox_3"));
+    checkBox_3->setFont(font);
+
+    vboxLayout9->addWidget(checkBox_3);
+
+    spacerItem16 = new QSpacerItem(20, 20, QSizePolicy::Minimum, 
QSizePolicy::Fixed);
+
+    vboxLayout9->addItem(spacerItem16);
+
+    label_18 = new QLabel(groupBox_4);
+    label_18->setObjectName(QString::fromUtf8("label_18"));
+    label_18->setWordWrap(true);
+
+    vboxLayout9->addWidget(label_18);
+
+    checkBox_4 = new QCheckBox(groupBox_4);
+    checkBox_4->setObjectName(QString::fromUtf8("checkBox_4"));
+    checkBox_4->setFont(font);
+
+    vboxLayout9->addWidget(checkBox_4);
+
+    spacerItem17 = new QSpacerItem(20, 40, QSizePolicy::Minimum, 
QSizePolicy::Expanding);
+
+    vboxLayout9->addItem(spacerItem17);
+
+
+    vboxLayout8->addWidget(groupBox_4);
+
+    stackedWidget->addWidget(page_5);
+
+    vboxLayout->addWidget(stackedWidget);
+
+    hboxLayout9 = new QHBoxLayout();
+#ifndef Q_OS_MAC
+    hboxLayout9->setSpacing(6);
+#endif
+    hboxLayout9->setMargin(0);
+    hboxLayout9->setObjectName(QString::fromUtf8("hboxLayout9"));
+    spacerItem18 = new QSpacerItem(40, 20, QSizePolicy::Expanding, 
QSizePolicy::Minimum);
+
+    hboxLayout9->addItem(spacerItem18);
+
+    pbPrev = new QPushButton(SetupWizard);
+    pbPrev->setObjectName(QString::fromUtf8("pbPrev"));
+    pbPrev->setMinimumSize(QSize(75, 0));
+    pbPrev->setIcon(QIcon(QString::fromUtf8(":/pixmaps/go-previous.png")));
+    pbPrev->setIconSize(QSize(22, 22));
+
+    hboxLayout9->addWidget(pbPrev);
+
+    pbNext = new QPushButton(SetupWizard);
+    pbNext->setObjectName(QString::fromUtf8("pbNext"));
+    pbNext->setMinimumSize(QSize(75, 0));
+    pbNext->setIcon(QIcon(QString::fromUtf8(":/pixmaps/go-next.png")));
+    pbNext->setIconSize(QSize(22, 22));
+
+    hboxLayout9->addWidget(pbNext);
+
+    pbClose = new QPushButton(SetupWizard);
+    pbClose->setObjectName(QString::fromUtf8("pbClose"));
+    pbClose->setMinimumSize(QSize(75, 0));
+    pbClose->setIcon(QIcon(QString::fromUtf8(":/pixmaps/close.png")));
+    pbClose->setIconSize(QSize(22, 22));
+
+    hboxLayout9->addWidget(pbClose);
+
+
+    vboxLayout->addLayout(hboxLayout9);
+
+
+    retranslateUi(SetupWizard);
+
+    stackedWidget->setCurrentIndex(0);
+
+
+    QMetaObject::connectSlotsByName(SetupWizard);
+    } // setupUi
+
+    void retranslateUi(QWidget *SetupWizard)
+    {
+    SetupWizard->setWindowTitle(QApplication::translate("SetupWizard", "GNUnet 
setup", 0, QApplication::UnicodeUTF8));
+    groupBox->setTitle(QApplication::translate("SetupWizard", "Network 
connection - enter information about your network connection here", 0, 
QApplication::UnicodeUTF8));
+    label->setText(QApplication::translate("SetupWizard", "Choose the device 
that connects your computer to the internet. This is usually a modem, an ISDN 
card or a network card in case you are using DSL.", 0, 
QApplication::UnicodeUTF8));
+    label_2->setText(QApplication::translate("SetupWizard", "Network 
interface:", 0, QApplication::UnicodeUTF8));
+    label_3->setText(QApplication::translate("SetupWizard", "If your provider 
always assigns the same IP-Address to you (a \"static\" IP-Address), enter it 
into this field. If your IP-Address changes every now and then (\"dynamic\" 
IP-Address) but there's a hostname that always points to your actual IP-Address 
(\"Dynamic DNS\"), you can also enter it here.\n"
+"If in doubt, leave the field empty. GNUnet will then try to determine your 
IP-Address.", 0, QApplication::UnicodeUTF8));
+    label_4->setText(QApplication::translate("SetupWizard", 
"IP-Address/Hostname:", 0, QApplication::UnicodeUTF8));
+    label_5->setText(QApplication::translate("SetupWizard", "If you are 
connected to the internet through another computer doing SNAT, a router or a 
\"hardware firewall\" and other computers on the internet cannot connect to 
this computer, check the this option on this page. Leave it unchecked on direct 
connections through modems, ISDN cards and DNAT (also known as \"port 
forwarding\").", 0, QApplication::UnicodeUTF8));
+    checkBox->setText(QApplication::translate("SetupWizard", "Computer cannot 
receive inbound connections", 0, QApplication::UnicodeUTF8));
+    groupBox_2->setTitle(QApplication::translate("SetupWizard", "Load 
limitation - limit GNUnet's ressource usage here", 0, 
QApplication::UnicodeUTF8));
+    label_6->setText(QApplication::translate("SetupWizard", "This is how much 
data may be sent per second. If you have a flatrate you can set it to the 
maximum speed of your internet connection.", 0, QApplication::UnicodeUTF8));
+    label_7->setText(QApplication::translate("SetupWizard", "Upstream 
(Bytes/s):", 0, QApplication::UnicodeUTF8));
+    label_8->setText(QApplication::translate("SetupWizard", "Downstream 
(Bytes/s):", 0, QApplication::UnicodeUTF8));
+    radioButton->setText(QApplication::translate("SetupWizard", "Use denoted 
bandwidth for GNUnet", 0, QApplication::UnicodeUTF8));
+    radioButton_2->setText(QApplication::translate("SetupWizard", "Share 
denoted bandwidth with other applications", 0, QApplication::UnicodeUTF8));
+    label_9->setText(QApplication::translate("SetupWizard", "Enter the 
percentage of processor time GNUnet is allowed to use here.", 0, 
QApplication::UnicodeUTF8));
+    label_10->setText(QApplication::translate("SetupWizard", "Maximum CPU 
usage (%):", 0, QApplication::UnicodeUTF8));
+    groupBox_3->setTitle(QApplication::translate("SetupWizard", "Security 
settings - specify the user and the group owning the GNUnet service here", 0, 
QApplication::UnicodeUTF8));
+    label_11->setText(QApplication::translate("SetupWizard", "For security 
reasons, it is a good idea to let this setup create a new user account and a 
new group under which the GNUnet service is started at system startup.\n"
+"\n"
+"However, GNUnet may not be able to access files other than its own. This 
includes files you want to publish in GNUnet. You will have to grant read 
permissions to the user specified below.\n"
+"\n"
+"Leave the fields empty to run GNUnet with system privileges.", 0, 
QApplication::UnicodeUTF8));
+    label_12->setText(QApplication::translate("SetupWizard", "User account:", 
0, QApplication::UnicodeUTF8));
+    label_13->setText(QApplication::translate("SetupWizard", "Group:", 0, 
QApplication::UnicodeUTF8));
+    groupBox_4->setTitle(QApplication::translate("SetupWizard", "Other 
settings", 0, QApplication::UnicodeUTF8));
+    label_14->setText(QApplication::translate("SetupWizard", "GNUnet is able 
to store data from other peers in your datastore. This is useful if an 
adversary has access to your inserted content and you need to deny that the 
content is yours. With \"content migration\" on, the content could have 
\"migrated\" over the internet to your node without your knowledge.\n"
+"It also helps to spread popular content over different peers to enhance 
availability.", 0, QApplication::UnicodeUTF8));
+    checkBox_2->setText(QApplication::translate("SetupWizard", "Store migrated 
content", 0, QApplication::UnicodeUTF8));
+    label_15->setText(QApplication::translate("SetupWizard", "The GNUnet 
datastore contains all data that GNUnet generates (index data, inserted and 
migrated content). Its maximum size can be specified below.", 0, 
QApplication::UnicodeUTF8));
+    label_16->setText(QApplication::translate("SetupWizard", "Maximum 
datastore size (MB):", 0, QApplication::UnicodeUTF8));
+    label_17->setText(QApplication::translate("SetupWizard", "If you are an 
experienced user, you may want to tweak your GNUnet installation using the 
enhanced configurator.", 0, QApplication::UnicodeUTF8));
+    checkBox_3->setText(QApplication::translate("SetupWizard", "Open the 
enhanced configurator", 0, QApplication::UnicodeUTF8));
+    label_18->setText(QApplication::translate("SetupWizard", "After changing 
the configuration and/or updating GNUnet, it is sometimes required to run 
gnunet-update to update internal data structures. Depending on the changes 
made, this may take some time.", 0, QApplication::UnicodeUTF8));
+    checkBox_4->setText(QApplication::translate("SetupWizard", "Run 
gnunet-update", 0, QApplication::UnicodeUTF8));
+    pbPrev->setText(QApplication::translate("SetupWizard", "Previous", 0, 
QApplication::UnicodeUTF8));
+    pbNext->setText(QApplication::translate("SetupWizard", "Next", 0, 
QApplication::UnicodeUTF8));
+    pbClose->setText(QApplication::translate("SetupWizard", "Close", 0, 
QApplication::UnicodeUTF8));
+    Q_UNUSED(SetupWizard);
+    } // retranslateUi
+
+};
+
+namespace Ui {
+    class SetupWizard: public Ui_SetupWizard {};
+} // namespace Ui
+
+#endif // UI_GNUNET_2D_SETUP_H





reply via email to

[Prev in Thread] Current Thread [Next in Thread]