mirror of
https://bitbucket.org/smil3y/kde-extraapps.git
synced 2025-02-25 03:12:53 +00:00
165 lines
6 KiB
XML
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 & 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>
|