On Fri, Nov 19, 2010 at 05:48:05PM +0100, Stephan Witt wrote: > Am 19.11.2010 um 14:52 schrieb Enrico Forestieri: > > Stephan, does the attached layout file work on Mac? > > No. Unfortunately not. :(
Hmm. Last attempt. What about the attached one? -- Enrico
<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>SpellcheckerUi</class> <widget class="QDockWidget" name="SpellcheckerUi"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>264</width> <height>388</height> </rect> </property> <property name="windowTitle"> <string>DockWidget</string> </property> <widget class="QWidget" name="dockWidgetContents"> <layout class="QGridLayout" name="gridLayout"> <item row="0" column="0" colspan="2"> <layout class="QHBoxLayout" name="horizontalLayout"> <item> <widget class="QLabel" name="languageLA"> <property name="text"> <string>&Language:</string> </property> <property name="buddy"> <cstring>languageCO</cstring> </property> </widget> </item> <item> <widget class="QComboBox" name="languageCO"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="toolTip"> <string>The checked language. Switching this alters the language of the checked word.</string> </property> </widget> </item> </layout> </item> <item row="1" column="0" colspan="2"> <widget class="Line" name="line"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> </widget> </item> <item row="2" column="0"> <widget class="QLabel" name="TextLabel3"> <property name="text"> <string>Unknown word:</string> </property> <property name="buddy"> <cstring>wordED</cstring> </property> </widget> </item> <item row="3" column="0"> <widget class="QLineEdit" name="wordED"> <property name="toolTip"> <string>Current word</string> </property> </widget> </item> <item row="3" column="1"> <widget class="QPushButton" name="findNextPB"> <property name="sizePolicy"> <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="toolTip"> <string>Replace word with current choice</string> </property> <property name="text"> <string>&Find Next</string> </property> </widget> </item> <item row="4" column="0"> <widget class="QLabel" name="TextLabel1"> <property name="text"> <string>Re&placement:</string> </property> <property name="buddy"> <cstring>replaceCO</cstring> </property> </widget> </item> <item row="5" column="0"> <widget class="QComboBox" name="replaceCO"> <property name="focusPolicy"> <enum>Qt::StrongFocus</enum> </property> <property name="toolTip"> <string>Replace with selected word</string> </property> <property name="editable"> <bool>true</bool> </property> <property name="insertPolicy"> <enum>QComboBox::InsertAtTop</enum> </property> <property name="autoCompletion"> <bool>true</bool> </property> <property name="duplicatesEnabled"> <bool>false</bool> </property> </widget> </item> <item row="5" column="1"> <widget class="QPushButton" name="replacePB"> <property name="sizePolicy"> <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="toolTip"> <string>Replace word with current choice</string> </property> <property name="text"> <string>&Replace</string> </property> </widget> </item> <item row="6" column="0"> <widget class="QLabel" name="TextLabel2"> <property name="sizePolicy"> <sizepolicy hsizetype="Preferred" vsizetype="Maximum"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="text"> <string>S&uggestions:</string> </property> <property name="buddy"> <cstring>suggestionsLW</cstring> </property> </widget> </item> <item row="6" column="1"> <widget class="QPushButton" name="replaceAllPB"> <property name="sizePolicy"> <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="toolTip"> <string>Replace word with current choice</string> </property> <property name="text"> <string>Replace &All</string> </property> </widget> </item> <item row="7" column="0" rowspan="4"> <widget class="QListWidget" name="suggestionsLW"/> </item> <item row="7" column="1"> <widget class="QPushButton" name="ignorePB"> <property name="sizePolicy"> <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="toolTip"> <string>Ignore this word</string> </property> <property name="text"> <string>&Ignore</string> </property> </widget> </item> <item row="8" column="1"> <widget class="QPushButton" name="ignoreAllPB"> <property name="sizePolicy"> <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="toolTip"> <string>Ignore this word throughout this session</string> </property> <property name="text"> <string>I&gnore All</string> </property> </widget> </item> <item row="9" column="1"> <widget class="QPushButton" name="addPB"> <property name="sizePolicy"> <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="toolTip"> <string>Add the word to your personal dictionary</string> </property> <property name="text"> <string>A&dd</string> </property> </widget> </item> <item row="10" column="1"> <spacer> <property name="orientation"> <enum>Qt::Vertical</enum> </property> <property name="sizeType"> <enum>QSizePolicy::Expanding</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>74</width> <height>98</height> </size> </property> </spacer> </item> <item row="11" column="0"> <widget class="QProgressBar" name="spellcheckPR"> <property name="value"> <number>24</number> </property> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> </widget> </item> <item row="11" column="1"> <widget class="QPushButton" name="closePB"> <property name="sizePolicy"> <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="text"> <string>&Close</string> </property> </widget> </item> </layout> </widget> </widget> <resources/> <connections/> </ui>