123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298 |
- <?xml version="1.0" encoding="UTF-8"?>
- <ui version="4.0">
- <class>MainWindowClass</class>
- <widget class="QMainWindow" name="MainWindowClass">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>600</width>
- <height>400</height>
- </rect>
- </property>
- <property name="windowTitle">
- <string>自动生成</string>
- </property>
- <widget class="QWidget" name="centralWidget">
- <layout class="QVBoxLayout" name="verticalLayout">
- <item>
- <layout class="QHBoxLayout" name="horizontalLayout_3">
- <item>
- <widget class="QLabel" name="label_2">
- <property name="text">
- <string>实体类中文名</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QLineEdit" name="name"/>
- </item>
- </layout>
- </item>
- <item>
- <layout class="QGridLayout" name="gridLayout_2">
- <item row="0" column="0">
- <widget class="QLabel" name="label">
- <property name="text">
- <string>entity名称</string>
- </property>
- </widget>
- </item>
- <item row="0" column="1">
- <widget class="QLineEdit" name="entityName"/>
- </item>
- <item row="1" column="0">
- <widget class="QLabel" name="label_3">
- <property name="text">
- <string>model名称</string>
- </property>
- </widget>
- </item>
- <item row="1" column="1">
- <widget class="QLineEdit" name="modelName">
- <property name="placeholderText">
- <string>默认实体类名称后+Model</string>
- </property>
- </widget>
- </item>
- <item row="2" column="0">
- <widget class="QLabel" name="label_4">
- <property name="text">
- <string>service名称</string>
- </property>
- </widget>
- </item>
- <item row="2" column="1">
- <widget class="QLineEdit" name="serviceName">
- <property name="placeholderText">
- <string>默认实体类名称后+Service</string>
- </property>
- </widget>
- </item>
- <item row="3" column="0">
- <widget class="QLabel" name="label_5">
- <property name="text">
- <string>Widget名称</string>
- </property>
- </widget>
- </item>
- <item row="3" column="1">
- <layout class="QHBoxLayout" name="horizontalLayout_2">
- <item>
- <widget class="QLineEdit" name="widgetName">
- <property name="placeholderText">
- <string>默认实体类名称后+Widget</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QCheckBox" name="MultipleSelect">
- <property name="text">
- <string>多选</string>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- </layout>
- </item>
- <item>
- <layout class="QGridLayout" name="gridLayout">
- <item row="0" column="0">
- <widget class="QLabel" name="label_6">
- <property name="text">
- <string>model路径</string>
- </property>
- </widget>
- </item>
- <item row="0" column="1">
- <widget class="QLineEdit" name="modelPath">
- <property name="text">
- <string/>
- </property>
- </widget>
- </item>
- <item row="0" column="2">
- <widget class="QPushButton" name="pbModelPath">
- <property name="text">
- <string>选择</string>
- </property>
- </widget>
- </item>
- <item row="1" column="0">
- <widget class="QLabel" name="label_8">
- <property name="text">
- <string>service路径</string>
- </property>
- </widget>
- </item>
- <item row="1" column="1">
- <widget class="QLineEdit" name="servicePath">
- <property name="text">
- <string/>
- </property>
- </widget>
- </item>
- <item row="1" column="2">
- <widget class="QPushButton" name="pbServicelPath">
- <property name="text">
- <string>选择</string>
- </property>
- </widget>
- </item>
- <item row="2" column="0">
- <widget class="QLabel" name="label_7">
- <property name="text">
- <string>Widget路径</string>
- </property>
- </widget>
- </item>
- <item row="2" column="1">
- <widget class="QLineEdit" name="widgetPath">
- <property name="text">
- <string/>
- </property>
- </widget>
- </item>
- <item row="2" column="2">
- <widget class="QPushButton" name="pbWidgetPath">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="text">
- <string>选择</string>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item>
- <layout class="QHBoxLayout" name="horizontalLayout">
- <item>
- <spacer name="horizontalSpacer">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>40</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- <item>
- <widget class="QPushButton" name="pbGenerate">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="text">
- <string>生成</string>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- </layout>
- </widget>
- <widget class="QMenuBar" name="menuBar">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>600</width>
- <height>23</height>
- </rect>
- </property>
- </widget>
- <widget class="QToolBar" name="mainToolBar">
- <attribute name="toolBarArea">
- <enum>TopToolBarArea</enum>
- </attribute>
- <attribute name="toolBarBreak">
- <bool>false</bool>
- </attribute>
- </widget>
- <widget class="QStatusBar" name="statusBar"/>
- </widget>
- <layoutdefault spacing="6" margin="11"/>
- <resources/>
- <connections>
- <connection>
- <sender>pbModelPath</sender>
- <signal>clicked()</signal>
- <receiver>MainWindowClass</receiver>
- <slot>onModelPath()</slot>
- <hints>
- <hint type="sourcelabel">
- <x>589</x>
- <y>182</y>
- </hint>
- <hint type="destinationlabel">
- <x>601</x>
- <y>292</y>
- </hint>
- </hints>
- </connection>
- <connection>
- <sender>pbServicelPath</sender>
- <signal>clicked()</signal>
- <receiver>MainWindowClass</receiver>
- <slot>onServicePath()</slot>
- <hints>
- <hint type="sourcelabel">
- <x>589</x>
- <y>216</y>
- </hint>
- <hint type="destinationlabel">
- <x>598</x>
- <y>335</y>
- </hint>
- </hints>
- </connection>
- <connection>
- <sender>pbWidgetPath</sender>
- <signal>clicked()</signal>
- <receiver>MainWindowClass</receiver>
- <slot>onWidgetPath()</slot>
- <hints>
- <hint type="sourcelabel">
- <x>589</x>
- <y>250</y>
- </hint>
- <hint type="destinationlabel">
- <x>600</x>
- <y>395</y>
- </hint>
- </hints>
- </connection>
- <connection>
- <sender>pbGenerate</sender>
- <signal>clicked()</signal>
- <receiver>MainWindowClass</receiver>
- <slot>onGenerate()</slot>
- <hints>
- <hint type="sourcelabel">
- <x>530</x>
- <y>315</y>
- </hint>
- <hint type="destinationlabel">
- <x>508</x>
- <y>406</y>
- </hint>
- </hints>
- </connection>
- </connections>
- <slots>
- <slot>onModelPath()</slot>
- <slot>onServicePath()</slot>
- <slot>onWidgetPath()</slot>
- <slot>onGenerate()</slot>
- </slots>
- </ui>
|