Author: coolo
Date: Thu Nov 29 12:08:08 2007
New Revision: 42499
URL: http://svn.opensuse.org/viewcvs/yast?rev=42499&view=rev
Log:
Help is from now on in a popup that makes it possible to
read the text line by line
Added:
branches/tmp/coolo/wizard-rework/src/QHelpDialog.ui
Modified:
branches/tmp/coolo/wizard-rework/src/CMakeLists.txt
branches/tmp/coolo/wizard-rework/src/YQWizard.cc
branches/tmp/coolo/wizard-rework/src/YQWizard.h
Modified: branches/tmp/coolo/wizard-rework/src/CMakeLists.txt
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/coolo/wizard-rework/src/CMakeLists.txt?rev=42499&r1=42498&r2=42499&view=diff
==============================================================================
--- branches/tmp/coolo/wizard-rework/src/CMakeLists.txt (original)
+++ branches/tmp/coolo/wizard-rework/src/CMakeLists.txt Thu Nov 29 12:08:08 2007
@@ -32,6 +32,8 @@
QT4_AUTOMOC(${qt4_yast_plugin_SRCS})
+QT4_WRAP_UI(qt4_yast_plugin_SRCS QHelpDialog.ui)
+
INCLUDE_DIRECTORIES( ${QT_INCLUDES} )
INCLUDE_DIRECTORIES( ${YAST_INCLUDE_DIR} )
INCLUDE_DIRECTORIES( ${YAST_INCLUDE_DIR}/yui )
@@ -50,6 +52,5 @@
#ADD_SUBDIRECTORY(pkg)
-
#SET_TARGET_PROPERTIES( y2lang_qt4 PROPERTIES PREFIX "" )
Added: branches/tmp/coolo/wizard-rework/src/QHelpDialog.ui
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/coolo/wizard-rework/src/QHelpDialog.ui?rev=42499&view=auto
==============================================================================
--- branches/tmp/coolo/wizard-rework/src/QHelpDialog.ui (added)
+++ branches/tmp/coolo/wizard-rework/src/QHelpDialog.ui Thu Nov 29 12:08:08 2007
@@ -0,0 +1,68 @@
+<ui version="4.0" >
+ <class>QHelpDialog</class>
+ <widget class="QDialog" name="QHelpDialog" >
+ <property name="geometry" >
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>400</width>
+ <height>300</height>
+ </rect>
+ </property>
+ <property name="windowTitle" >
+ <string>Help</string>
+ </property>
+ <layout class="QVBoxLayout" >
+ <item>
+ <layout class="QVBoxLayout" >
+ <item>
+ <widget class="QTextBrowser" name="textBrowser" />
+ </item>
+ <item>
+ <layout class="QHBoxLayout" >
+ <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="pushButton" >
+ <property name="text" >
+ <string>Close</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ </layout>
+ </item>
+ </layout>
+ </widget>
+ <resources/>
+ <connections>
+ <connection>
+ <sender>pushButton</sender>
+ <signal>clicked()</signal>
+ <receiver>QHelpDialog</receiver>
+ <slot>accept()</slot>
+ <hints>
+ <hint type="sourcelabel" >
+ <x>371</x>
+ <y>282</y>
+ </hint>
+ <hint type="destinationlabel" >
+ <x>289</x>
+ <y>-15</y>
+ </hint>
+ </hints>
+ </connection>
+ </connections>
+</ui>
Modified: branches/tmp/coolo/wizard-rework/src/YQWizard.cc
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/coolo/wizard-rework/src/YQWizard.cc?rev=42499&r1=42498&r2=42499&view=diff
==============================================================================
--- branches/tmp/coolo/wizard-rework/src/YQWizard.cc (original)
+++ branches/tmp/coolo/wizard-rework/src/YQWizard.cc Thu Nov 29 12:08:08 2007
@@ -28,6 +28,8 @@
#include <string>
#include