* contrib/hbide/ideuisrcmanager.prg
* Completed: minimum required components to materialize some
project based on this protocol.
+ contrib/hbqt/tests/cls_dbstruct.prg
+ contrib/hbqt/tests/dbstruct.prg
+ contrib/hbqt/tests/dbstruct.ui
+ contrib/hbqt/tests/ideui.hbp
+ Added: a small project where cls_dbstruct.prg is created by
hbIDE's UI Src Manager.
; Note: event is define for only first button. Try with other
buttons yourselves and come-out with suggessions.
333 lines
7.0 KiB
XML
333 lines
7.0 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>FormStruct</class>
|
|
<widget class="QWidget" name="FormStruct">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>481</width>
|
|
<height>389</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Structure</string>
|
|
</property>
|
|
<widget class="QGroupBox" name="groupBox">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>8</x>
|
|
<y>8</y>
|
|
<width>463</width>
|
|
<height>53</height>
|
|
</rect>
|
|
</property>
|
|
<property name="title">
|
|
<string/>
|
|
</property>
|
|
<widget class="QLabel" name="label">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>12</x>
|
|
<y>6</y>
|
|
<width>63</width>
|
|
<height>16</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>Field Name:</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLineEdit" name="editName">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>22</y>
|
|
<width>175</width>
|
|
<height>20</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="label_2">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>198</x>
|
|
<y>4</y>
|
|
<width>73</width>
|
|
<height>16</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>Type:</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QComboBox" name="comboType">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>198</x>
|
|
<y>20</y>
|
|
<width>101</width>
|
|
<height>22</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLineEdit" name="editSize">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>310</x>
|
|
<y>22</y>
|
|
<width>69</width>
|
|
<height>20</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="label_3">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>312</x>
|
|
<y>6</y>
|
|
<width>46</width>
|
|
<height>14</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>Size:</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="label_4">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>396</x>
|
|
<y>6</y>
|
|
<width>46</width>
|
|
<height>14</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>Decimals:</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLineEdit" name="editDec">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>394</x>
|
|
<y>22</y>
|
|
<width>57</width>
|
|
<height>20</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
<widget class="QTableWidget" name="tableFields">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>8</x>
|
|
<y>96</y>
|
|
<width>463</width>
|
|
<height>255</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
<widget class="QToolButton" name="buttonAdd">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>18</x>
|
|
<y>70</y>
|
|
<width>25</width>
|
|
<height>20</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>...</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QToolButton" name="buttonModify">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>58</x>
|
|
<y>70</y>
|
|
<width>25</width>
|
|
<height>20</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>...</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QToolButton" name="buttonDel">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>100</x>
|
|
<y>70</y>
|
|
<width>25</width>
|
|
<height>20</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>...</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QToolButton" name="buttonPrint">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>186</x>
|
|
<y>70</y>
|
|
<width>25</width>
|
|
<height>20</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>...</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QToolButton" name="buttonClose">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>436</x>
|
|
<y>70</y>
|
|
<width>25</width>
|
|
<height>20</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>...</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QToolButton" name="buttonExec">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>250</x>
|
|
<y>70</y>
|
|
<width>25</width>
|
|
<height>20</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>...</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QToolButton" name="buttonDelAll">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>142</x>
|
|
<y>70</y>
|
|
<width>25</width>
|
|
<height>20</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>...</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QToolButton" name="buttonDown">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>322</x>
|
|
<y>70</y>
|
|
<width>25</width>
|
|
<height>20</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>...</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QToolButton" name="buttonUp">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>364</x>
|
|
<y>70</y>
|
|
<width>25</width>
|
|
<height>20</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>...</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="label_5">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>362</y>
|
|
<width>91</width>
|
|
<height>16</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>Memo Block Size:</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QFrame" name="frame">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>298</x>
|
|
<y>358</y>
|
|
<width>173</width>
|
|
<height>25</height>
|
|
</rect>
|
|
</property>
|
|
<property name="frameShape">
|
|
<enum>QFrame::StyledPanel</enum>
|
|
</property>
|
|
<property name="frameShadow">
|
|
<enum>QFrame::Raised</enum>
|
|
</property>
|
|
<widget class="QLabel" name="label_6">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>8</x>
|
|
<y>4</y>
|
|
<width>65</width>
|
|
<height>16</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>Record Size:</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="labelRecSize">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>98</x>
|
|
<y>6</y>
|
|
<width>61</width>
|
|
<height>16</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>1</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
<widget class="QSpinBox" name="spinMemoSize">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>102</x>
|
|
<y>360</y>
|
|
<width>77</width>
|
|
<height>22</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="buttonCopyStruct">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>204</x>
|
|
<y>360</y>
|
|
<width>75</width>
|
|
<height>23</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>Copy Struct</string>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|