Mercurial > hg > octave-nkf
view gui/src/WelcomeWizard.ui @ 14664:664f54233c98 gui
Extracted model code from the WorkspaceView and rearranged it in a new model class.
* WorkspaceModel.cpp/.h (new class): Model class for the workspace.
* WorkspaceView.cpp/.h: Replaced QTreeWidget with QTreeView and removed model code.
* OctaveLink.cpp/.h: Removed symbol table semaphore and methods to access the copy of the symbol table, removed copying the symbol table.
* src.pro: Added new files to Qt project.
author | Jacob Dawid <jacob.dawid@googlemail.com> |
---|---|
date | Sun, 20 May 2012 22:05:49 +0200 |
parents | be3e1a14a6de |
children |
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>WelcomeWizard</class> <widget class="QDialog" name="WelcomeWizard"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>647</width> <height>400</height> </rect> </property> <property name="minimumSize"> <size> <width>647</width> <height>400</height> </size> </property> <property name="maximumSize"> <size> <width>647</width> <height>400</height> </size> </property> <property name="windowTitle"> <string>Welcome to GNU Octave</string> </property> <layout class="QVBoxLayout" name="verticalLayout_2"> <item> <widget class="QStackedWidget" name="stackedWidget"> <property name="currentIndex"> <number>4</number> </property> <widget class="QWidget" name="page"> <layout class="QVBoxLayout" name="verticalLayout"> <item> <widget class="QLabel" name="label"> <property name="text"> <string>It appears that you have launched Octave GUI for the first time on this computer, since no configuration file could be found at '~/.octave-gui'. This wizard will guide you through the essential settings you should make before you can start using Octave GUI. If you want to transfer your settings you have previously made just close this dialog and copy over the settings file to your home folder. The presence of that file will automatically be detected and will skip this wizard. IMPORTANT: This wizard is not fully functional yet. Just click your way to the end and it will create a standard settings file.</string> </property> <property name="alignment"> <set>Qt::AlignJustify|Qt::AlignVCenter</set> </property> <property name="wordWrap"> <bool>true</bool> </property> </widget> </item> <item> <spacer name="verticalSpacer"> <property name="orientation"> <enum>Qt::Vertical</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>20</width> <height>218</height> </size> </property> </spacer> </item> <item> <layout class="QHBoxLayout" name="horizontalLayout_2"> <item> <spacer name="horizontalSpacer"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> <item> <widget class="QPushButton" name="nextButton1"> <property name="text"> <string>Next</string> </property> </widget> </item> </layout> </item> </layout> </widget> <widget class="QWidget" name="page_2"> <layout class="QVBoxLayout" name="verticalLayout_4"> <item> <layout class="QVBoxLayout" name="verticalLayout_3"> <item> <spacer name="verticalSpacer_2"> <property name="orientation"> <enum>Qt::Vertical</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>20</width> <height>40</height> </size> </property> </spacer> </item> <item> <layout class="QHBoxLayout" name="horizontalLayout"> <item> <widget class="QPushButton" name="previousButton2"> <property name="text"> <string>Previous</string> </property> </widget> </item> <item> <spacer name="horizontalSpacer_2"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> <item> <widget class="QPushButton" name="nextButton2"> <property name="text"> <string>Next</string> </property> </widget> </item> </layout> </item> </layout> </item> </layout> </widget> <widget class="QWidget" name="page_3"> <layout class="QHBoxLayout" name="horizontalLayout_4"> <item> <layout class="QVBoxLayout" name="verticalLayout_5"> <item> <spacer name="verticalSpacer_3"> <property name="orientation"> <enum>Qt::Vertical</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>20</width> <height>40</height> </size> </property> </spacer> </item> <item> <layout class="QHBoxLayout" name="horizontalLayout_3"> <item> <widget class="QPushButton" name="previousButton3"> <property name="text"> <string>Previous</string> </property> </widget> </item> <item> <spacer name="horizontalSpacer_3"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> <item> <widget class="QPushButton" name="nextButton3"> <property name="text"> <string>Next</string> </property> </widget> </item> </layout> </item> </layout> </item> </layout> </widget> <widget class="QWidget" name="page_4"> <layout class="QHBoxLayout" name="horizontalLayout_6"> <item> <layout class="QVBoxLayout" name="verticalLayout_6"> <item> <spacer name="verticalSpacer_4"> <property name="orientation"> <enum>Qt::Vertical</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>20</width> <height>40</height> </size> </property> </spacer> </item> <item> <layout class="QHBoxLayout" name="horizontalLayout_5"> <item> <widget class="QPushButton" name="previousButton4"> <property name="text"> <string>Previous</string> </property> </widget> </item> <item> <spacer name="horizontalSpacer_4"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> <item> <widget class="QPushButton" name="nextButton4"> <property name="text"> <string>Next</string> </property> </widget> </item> </layout> </item> </layout> </item> </layout> </widget> <widget class="QWidget" name="page_5"> <layout class="QHBoxLayout" name="horizontalLayout_8"> <item> <layout class="QVBoxLayout" name="verticalLayout_7"> <item> <widget class="QLabel" name="label_2"> <property name="font"> <font> <pointsize>20</pointsize> </font> </property> <property name="text"> <string>Welcome to Octave!</string> </property> </widget> </item> <item> <widget class="QLabel" name="label_3"> <property name="text"> <string>This is the development version of Octave with the first official GUI.</string> </property> <property name="wordWrap"> <bool>true</bool> </property> </widget> </item> <item> <widget class="QLabel" name="label_4"> <property name="text"> <string>You seem to run Octave GUI for the first time on this computer. This assistant will help you to configure this software installation. Click 'Finish' to write a configuration file and launch Octave GUI.</string> </property> <property name="wordWrap"> <bool>true</bool> </property> </widget> </item> <item> <spacer name="verticalSpacer_5"> <property name="orientation"> <enum>Qt::Vertical</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>20</width> <height>40</height> </size> </property> </spacer> </item> <item> <layout class="QHBoxLayout" name="horizontalLayout_7"> <item> <widget class="QPushButton" name="previousButton5"> <property name="enabled"> <bool>false</bool> </property> <property name="text"> <string>Previous</string> </property> </widget> </item> <item> <spacer name="horizontalSpacer_5"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> <item> <widget class="QPushButton" name="finishButton"> <property name="text"> <string>Finish</string> </property> </widget> </item> </layout> </item> </layout> </item> </layout> </widget> </widget> </item> </layout> </widget> <resources/> <connections> <connection> <sender>finishButton</sender> <signal>clicked()</signal> <receiver>WelcomeWizard</receiver> <slot>accept()</slot> <hints> <hint type="sourcelabel"> <x>577</x> <y>372</y> </hint> <hint type="destinationlabel"> <x>323</x> <y>199</y> </hint> </hints> </connection> </connections> </ui>