[Kst] branches/work/kst/portto4/kst/src/datasources/ascii
Peter Kümmel
syntheticpp at gmx.net
Wed Oct 17 07:54:57 UTC 2012
SVN commit 1320842 by kuemmel:
adjust ascii config dialog
M +60 -103 asciiconfig.ui
--- branches/work/kst/portto4/kst/src/datasources/ascii/asciiconfig.ui #1320841:1320842
@@ -7,10 +7,16 @@
<x>0</x>
<y>0</y>
<width>839</width>
- <height>600</height>
+ <height>619</height>
</rect>
</property>
- <layout class="QGridLayout" name="gridLayout" columnminimumwidth="2,0,0">
+ <layout class="QGridLayout" name="mainGridLayout" columnstretch="2,0,0" columnminimumwidth="300,0,0">
+ <property name="margin">
+ <number>0</number>
+ </property>
+ <property name="spacing">
+ <number>9</number>
+ </property>
<item row="0" column="0">
<widget class="QLabel" name="_labelBeginning">
<property name="text">
@@ -18,32 +24,16 @@
</property>
</widget>
</item>
- <item row="1" column="0">
- <widget class="QPlainTextEdit" name="_showBeginning"/>
- </item>
- <item row="1" column="1">
- <widget class="Line" name="verticalLine">
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- </widget>
- </item>
- <item row="1" column="2">
+ <item row="0" column="2" rowspan="2">
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QGroupBox" name="headerButtonGroup">
<property name="title">
<string>Header</string>
</property>
+ <layout class="QGridLayout" name="gridLayout">
+ <item row="0" column="0">
<widget class="QLabel" name="textLabel1_3">
- <property name="geometry">
- <rect>
- <x>10</x>
- <y>17</y>
- <width>90</width>
- <height>16</height>
- </rect>
- </property>
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>3</horstretch>
@@ -60,15 +50,9 @@
<cstring>_startLine</cstring>
</property>
</widget>
+ </item>
+ <item row="0" column="1">
<widget class="QSpinBox" name="_startLine">
- <property name="geometry">
- <rect>
- <x>206</x>
- <y>17</y>
- <width>63</width>
- <height>20</height>
- </rect>
- </property>
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>2</horstretch>
@@ -85,31 +69,19 @@
<number>1</number>
</property>
</widget>
+ </item>
+ <item row="1" column="0">
<widget class="QCheckBox" name="_readFields">
- <property name="geometry">
- <rect>
- <x>10</x>
- <y>41</y>
- <width>153</width>
- <height>17</height>
- </rect>
- </property>
<property name="text">
<string>Read field names from line:</string>
</property>
</widget>
+ </item>
+ <item row="1" column="1">
<widget class="QSpinBox" name="_fieldsLine">
<property name="enabled">
<bool>false</bool>
</property>
- <property name="geometry">
- <rect>
- <x>206</x>
- <y>40</y>
- <width>63</width>
- <height>20</height>
- </rect>
- </property>
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>2</horstretch>
@@ -126,34 +98,22 @@
<number>1</number>
</property>
</widget>
+ </item>
+ <item row="2" column="0">
<widget class="QCheckBox" name="_readUnits">
<property name="enabled">
<bool>false</bool>
</property>
- <property name="geometry">
- <rect>
- <x>10</x>
- <y>64</y>
- <width>122</width>
- <height>17</height>
- </rect>
- </property>
<property name="text">
<string>Read units from line:</string>
</property>
</widget>
+ </item>
+ <item row="2" column="1">
<widget class="QSpinBox" name="_unitsLine">
<property name="enabled">
<bool>false</bool>
</property>
- <property name="geometry">
- <rect>
- <x>206</x>
- <y>63</y>
- <width>63</width>
- <height>20</height>
- </rect>
- </property>
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>2</horstretch>
@@ -170,15 +130,9 @@
<number>1</number>
</property>
</widget>
+ </item>
+ <item row="3" column="1">
<widget class="QLabel" name="label">
- <property name="geometry">
- <rect>
- <x>206</x>
- <y>86</y>
- <width>114</width>
- <height>16</height>
- </rect>
- </property>
<property name="text">
<string> Line numbers start at 1</string>
</property>
@@ -186,6 +140,8 @@
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
</widget>
+ </item>
+ </layout>
</widget>
</item>
<item>
@@ -249,17 +205,8 @@
<property name="title">
<string>Data Column Width Options</string>
</property>
- <layout class="QVBoxLayout" name="verticalLayout_2">
- <property name="spacing">
- <number>3</number>
- </property>
- <property name="topMargin">
- <number>3</number>
- </property>
- <property name="bottomMargin">
- <number>3</number>
- </property>
- <item>
+ <layout class="QGridLayout" name="gridLayout_4">
+ <item row="0" column="0">
<widget class="QRadioButton" name="radioButton">
<property name="text">
<string>Do not make assumptions on column width</string>
@@ -269,7 +216,7 @@
</property>
</widget>
</item>
- <item>
+ <item row="1" column="0">
<widget class="QRadioButton" name="_columnWidthIsConst">
<property name="text">
<string>Each column has its own constant width</string>
@@ -284,17 +231,8 @@
<property name="title">
<string>Decimal Separator</string>
</property>
- <layout class="QHBoxLayout" name="horizontalLayout_3">
- <property name="spacing">
- <number>3</number>
- </property>
- <property name="topMargin">
- <number>3</number>
- </property>
- <property name="bottomMargin">
- <number>3</number>
- </property>
- <item>
+ <layout class="QGridLayout" name="gridLayout_5">
+ <item row="0" column="0">
<widget class="QRadioButton" name="_useDot">
<property name="text">
<string>Dot</string>
@@ -304,7 +242,7 @@
</property>
</widget>
</item>
- <item>
+ <item row="0" column="1">
<widget class="QRadioButton" name="_useComma">
<property name="text">
<string>Comma</string>
@@ -314,7 +252,7 @@
</property>
</widget>
</item>
- <item>
+ <item row="0" column="2">
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
@@ -438,11 +376,17 @@
</widget>
</item>
<item>
+ <widget class="QGroupBox" name="groupBox_2">
+ <property name="title">
+ <string>File Buffer Options</string>
+ </property>
+ <layout class="QGridLayout" name="gridLayout_6">
+ <item row="0" column="0">
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QCheckBox" name="_limitFileBuffer">
<property name="text">
- <string>Limit file buffer sizt to (MB):</string>
+ <string>Limit file buffer size to, in MB:</string>
</property>
</widget>
</item>
@@ -468,7 +412,7 @@
</item>
</layout>
</item>
- <item>
+ <item row="1" column="0">
<widget class="QCheckBox" name="_useThreads">
<property name="text">
<string>Use threads for parsing Ascii data</string>
@@ -476,7 +420,27 @@
</widget>
</item>
</layout>
+ </widget>
</item>
+ </layout>
+ </item>
+ <item row="1" column="0">
+ <widget class="QPlainTextEdit" name="_showBeginning">
+ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>0</height>
+ </size>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="1">
+ <widget class="Line" name="verticalLine">
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ </widget>
+ </item>
<item row="2" column="0" colspan="3">
<widget class="Line" name="line">
<property name="orientation">
@@ -492,13 +456,6 @@
</widget>
</item>
</layout>
- <zorder>_labelBeginning</zorder>
- <zorder>_showBeginning</zorder>
- <zorder>verticalLine</zorder>
- <zorder>line</zorder>
- <zorder>_applyDefault</zorder>
- <zorder>_limitFileBuffer</zorder>
- <zorder>_useThreads</zorder>
</widget>
<layoutdefault spacing="6" margin="11"/>
<resources/>
More information about the Kst
mailing list