⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pluginguibase.ui

📁 一个非常好的GIS开源新版本
💻 UI
字号:
<ui version="4.0" > <class>QgsScaleBarPluginGuiBase</class> <widget class="QDialog" name="QgsScaleBarPluginGuiBase" >  <property name="geometry" >   <rect>    <x>0</x>    <y>0</y>    <width>518</width>    <height>406</height>   </rect>  </property>  <property name="windowTitle" >   <string>Scale Bar Plugin</string>  </property>  <property name="windowIcon" >   <iconset/>  </property>  <layout class="QGridLayout" >   <property name="margin" >    <number>9</number>   </property>   <property name="spacing" >    <number>6</number>   </property>   <item rowspan="3" row="0" column="1" >    <widget class="Line" name="line1" >     <property name="maximumSize" >      <size>       <width>2</width>       <height>32767</height>      </size>     </property>     <property name="frameShape" >      <enum>QFrame::VLine</enum>     </property>     <property name="frameShadow" >      <enum>QFrame::Sunken</enum>     </property>     <property name="orientation" >      <enum>Qt::Vertical</enum>     </property>    </widget>   </item>   <item rowspan="3" row="0" column="0" >    <widget class="QLabel" name="label" >     <property name="text" >      <string/>     </property>     <property name="pixmap" >      <pixmap resource="scalebar_plugin.qrc" >:/scalebar.png</pixmap>     </property>    </widget>   </item>   <item row="2" column="2" >    <layout class="QGridLayout" >     <property name="margin" >      <number>0</number>     </property>     <property name="spacing" >      <number>6</number>     </property>     <item row="2" column="1" >      <widget class="QgsColorButton" name="pbnChangeColour" >       <property name="sizePolicy" >        <sizepolicy>         <hsizetype>1</hsizetype>         <vsizetype>1</vsizetype>         <horstretch>0</horstretch>         <verstretch>0</verstretch>        </sizepolicy>       </property>       <property name="toolTip" >        <string>Click to select the colour</string>       </property>       <property name="whatsThis" >        <string>Click to select the colour</string>       </property>       <property name="text" >        <string/>       </property>      </widget>     </item>     <item row="3" column="0" >      <widget class="QLabel" name="textLabel1_3" >       <property name="sizePolicy" >        <sizepolicy>         <hsizetype>5</hsizetype>         <vsizetype>1</vsizetype>         <horstretch>0</horstretch>         <verstretch>0</verstretch>        </sizepolicy>       </property>       <property name="text" >        <string>Size of bar:</string>       </property>      </widget>     </item>     <item row="5" column="0" colspan="2" >      <widget class="QCheckBox" name="chkSnapping" >       <property name="sizePolicy" >        <sizepolicy>         <hsizetype>1</hsizetype>         <vsizetype>1</vsizetype>         <horstretch>0</horstretch>         <verstretch>0</verstretch>        </sizepolicy>       </property>       <property name="text" >        <string>Automatically snap to round number on resize</string>       </property>       <property name="checked" >        <bool>true</bool>       </property>      </widget>     </item>     <item row="2" column="0" >      <widget class="QLabel" name="textLabel1_3_2" >       <property name="sizePolicy" >        <sizepolicy>         <hsizetype>5</hsizetype>         <vsizetype>1</vsizetype>         <horstretch>0</horstretch>         <verstretch>0</verstretch>        </sizepolicy>       </property>       <property name="text" >        <string>Colour of bar:</string>       </property>      </widget>     </item>     <item row="0" column="1" >      <widget class="QComboBox" name="cboPlacement" >       <property name="sizePolicy" >        <sizepolicy>         <hsizetype>1</hsizetype>         <vsizetype>1</vsizetype>         <horstretch>0</horstretch>         <verstretch>0</verstretch>        </sizepolicy>       </property>       <item>        <property name="text" >         <string>Top Left</string>        </property>       </item>       <item>        <property name="text" >         <string>Top Right</string>        </property>       </item>       <item>        <property name="text" >         <string>Bottom Left</string>        </property>       </item>       <item>        <property name="text" >         <string>Bottom Right</string>        </property>       </item>      </widget>     </item>     <item row="4" column="0" colspan="2" >      <widget class="QCheckBox" name="chkEnable" >       <property name="sizePolicy" >        <sizepolicy>         <hsizetype>1</hsizetype>         <vsizetype>1</vsizetype>         <horstretch>0</horstretch>         <verstretch>0</verstretch>        </sizepolicy>       </property>       <property name="text" >        <string>Enable scale bar</string>       </property>       <property name="checked" >        <bool>true</bool>       </property>      </widget>     </item>     <item row="1" column="0" >      <widget class="QLabel" name="textLabel1" >       <property name="sizePolicy" >        <sizepolicy>         <hsizetype>5</hsizetype>         <vsizetype>1</vsizetype>         <horstretch>0</horstretch>         <verstretch>0</verstretch>        </sizepolicy>       </property>       <property name="text" >        <string>Scale bar style:</string>       </property>      </widget>     </item>     <item row="1" column="1" >      <widget class="QComboBox" name="cboStyle" >       <property name="sizePolicy" >        <sizepolicy>         <hsizetype>1</hsizetype>         <vsizetype>1</vsizetype>         <horstretch>0</horstretch>         <verstretch>0</verstretch>        </sizepolicy>       </property>       <property name="toolTip" >        <string>Select the style of the scale bar</string>       </property>       <item>        <property name="text" >         <string>Tick Down</string>        </property>       </item>       <item>        <property name="text" >         <string>Tick Up</string>        </property>       </item>       <item>        <property name="text" >         <string>Box</string>        </property>       </item>       <item>        <property name="text" >         <string>Bar</string>        </property>       </item>      </widget>     </item>     <item row="3" column="1" >      <widget class="QSpinBox" name="spnSize" >       <property name="sizePolicy" >        <sizepolicy>         <hsizetype>1</hsizetype>         <vsizetype>1</vsizetype>         <horstretch>0</horstretch>         <verstretch>0</verstretch>        </sizepolicy>       </property>      </widget>     </item>     <item row="0" column="0" >      <widget class="QLabel" name="textLabel1_2" >       <property name="sizePolicy" >        <sizepolicy>         <hsizetype>5</hsizetype>         <vsizetype>1</vsizetype>         <horstretch>0</horstretch>         <verstretch>0</verstretch>        </sizepolicy>       </property>       <property name="text" >        <string>Placement:</string>       </property>      </widget>     </item>    </layout>   </item>   <item row="1" column="2" >    <widget class="QTextEdit" name="textEdit" >     <property name="sizePolicy" >      <sizepolicy>       <hsizetype>7</hsizetype>       <vsizetype>5</vsizetype>       <horstretch>0</horstretch>       <verstretch>0</verstretch>      </sizepolicy>     </property>     <property name="readOnly" >      <bool>true</bool>     </property>     <property name="html" >      <string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;/head>&lt;body style=" white-space: pre-wrap; font-family:Sans Serif; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;">&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">This plugin draws a scale bar on the map. Please note the size option below is a 'preferred' size and may have to be altered by QGIS depending on the level of zoom.  The size is measured according to the map units specified in the project properties.&lt;/p>&lt;/body>&lt;/html></string>     </property>    </widget>   </item>   <item row="0" column="2" >    <widget class="QLabel" name="txtHeading" >     <property name="sizePolicy" >      <sizepolicy>       <hsizetype>5</hsizetype>       <vsizetype>1</vsizetype>       <horstretch>0</horstretch>       <verstretch>0</verstretch>      </sizepolicy>     </property>     <property name="font" >      <font>       <family>Sans Serif</family>       <pointsize>24</pointsize>       <weight>50</weight>       <italic>false</italic>       <bold>false</bold>       <underline>false</underline>       <strikeout>false</strikeout>      </font>     </property>     <property name="text" >      <string>Scale Bar Plugin</string>     </property>     <property name="alignment" >      <set>Qt::AlignCenter</set>     </property>    </widget>   </item>   <item row="3" column="0" colspan="3" >    <widget class="QDialogButtonBox" name="buttonBox" >     <property name="orientation" >      <enum>Qt::Horizontal</enum>     </property>     <property name="standardButtons" >      <set>QDialogButtonBox::Cancel|QDialogButtonBox::Help|QDialogButtonBox::NoButton|QDialogButtonBox::Ok</set>     </property>    </widget>   </item>  </layout> </widget> <layoutdefault spacing="6" margin="11" /> <customwidgets>  <customwidget>   <class>QgsColorButton</class>   <extends>QToolButton</extends>   <header>qgscolorbutton.h</header>  </customwidget> </customwidgets> <resources>  <include location="scalebar_plugin.qrc" /> </resources> <connections/></ui>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -