kde-extraapps/kdevelop/languages/cpp/codegen/privateimplementation.ui

165 lines
6 KiB
XML

<?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 &amp; 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>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;By default private implementation structures are declared as &lt;span style=&quot; font-style:italic;&quot;&gt;struct&lt;/span&gt; to have default public access.&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Check this box if you wish the private implementation structure be declared as &lt;span style=&quot; font-style:italic;&quot;&gt;class&lt;/span&gt; with public access.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</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>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Move any current variables that are initialized in the constructor initializer list to the private implementation structure's constructor initializer list.&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; font-weight:600;&quot;&gt;Note:&lt;/span&gt; All references, and variables with types that do not offer default constructors are moved regardless of the state of this option.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</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>