1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165
|
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>PrivateImplementationDialog</class>
<widget class="QWidget" name="PrivateImplementationDialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>400</width>
<height>200</height>
</rect>
</property>
<property name="whatsThis">
<string>Options & settings to move the private data fields of a class into a private structure</string>
</property>
<widget class="KLineEdit" name="structureName">
<property name="geometry">
<rect>
<x>160</x>
<y>20</y>
<width>221</width>
<height>22</height>
</rect>
</property>
<property name="cursor">
<cursorShape>IBeamCursor</cursorShape>
</property>
<property name="urlDropsEnabled">
<bool>false</bool>
</property>
</widget>
<widget class="QLabel" name="label">
<property name="geometry">
<rect>
<x>20</x>
<y>20</y>
<width>141</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Private structure name:</string>
</property>
</widget>
<widget class="QGroupBox" name="optionGroup">
<property name="geometry">
<rect>
<x>20</x>
<y>80</y>
<width>361</width>
<height>111</height>
</rect>
</property>
<property name="title">
<string>Options</string>
</property>
<property name="checkable">
<bool>false</bool>
</property>
<widget class="QCheckBox" name="classOption">
<property name="geometry">
<rect>
<x>10</x>
<y>20</y>
<width>181</width>
<height>21</height>
</rect>
</property>
<property name="toolTip">
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">By default private implementation structures are declared as <span style=" font-style:italic;">struct</span> to have default public access.</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Check this box if you wish the private implementation structure be declared as <span style=" font-style:italic;">class</span> with public access.</p></body></html></string>
</property>
<property name="text">
<string>Use class instead of struct</string>
</property>
</widget>
<widget class="QCheckBox" name="variableOption">
<property name="geometry">
<rect>
<x>10</x>
<y>50</y>
<width>291</width>
<height>21</height>
</rect>
</property>
<property name="toolTip">
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Move any current variables that are initialized in the constructor initializer list to the private implementation structure's constructor initializer list.</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:12pt; font-weight:600;">Note:</span> All references, and variables with types that do not offer default constructors are moved regardless of the state of this option.</p></body></html></string>
</property>
<property name="text">
<string>Move Variable initialization to private structure</string>
</property>
</widget>
<widget class="QCheckBox" name="methodOption">
<property name="geometry">
<rect>
<x>10</x>
<y>80</y>
<width>151</width>
<height>21</height>
</rect>
</property>
<property name="toolTip">
<string>Move all currently declared private methods to the private implementation structure.</string>
</property>
<property name="text">
<string>Move Private methods</string>
</property>
</widget>
</widget>
<widget class="QLabel" name="label_2">
<property name="geometry">
<rect>
<x>20</x>
<y>50</y>
<width>91</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Pointer name:</string>
</property>
</widget>
<widget class="KLineEdit" name="pointerName">
<property name="geometry">
<rect>
<x>160</x>
<y>50</y>
<width>221</width>
<height>22</height>
</rect>
</property>
<property name="acceptDrops">
<bool>false</bool>
</property>
<property name="toolTip">
<string>The name of the member variable that will be the pointer held to the private implementation</string>
</property>
<property name="text">
<string>d</string>
</property>
<property name="urlDropsEnabled">
<bool>false</bool>
</property>
</widget>
</widget>
<customwidgets>
<customwidget>
<class>KLineEdit</class>
<extends>QLineEdit</extends>
<header>klineedit.h</header>
</customwidget>
</customwidgets>
<resources/>
<connections/>
</ui>
|