<ui version="4.0" > <author></author> <comment></comment> <exportmacro></exportmacro> <class>QgsComposerScalebarBase</class> <widget class="QWidget" name="QgsComposerScalebarBase" > <property name="geometry" > <rect> <x>0</x> <y>0</y> <width>222</width> <height>487</height> </rect> </property> <property name="sizePolicy" > <sizepolicy> <hsizetype>7</hsizetype> <vsizetype>7</vsizetype> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="windowTitle" > <string>Barscale Options</string> </property> <layout class="QVBoxLayout" > <property name="margin" > <number>9</number> </property> <property name="spacing" > <number>6</number> </property> <item> <widget class="QLabel" name="textLabel1_3" > <property name="text" > <string>Segment size</string> </property> <property name="buddy" > <cstring>mSegmentLengthLineEdit</cstring> </property> </widget> </item> <item> <widget class="QLineEdit" name="mSegmentLengthLineEdit" /> </item> <item> <widget class="QLabel" name="textLabel2" > <property name="text" > <string>Number of segments</string> </property> <property name="buddy" > <cstring>mNumSegmentsLineEdit</cstring> </property> </widget> </item> <item> <widget class="QLineEdit" name="mNumSegmentsLineEdit" /> </item> <item> <widget class="QLabel" name="textLabel2_2" > <property name="text" > <string>Map units per scalebar unit</string> </property> <property name="buddy" > <cstring>mMapUnitsPerUnitLineEdit</cstring> </property> </widget> </item> <item> <widget class="QLineEdit" name="mMapUnitsPerUnitLineEdit" /> </item> <item> <widget class="QLabel" name="textLabel1_2" > <property name="text" > <string>Unit label</string> </property> <property name="buddy" > <cstring>mUnitLabelLineEdit</cstring> </property> </widget> </item> <item> <widget class="QLineEdit" name="mUnitLabelLineEdit" /> </item> <item> <widget class="QLabel" name="textLabel1" > <property name="sizePolicy" > <sizepolicy> <hsizetype>7</hsizetype> <vsizetype>0</vsizetype> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="text" > <string>Map</string> </property> <property name="buddy" > <cstring>mMapComboBox</cstring> </property> </widget> </item> <item> <widget class="QComboBox" name="mMapComboBox" > <property name="enabled" > <bool>true</bool> </property> <property name="sizePolicy" > <sizepolicy> <hsizetype>5</hsizetype> <vsizetype>0</vsizetype> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> </widget> </item> <item> <widget class="QPushButton" name="mFontButton" > <property name="sizePolicy" > <sizepolicy> <hsizetype>5</hsizetype> <vsizetype>0</vsizetype> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="text" > <string>Font</string> </property> </widget> </item> <item> <widget class="QLabel" name="textLabel1_4" > <property name="text" > <string>Line width</string> </property> <property name="buddy" > <cstring>mLineWidthSpinBox</cstring> </property> </widget> </item> <item> <widget class="QDoubleSpinBox" name="mLineWidthSpinBox" > <property name="sizePolicy" > <sizepolicy> <hsizetype>7</hsizetype> <vsizetype>0</vsizetype> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimum" > <double>0.01</double> </property> <property name="singleStep" > <double>0.1</double> </property> <property name="value" > <double>0.2</double> </property> </widget> </item> <item> <spacer> <property name="orientation" > <enum>Qt::Vertical</enum> </property> <property name="sizeType" > <enum>QSizePolicy::Expanding</enum> </property> <property name="sizeHint" > <size> <width>26</width> <height>35</height> </size> </property> </spacer> </item> </layout> </widget> <layoutdefault spacing="6" margin="11" /> <pixmapfunction>qPixmapFromMimeSource</pixmapfunction> <tabstops> <tabstop>mSegmentLengthLineEdit</tabstop> <tabstop>mNumSegmentsLineEdit</tabstop> <tabstop>mMapUnitsPerUnitLineEdit</tabstop> <tabstop>mUnitLabelLineEdit</tabstop> <tabstop>mMapComboBox</tabstop> <tabstop>mFontButton</tabstop> </tabstops> <resources/> <connections/> </ui>