diff options
Diffstat (limited to 'sources/pyside2/doc/codesnippets/doc/src/snippets/designer')
9 files changed, 0 insertions, 2214 deletions
diff --git a/sources/pyside2/doc/codesnippets/doc/src/snippets/designer/autoconnection/imagedialog.h b/sources/pyside2/doc/codesnippets/doc/src/snippets/designer/autoconnection/imagedialog.h deleted file mode 100644 index d5852c9c3..000000000 --- a/sources/pyside2/doc/codesnippets/doc/src/snippets/designer/autoconnection/imagedialog.h +++ /dev/null @@ -1,69 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the examples of Qt for Python. -** -** $QT_BEGIN_LICENSE:BSD$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** BSD License Usage -** Alternatively, you may use this file under the terms of the BSD license -** as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of The Qt Company Ltd nor the names of its -** contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -#ifndef IMAGEDIALOG_H -#define IMAGEDIALOG_H - -#include "ui_imagedialog.h" - -//! [0] -class ImageDialog : public QDialog, private Ui::ImageDialog -{ - Q_OBJECT - -public: - ImageDialog(QWidget *parent = 0); - -private slots: - void on_okButton_clicked(); -}; -//! [0] - -#endif diff --git a/sources/pyside2/doc/codesnippets/doc/src/snippets/designer/autoconnection/imagedialog.ui b/sources/pyside2/doc/codesnippets/doc/src/snippets/designer/autoconnection/imagedialog.ui deleted file mode 100644 index 1c5e546f2..000000000 --- a/sources/pyside2/doc/codesnippets/doc/src/snippets/designer/autoconnection/imagedialog.ui +++ /dev/null @@ -1,389 +0,0 @@ -<ui version="4.0" > - <comment></comment> - <class>ImageDialog</class> - <widget class="QDialog" > - <property name="objectName" > - <string notr="true" >ImageDialog</string> - </property> - <property name="geometry" > - <rect> - <x>0</x> - <y>0</y> - <width>320</width> - <height>180</height> - </rect> - </property> - <property name="windowTitle" > - <string>Create Image</string> - </property> - <layout class="QVBoxLayout" > - <property name="objectName" > - <string notr="true" /> - </property> - <property name="margin" > - <number>9</number> - </property> - <property name="spacing" > - <number>6</number> - </property> - <item> - <layout class="QGridLayout" > - <property name="objectName" > - <string notr="true" /> - </property> - <property name="margin" > - <number>1</number> - </property> - <property name="spacing" > - <number>6</number> - </property> - <item row="1" column="0" > - <widget class="QLabel" name="widthLabel" > - <property name="objectName" > - <string notr="true" >widthLabel</string> - </property> - <property name="geometry" > - <rect> - <x>1</x> - <y>27</y> - <width>67</width> - <height>22</height> - </rect> - </property> - <property name="frameShape" > - <enum>QFrame::NoFrame</enum> - </property> - <property name="frameShadow" > - <enum>QFrame::Plain</enum> - </property> - <property name="text" > - <string>Width:</string> - </property> - <property name="textFormat" > - <enum>Qt::AutoText</enum> - </property> - </widget> - </item> - <item row="2" column="0" > - <widget class="QLabel" name="heightLabel" > - <property name="objectName" > - <string notr="true" >heightLabel</string> - </property> - <property name="geometry" > - <rect> - <x>1</x> - <y>55</y> - <width>67</width> - <height>22</height> - </rect> - </property> - <property name="frameShape" > - <enum>QFrame::NoFrame</enum> - </property> - <property name="frameShadow" > - <enum>QFrame::Plain</enum> - </property> - <property name="text" > - <string>Height:</string> - </property> - <property name="textFormat" > - <enum>Qt::AutoText</enum> - </property> - </widget> - </item> - <item row="3" column="1" > - <widget class="QComboBox" name="colorDepthCombo" > - <property name="objectName" > - <string notr="true" >colorDepthCombo</string> - </property> - <property name="geometry" > - <rect> - <x>74</x> - <y>83</y> - <width>227</width> - <height>22</height> - </rect> - </property> - <property name="sizePolicy" > - <sizepolicy> - <hsizetype>5</hsizetype> - <vsizetype>0</vsizetype> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="insertPolicy" > - <enum>QComboBox::InsertAtBottom</enum> - </property> - </widget> - </item> - <item row="0" column="1" > - <widget class="QLineEdit" name="nameLineEdit" > - <property name="objectName" > - <string notr="true" >nameLineEdit</string> - </property> - <property name="geometry" > - <rect> - <x>74</x> - <y>83</y> - <width>227</width> - <height>22</height> - </rect> - </property> - <property name="sizePolicy" > - <sizepolicy> - <hsizetype>5</hsizetype> - <vsizetype>0</vsizetype> - <horstretch>1</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="text" > - <string>Untitled image</string> - </property> - <property name="echoMode" > - <enum>QLineEdit::Normal</enum> - </property> - </widget> - </item> - <item row="1" column="1" > - <widget class="QSpinBox" name="spinBox" > - <property name="objectName" > - <string notr="true" >spinBox</string> - </property> - <property name="geometry" > - <rect> - <x>74</x> - <y>1</y> - <width>227</width> - <height>20</height> - </rect> - </property> - <property name="sizePolicy" > - <sizepolicy> - <hsizetype>5</hsizetype> - <vsizetype>0</vsizetype> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="buttonSymbols" > - <enum>QAbstractSpinBox::UpDownArrows</enum> - </property> - <property name="value" > - <number>32</number> - </property> - <property name="maximum" > - <number>1024</number> - </property> - <property name="minimum" > - <number>1</number> - </property> - </widget> - </item> - <item row="2" column="1" > - <widget class="QSpinBox" name="spinBox_2" > - <property name="objectName" > - <string notr="true" >spinBox_2</string> - </property> - <property name="geometry" > - <rect> - <x>74</x> - <y>27</y> - <width>227</width> - <height>22</height> - </rect> - </property> - <property name="sizePolicy" > - <sizepolicy> - <hsizetype>5</hsizetype> - <vsizetype>0</vsizetype> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="buttonSymbols" > - <enum>QAbstractSpinBox::UpDownArrows</enum> - </property> - <property name="value" > - <number>32</number> - </property> - <property name="maximum" > - <number>1024</number> - </property> - <property name="minimum" > - <number>1</number> - </property> - </widget> - </item> - <item row="0" column="0" > - <widget class="QLabel" name="nameLabel" > - <property name="objectName" > - <string notr="true" >nameLabel</string> - </property> - <property name="geometry" > - <rect> - <x>1</x> - <y>1</y> - <width>67</width> - <height>20</height> - </rect> - </property> - <property name="frameShape" > - <enum>QFrame::NoFrame</enum> - </property> - <property name="frameShadow" > - <enum>QFrame::Plain</enum> - </property> - <property name="text" > - <string>Name:</string> - </property> - <property name="textFormat" > - <enum>Qt::AutoText</enum> - </property> - </widget> - </item> - <item row="3" column="0" > - <widget class="QLabel" name="colorDepthLabel" > - <property name="objectName" > - <string notr="true" >colorDepthLabel</string> - </property> - <property name="geometry" > - <rect> - <x>1</x> - <y>83</y> - <width>67</width> - <height>22</height> - </rect> - </property> - <property name="frameShape" > - <enum>QFrame::NoFrame</enum> - </property> - <property name="frameShadow" > - <enum>QFrame::Plain</enum> - </property> - <property name="text" > - <string>Color depth:</string> - </property> - <property name="textFormat" > - <enum>Qt::AutoText</enum> - </property> - </widget> - </item> - </layout> - </item> - <item> - <spacer> - <property name="objectName" > - <string notr="true" /> - </property> - <property name="geometry" > - <rect> - <x>9</x> - <y>121</y> - <width>302</width> - <height>18</height> - </rect> - </property> - <property name="orientation" > - <enum>Qt::Vertical</enum> - </property> - </spacer> - </item> - <item> - <layout class="QHBoxLayout" > - <property name="objectName" > - <string notr="true" /> - </property> - <property name="margin" > - <number>1</number> - </property> - <property name="spacing" > - <number>6</number> - </property> - <item> - <spacer> - <property name="objectName" > - <string notr="true" /> - </property> - <property name="geometry" > - <rect> - <x>1</x> - <y>1</y> - <width>128</width> - <height>24</height> - </rect> - </property> - <property name="orientation" > - <enum>Qt::Horizontal</enum> - </property> - </spacer> - </item> - <item> - <widget class="QPushButton" name="okButton" > - <property name="objectName" > - <string notr="true" >okButton</string> - </property> - <property name="geometry" > - <rect> - <x>135</x> - <y>1</y> - <width>80</width> - <height>24</height> - </rect> - </property> - <property name="text" > - <string>OK</string> - </property> - </widget> - </item> - <item> - <widget class="QPushButton" name="cancelButton" > - <property name="objectName" > - <string notr="true" >cancelButton</string> - </property> - <property name="geometry" > - <rect> - <x>221</x> - <y>1</y> - <width>80</width> - <height>24</height> - </rect> - </property> - <property name="text" > - <string>Cancel</string> - </property> - </widget> - </item> - </layout> - </item> - </layout> - </widget> - <pixmapfunction></pixmapfunction> - <tabstops> - <tabstop>nameLineEdit</tabstop> - <tabstop>spinBox</tabstop> - <tabstop>spinBox_2</tabstop> - <tabstop>colorDepthCombo</tabstop> - <tabstop>okButton</tabstop> - <tabstop>cancelButton</tabstop> - </tabstops> - <connections> - <connection> - <sender>nameLineEdit</sender> - <signal>returnPressed()</signal> - <receiver>okButton</receiver> - <slot>animateClick()</slot> - <hints> - <hint type="sourcelabel" > - <x>-1</x> - <y>7</y> - </hint> - <hint type="destinationlabel" > - <x>-1</x> - <y>7</y> - </hint> - </hints> - </connection> - </connections> -</ui> diff --git a/sources/pyside2/doc/codesnippets/doc/src/snippets/designer/imagedialog/imagedialog.ui b/sources/pyside2/doc/codesnippets/doc/src/snippets/designer/imagedialog/imagedialog.ui deleted file mode 100644 index 1c5e546f2..000000000 --- a/sources/pyside2/doc/codesnippets/doc/src/snippets/designer/imagedialog/imagedialog.ui +++ /dev/null @@ -1,389 +0,0 @@ -<ui version="4.0" > - <comment></comment> - <class>ImageDialog</class> - <widget class="QDialog" > - <property name="objectName" > - <string notr="true" >ImageDialog</string> - </property> - <property name="geometry" > - <rect> - <x>0</x> - <y>0</y> - <width>320</width> - <height>180</height> - </rect> - </property> - <property name="windowTitle" > - <string>Create Image</string> - </property> - <layout class="QVBoxLayout" > - <property name="objectName" > - <string notr="true" /> - </property> - <property name="margin" > - <number>9</number> - </property> - <property name="spacing" > - <number>6</number> - </property> - <item> - <layout class="QGridLayout" > - <property name="objectName" > - <string notr="true" /> - </property> - <property name="margin" > - <number>1</number> - </property> - <property name="spacing" > - <number>6</number> - </property> - <item row="1" column="0" > - <widget class="QLabel" name="widthLabel" > - <property name="objectName" > - <string notr="true" >widthLabel</string> - </property> - <property name="geometry" > - <rect> - <x>1</x> - <y>27</y> - <width>67</width> - <height>22</height> - </rect> - </property> - <property name="frameShape" > - <enum>QFrame::NoFrame</enum> - </property> - <property name="frameShadow" > - <enum>QFrame::Plain</enum> - </property> - <property name="text" > - <string>Width:</string> - </property> - <property name="textFormat" > - <enum>Qt::AutoText</enum> - </property> - </widget> - </item> - <item row="2" column="0" > - <widget class="QLabel" name="heightLabel" > - <property name="objectName" > - <string notr="true" >heightLabel</string> - </property> - <property name="geometry" > - <rect> - <x>1</x> - <y>55</y> - <width>67</width> - <height>22</height> - </rect> - </property> - <property name="frameShape" > - <enum>QFrame::NoFrame</enum> - </property> - <property name="frameShadow" > - <enum>QFrame::Plain</enum> - </property> - <property name="text" > - <string>Height:</string> - </property> - <property name="textFormat" > - <enum>Qt::AutoText</enum> - </property> - </widget> - </item> - <item row="3" column="1" > - <widget class="QComboBox" name="colorDepthCombo" > - <property name="objectName" > - <string notr="true" >colorDepthCombo</string> - </property> - <property name="geometry" > - <rect> - <x>74</x> - <y>83</y> - <width>227</width> - <height>22</height> - </rect> - </property> - <property name="sizePolicy" > - <sizepolicy> - <hsizetype>5</hsizetype> - <vsizetype>0</vsizetype> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="insertPolicy" > - <enum>QComboBox::InsertAtBottom</enum> - </property> - </widget> - </item> - <item row="0" column="1" > - <widget class="QLineEdit" name="nameLineEdit" > - <property name="objectName" > - <string notr="true" >nameLineEdit</string> - </property> - <property name="geometry" > - <rect> - <x>74</x> - <y>83</y> - <width>227</width> - <height>22</height> - </rect> - </property> - <property name="sizePolicy" > - <sizepolicy> - <hsizetype>5</hsizetype> - <vsizetype>0</vsizetype> - <horstretch>1</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="text" > - <string>Untitled image</string> - </property> - <property name="echoMode" > - <enum>QLineEdit::Normal</enum> - </property> - </widget> - </item> - <item row="1" column="1" > - <widget class="QSpinBox" name="spinBox" > - <property name="objectName" > - <string notr="true" >spinBox</string> - </property> - <property name="geometry" > - <rect> - <x>74</x> - <y>1</y> - <width>227</width> - <height>20</height> - </rect> - </property> - <property name="sizePolicy" > - <sizepolicy> - <hsizetype>5</hsizetype> - <vsizetype>0</vsizetype> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="buttonSymbols" > - <enum>QAbstractSpinBox::UpDownArrows</enum> - </property> - <property name="value" > - <number>32</number> - </property> - <property name="maximum" > - <number>1024</number> - </property> - <property name="minimum" > - <number>1</number> - </property> - </widget> - </item> - <item row="2" column="1" > - <widget class="QSpinBox" name="spinBox_2" > - <property name="objectName" > - <string notr="true" >spinBox_2</string> - </property> - <property name="geometry" > - <rect> - <x>74</x> - <y>27</y> - <width>227</width> - <height>22</height> - </rect> - </property> - <property name="sizePolicy" > - <sizepolicy> - <hsizetype>5</hsizetype> - <vsizetype>0</vsizetype> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="buttonSymbols" > - <enum>QAbstractSpinBox::UpDownArrows</enum> - </property> - <property name="value" > - <number>32</number> - </property> - <property name="maximum" > - <number>1024</number> - </property> - <property name="minimum" > - <number>1</number> - </property> - </widget> - </item> - <item row="0" column="0" > - <widget class="QLabel" name="nameLabel" > - <property name="objectName" > - <string notr="true" >nameLabel</string> - </property> - <property name="geometry" > - <rect> - <x>1</x> - <y>1</y> - <width>67</width> - <height>20</height> - </rect> - </property> - <property name="frameShape" > - <enum>QFrame::NoFrame</enum> - </property> - <property name="frameShadow" > - <enum>QFrame::Plain</enum> - </property> - <property name="text" > - <string>Name:</string> - </property> - <property name="textFormat" > - <enum>Qt::AutoText</enum> - </property> - </widget> - </item> - <item row="3" column="0" > - <widget class="QLabel" name="colorDepthLabel" > - <property name="objectName" > - <string notr="true" >colorDepthLabel</string> - </property> - <property name="geometry" > - <rect> - <x>1</x> - <y>83</y> - <width>67</width> - <height>22</height> - </rect> - </property> - <property name="frameShape" > - <enum>QFrame::NoFrame</enum> - </property> - <property name="frameShadow" > - <enum>QFrame::Plain</enum> - </property> - <property name="text" > - <string>Color depth:</string> - </property> - <property name="textFormat" > - <enum>Qt::AutoText</enum> - </property> - </widget> - </item> - </layout> - </item> - <item> - <spacer> - <property name="objectName" > - <string notr="true" /> - </property> - <property name="geometry" > - <rect> - <x>9</x> - <y>121</y> - <width>302</width> - <height>18</height> - </rect> - </property> - <property name="orientation" > - <enum>Qt::Vertical</enum> - </property> - </spacer> - </item> - <item> - <layout class="QHBoxLayout" > - <property name="objectName" > - <string notr="true" /> - </property> - <property name="margin" > - <number>1</number> - </property> - <property name="spacing" > - <number>6</number> - </property> - <item> - <spacer> - <property name="objectName" > - <string notr="true" /> - </property> - <property name="geometry" > - <rect> - <x>1</x> - <y>1</y> - <width>128</width> - <height>24</height> - </rect> - </property> - <property name="orientation" > - <enum>Qt::Horizontal</enum> - </property> - </spacer> - </item> - <item> - <widget class="QPushButton" name="okButton" > - <property name="objectName" > - <string notr="true" >okButton</string> - </property> - <property name="geometry" > - <rect> - <x>135</x> - <y>1</y> - <width>80</width> - <height>24</height> - </rect> - </property> - <property name="text" > - <string>OK</string> - </property> - </widget> - </item> - <item> - <widget class="QPushButton" name="cancelButton" > - <property name="objectName" > - <string notr="true" >cancelButton</string> - </property> - <property name="geometry" > - <rect> - <x>221</x> - <y>1</y> - <width>80</width> - <height>24</height> - </rect> - </property> - <property name="text" > - <string>Cancel</string> - </property> - </widget> - </item> - </layout> - </item> - </layout> - </widget> - <pixmapfunction></pixmapfunction> - <tabstops> - <tabstop>nameLineEdit</tabstop> - <tabstop>spinBox</tabstop> - <tabstop>spinBox_2</tabstop> - <tabstop>colorDepthCombo</tabstop> - <tabstop>okButton</tabstop> - <tabstop>cancelButton</tabstop> - </tabstops> - <connections> - <connection> - <sender>nameLineEdit</sender> - <signal>returnPressed()</signal> - <receiver>okButton</receiver> - <slot>animateClick()</slot> - <hints> - <hint type="sourcelabel" > - <x>-1</x> - <y>7</y> - </hint> - <hint type="destinationlabel" > - <x>-1</x> - <y>7</y> - </hint> - </hints> - </connection> - </connections> -</ui> diff --git a/sources/pyside2/doc/codesnippets/doc/src/snippets/designer/multipleinheritance/imagedialog.h b/sources/pyside2/doc/codesnippets/doc/src/snippets/designer/multipleinheritance/imagedialog.h deleted file mode 100644 index 1b95cb310..000000000 --- a/sources/pyside2/doc/codesnippets/doc/src/snippets/designer/multipleinheritance/imagedialog.h +++ /dev/null @@ -1,64 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the examples of Qt for Python. -** -** $QT_BEGIN_LICENSE:BSD$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** BSD License Usage -** Alternatively, you may use this file under the terms of the BSD license -** as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of The Qt Company Ltd nor the names of its -** contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -#ifndef IMAGEDIALOG_H -#define IMAGEDIALOG_H - -#include "ui_imagedialog.h" - -class ImageDialog : public QDialog, private Ui::ImageDialog -{ - Q_OBJECT - -public: - ImageDialog(QWidget *parent = 0); -}; - -#endif diff --git a/sources/pyside2/doc/codesnippets/doc/src/snippets/designer/multipleinheritance/imagedialog.ui b/sources/pyside2/doc/codesnippets/doc/src/snippets/designer/multipleinheritance/imagedialog.ui deleted file mode 100644 index 1c5e546f2..000000000 --- a/sources/pyside2/doc/codesnippets/doc/src/snippets/designer/multipleinheritance/imagedialog.ui +++ /dev/null @@ -1,389 +0,0 @@ -<ui version="4.0" > - <comment></comment> - <class>ImageDialog</class> - <widget class="QDialog" > - <property name="objectName" > - <string notr="true" >ImageDialog</string> - </property> - <property name="geometry" > - <rect> - <x>0</x> - <y>0</y> - <width>320</width> - <height>180</height> - </rect> - </property> - <property name="windowTitle" > - <string>Create Image</string> - </property> - <layout class="QVBoxLayout" > - <property name="objectName" > - <string notr="true" /> - </property> - <property name="margin" > - <number>9</number> - </property> - <property name="spacing" > - <number>6</number> - </property> - <item> - <layout class="QGridLayout" > - <property name="objectName" > - <string notr="true" /> - </property> - <property name="margin" > - <number>1</number> - </property> - <property name="spacing" > - <number>6</number> - </property> - <item row="1" column="0" > - <widget class="QLabel" name="widthLabel" > - <property name="objectName" > - <string notr="true" >widthLabel</string> - </property> - <property name="geometry" > - <rect> - <x>1</x> - <y>27</y> - <width>67</width> - <height>22</height> - </rect> - </property> - <property name="frameShape" > - <enum>QFrame::NoFrame</enum> - </property> - <property name="frameShadow" > - <enum>QFrame::Plain</enum> - </property> - <property name="text" > - <string>Width:</string> - </property> - <property name="textFormat" > - <enum>Qt::AutoText</enum> - </property> - </widget> - </item> - <item row="2" column="0" > - <widget class="QLabel" name="heightLabel" > - <property name="objectName" > - <string notr="true" >heightLabel</string> - </property> - <property name="geometry" > - <rect> - <x>1</x> - <y>55</y> - <width>67</width> - <height>22</height> - </rect> - </property> - <property name="frameShape" > - <enum>QFrame::NoFrame</enum> - </property> - <property name="frameShadow" > - <enum>QFrame::Plain</enum> - </property> - <property name="text" > - <string>Height:</string> - </property> - <property name="textFormat" > - <enum>Qt::AutoText</enum> - </property> - </widget> - </item> - <item row="3" column="1" > - <widget class="QComboBox" name="colorDepthCombo" > - <property name="objectName" > - <string notr="true" >colorDepthCombo</string> - </property> - <property name="geometry" > - <rect> - <x>74</x> - <y>83</y> - <width>227</width> - <height>22</height> - </rect> - </property> - <property name="sizePolicy" > - <sizepolicy> - <hsizetype>5</hsizetype> - <vsizetype>0</vsizetype> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="insertPolicy" > - <enum>QComboBox::InsertAtBottom</enum> - </property> - </widget> - </item> - <item row="0" column="1" > - <widget class="QLineEdit" name="nameLineEdit" > - <property name="objectName" > - <string notr="true" >nameLineEdit</string> - </property> - <property name="geometry" > - <rect> - <x>74</x> - <y>83</y> - <width>227</width> - <height>22</height> - </rect> - </property> - <property name="sizePolicy" > - <sizepolicy> - <hsizetype>5</hsizetype> - <vsizetype>0</vsizetype> - <horstretch>1</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="text" > - <string>Untitled image</string> - </property> - <property name="echoMode" > - <enum>QLineEdit::Normal</enum> - </property> - </widget> - </item> - <item row="1" column="1" > - <widget class="QSpinBox" name="spinBox" > - <property name="objectName" > - <string notr="true" >spinBox</string> - </property> - <property name="geometry" > - <rect> - <x>74</x> - <y>1</y> - <width>227</width> - <height>20</height> - </rect> - </property> - <property name="sizePolicy" > - <sizepolicy> - <hsizetype>5</hsizetype> - <vsizetype>0</vsizetype> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="buttonSymbols" > - <enum>QAbstractSpinBox::UpDownArrows</enum> - </property> - <property name="value" > - <number>32</number> - </property> - <property name="maximum" > - <number>1024</number> - </property> - <property name="minimum" > - <number>1</number> - </property> - </widget> - </item> - <item row="2" column="1" > - <widget class="QSpinBox" name="spinBox_2" > - <property name="objectName" > - <string notr="true" >spinBox_2</string> - </property> - <property name="geometry" > - <rect> - <x>74</x> - <y>27</y> - <width>227</width> - <height>22</height> - </rect> - </property> - <property name="sizePolicy" > - <sizepolicy> - <hsizetype>5</hsizetype> - <vsizetype>0</vsizetype> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="buttonSymbols" > - <enum>QAbstractSpinBox::UpDownArrows</enum> - </property> - <property name="value" > - <number>32</number> - </property> - <property name="maximum" > - <number>1024</number> - </property> - <property name="minimum" > - <number>1</number> - </property> - </widget> - </item> - <item row="0" column="0" > - <widget class="QLabel" name="nameLabel" > - <property name="objectName" > - <string notr="true" >nameLabel</string> - </property> - <property name="geometry" > - <rect> - <x>1</x> - <y>1</y> - <width>67</width> - <height>20</height> - </rect> - </property> - <property name="frameShape" > - <enum>QFrame::NoFrame</enum> - </property> - <property name="frameShadow" > - <enum>QFrame::Plain</enum> - </property> - <property name="text" > - <string>Name:</string> - </property> - <property name="textFormat" > - <enum>Qt::AutoText</enum> - </property> - </widget> - </item> - <item row="3" column="0" > - <widget class="QLabel" name="colorDepthLabel" > - <property name="objectName" > - <string notr="true" >colorDepthLabel</string> - </property> - <property name="geometry" > - <rect> - <x>1</x> - <y>83</y> - <width>67</width> - <height>22</height> - </rect> - </property> - <property name="frameShape" > - <enum>QFrame::NoFrame</enum> - </property> - <property name="frameShadow" > - <enum>QFrame::Plain</enum> - </property> - <property name="text" > - <string>Color depth:</string> - </property> - <property name="textFormat" > - <enum>Qt::AutoText</enum> - </property> - </widget> - </item> - </layout> - </item> - <item> - <spacer> - <property name="objectName" > - <string notr="true" /> - </property> - <property name="geometry" > - <rect> - <x>9</x> - <y>121</y> - <width>302</width> - <height>18</height> - </rect> - </property> - <property name="orientation" > - <enum>Qt::Vertical</enum> - </property> - </spacer> - </item> - <item> - <layout class="QHBoxLayout" > - <property name="objectName" > - <string notr="true" /> - </property> - <property name="margin" > - <number>1</number> - </property> - <property name="spacing" > - <number>6</number> - </property> - <item> - <spacer> - <property name="objectName" > - <string notr="true" /> - </property> - <property name="geometry" > - <rect> - <x>1</x> - <y>1</y> - <width>128</width> - <height>24</height> - </rect> - </property> - <property name="orientation" > - <enum>Qt::Horizontal</enum> - </property> - </spacer> - </item> - <item> - <widget class="QPushButton" name="okButton" > - <property name="objectName" > - <string notr="true" >okButton</string> - </property> - <property name="geometry" > - <rect> - <x>135</x> - <y>1</y> - <width>80</width> - <height>24</height> - </rect> - </property> - <property name="text" > - <string>OK</string> - </property> - </widget> - </item> - <item> - <widget class="QPushButton" name="cancelButton" > - <property name="objectName" > - <string notr="true" >cancelButton</string> - </property> - <property name="geometry" > - <rect> - <x>221</x> - <y>1</y> - <width>80</width> - <height>24</height> - </rect> - </property> - <property name="text" > - <string>Cancel</string> - </property> - </widget> - </item> - </layout> - </item> - </layout> - </widget> - <pixmapfunction></pixmapfunction> - <tabstops> - <tabstop>nameLineEdit</tabstop> - <tabstop>spinBox</tabstop> - <tabstop>spinBox_2</tabstop> - <tabstop>colorDepthCombo</tabstop> - <tabstop>okButton</tabstop> - <tabstop>cancelButton</tabstop> - </tabstops> - <connections> - <connection> - <sender>nameLineEdit</sender> - <signal>returnPressed()</signal> - <receiver>okButton</receiver> - <slot>animateClick()</slot> - <hints> - <hint type="sourcelabel" > - <x>-1</x> - <y>7</y> - </hint> - <hint type="destinationlabel" > - <x>-1</x> - <y>7</y> - </hint> - </hints> - </connection> - </connections> -</ui> diff --git a/sources/pyside2/doc/codesnippets/doc/src/snippets/designer/noautoconnection/imagedialog.h b/sources/pyside2/doc/codesnippets/doc/src/snippets/designer/noautoconnection/imagedialog.h deleted file mode 100644 index 16ff0ec18..000000000 --- a/sources/pyside2/doc/codesnippets/doc/src/snippets/designer/noautoconnection/imagedialog.h +++ /dev/null @@ -1,69 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the examples of Qt for Python. -** -** $QT_BEGIN_LICENSE:BSD$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** BSD License Usage -** Alternatively, you may use this file under the terms of the BSD license -** as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of The Qt Company Ltd nor the names of its -** contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -#ifndef IMAGEDIALOG_H -#define IMAGEDIALOG_H - -#include "ui_imagedialog.h" - -//! [0] -class ImageDialog : public QDialog, private Ui::ImageDialog -{ - Q_OBJECT - -public: - ImageDialog(QWidget *parent = 0); - -private slots: - void checkValues(); -}; -//! [0] - -#endif diff --git a/sources/pyside2/doc/codesnippets/doc/src/snippets/designer/noautoconnection/imagedialog.ui b/sources/pyside2/doc/codesnippets/doc/src/snippets/designer/noautoconnection/imagedialog.ui deleted file mode 100644 index 1c5e546f2..000000000 --- a/sources/pyside2/doc/codesnippets/doc/src/snippets/designer/noautoconnection/imagedialog.ui +++ /dev/null @@ -1,389 +0,0 @@ -<ui version="4.0" > - <comment></comment> - <class>ImageDialog</class> - <widget class="QDialog" > - <property name="objectName" > - <string notr="true" >ImageDialog</string> - </property> - <property name="geometry" > - <rect> - <x>0</x> - <y>0</y> - <width>320</width> - <height>180</height> - </rect> - </property> - <property name="windowTitle" > - <string>Create Image</string> - </property> - <layout class="QVBoxLayout" > - <property name="objectName" > - <string notr="true" /> - </property> - <property name="margin" > - <number>9</number> - </property> - <property name="spacing" > - <number>6</number> - </property> - <item> - <layout class="QGridLayout" > - <property name="objectName" > - <string notr="true" /> - </property> - <property name="margin" > - <number>1</number> - </property> - <property name="spacing" > - <number>6</number> - </property> - <item row="1" column="0" > - <widget class="QLabel" name="widthLabel" > - <property name="objectName" > - <string notr="true" >widthLabel</string> - </property> - <property name="geometry" > - <rect> - <x>1</x> - <y>27</y> - <width>67</width> - <height>22</height> - </rect> - </property> - <property name="frameShape" > - <enum>QFrame::NoFrame</enum> - </property> - <property name="frameShadow" > - <enum>QFrame::Plain</enum> - </property> - <property name="text" > - <string>Width:</string> - </property> - <property name="textFormat" > - <enum>Qt::AutoText</enum> - </property> - </widget> - </item> - <item row="2" column="0" > - <widget class="QLabel" name="heightLabel" > - <property name="objectName" > - <string notr="true" >heightLabel</string> - </property> - <property name="geometry" > - <rect> - <x>1</x> - <y>55</y> - <width>67</width> - <height>22</height> - </rect> - </property> - <property name="frameShape" > - <enum>QFrame::NoFrame</enum> - </property> - <property name="frameShadow" > - <enum>QFrame::Plain</enum> - </property> - <property name="text" > - <string>Height:</string> - </property> - <property name="textFormat" > - <enum>Qt::AutoText</enum> - </property> - </widget> - </item> - <item row="3" column="1" > - <widget class="QComboBox" name="colorDepthCombo" > - <property name="objectName" > - <string notr="true" >colorDepthCombo</string> - </property> - <property name="geometry" > - <rect> - <x>74</x> - <y>83</y> - <width>227</width> - <height>22</height> - </rect> - </property> - <property name="sizePolicy" > - <sizepolicy> - <hsizetype>5</hsizetype> - <vsizetype>0</vsizetype> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="insertPolicy" > - <enum>QComboBox::InsertAtBottom</enum> - </property> - </widget> - </item> - <item row="0" column="1" > - <widget class="QLineEdit" name="nameLineEdit" > - <property name="objectName" > - <string notr="true" >nameLineEdit</string> - </property> - <property name="geometry" > - <rect> - <x>74</x> - <y>83</y> - <width>227</width> - <height>22</height> - </rect> - </property> - <property name="sizePolicy" > - <sizepolicy> - <hsizetype>5</hsizetype> - <vsizetype>0</vsizetype> - <horstretch>1</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="text" > - <string>Untitled image</string> - </property> - <property name="echoMode" > - <enum>QLineEdit::Normal</enum> - </property> - </widget> - </item> - <item row="1" column="1" > - <widget class="QSpinBox" name="spinBox" > - <property name="objectName" > - <string notr="true" >spinBox</string> - </property> - <property name="geometry" > - <rect> - <x>74</x> - <y>1</y> - <width>227</width> - <height>20</height> - </rect> - </property> - <property name="sizePolicy" > - <sizepolicy> - <hsizetype>5</hsizetype> - <vsizetype>0</vsizetype> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="buttonSymbols" > - <enum>QAbstractSpinBox::UpDownArrows</enum> - </property> - <property name="value" > - <number>32</number> - </property> - <property name="maximum" > - <number>1024</number> - </property> - <property name="minimum" > - <number>1</number> - </property> - </widget> - </item> - <item row="2" column="1" > - <widget class="QSpinBox" name="spinBox_2" > - <property name="objectName" > - <string notr="true" >spinBox_2</string> - </property> - <property name="geometry" > - <rect> - <x>74</x> - <y>27</y> - <width>227</width> - <height>22</height> - </rect> - </property> - <property name="sizePolicy" > - <sizepolicy> - <hsizetype>5</hsizetype> - <vsizetype>0</vsizetype> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="buttonSymbols" > - <enum>QAbstractSpinBox::UpDownArrows</enum> - </property> - <property name="value" > - <number>32</number> - </property> - <property name="maximum" > - <number>1024</number> - </property> - <property name="minimum" > - <number>1</number> - </property> - </widget> - </item> - <item row="0" column="0" > - <widget class="QLabel" name="nameLabel" > - <property name="objectName" > - <string notr="true" >nameLabel</string> - </property> - <property name="geometry" > - <rect> - <x>1</x> - <y>1</y> - <width>67</width> - <height>20</height> - </rect> - </property> - <property name="frameShape" > - <enum>QFrame::NoFrame</enum> - </property> - <property name="frameShadow" > - <enum>QFrame::Plain</enum> - </property> - <property name="text" > - <string>Name:</string> - </property> - <property name="textFormat" > - <enum>Qt::AutoText</enum> - </property> - </widget> - </item> - <item row="3" column="0" > - <widget class="QLabel" name="colorDepthLabel" > - <property name="objectName" > - <string notr="true" >colorDepthLabel</string> - </property> - <property name="geometry" > - <rect> - <x>1</x> - <y>83</y> - <width>67</width> - <height>22</height> - </rect> - </property> - <property name="frameShape" > - <enum>QFrame::NoFrame</enum> - </property> - <property name="frameShadow" > - <enum>QFrame::Plain</enum> - </property> - <property name="text" > - <string>Color depth:</string> - </property> - <property name="textFormat" > - <enum>Qt::AutoText</enum> - </property> - </widget> - </item> - </layout> - </item> - <item> - <spacer> - <property name="objectName" > - <string notr="true" /> - </property> - <property name="geometry" > - <rect> - <x>9</x> - <y>121</y> - <width>302</width> - <height>18</height> - </rect> - </property> - <property name="orientation" > - <enum>Qt::Vertical</enum> - </property> - </spacer> - </item> - <item> - <layout class="QHBoxLayout" > - <property name="objectName" > - <string notr="true" /> - </property> - <property name="margin" > - <number>1</number> - </property> - <property name="spacing" > - <number>6</number> - </property> - <item> - <spacer> - <property name="objectName" > - <string notr="true" /> - </property> - <property name="geometry" > - <rect> - <x>1</x> - <y>1</y> - <width>128</width> - <height>24</height> - </rect> - </property> - <property name="orientation" > - <enum>Qt::Horizontal</enum> - </property> - </spacer> - </item> - <item> - <widget class="QPushButton" name="okButton" > - <property name="objectName" > - <string notr="true" >okButton</string> - </property> - <property name="geometry" > - <rect> - <x>135</x> - <y>1</y> - <width>80</width> - <height>24</height> - </rect> - </property> - <property name="text" > - <string>OK</string> - </property> - </widget> - </item> - <item> - <widget class="QPushButton" name="cancelButton" > - <property name="objectName" > - <string notr="true" >cancelButton</string> - </property> - <property name="geometry" > - <rect> - <x>221</x> - <y>1</y> - <width>80</width> - <height>24</height> - </rect> - </property> - <property name="text" > - <string>Cancel</string> - </property> - </widget> - </item> - </layout> - </item> - </layout> - </widget> - <pixmapfunction></pixmapfunction> - <tabstops> - <tabstop>nameLineEdit</tabstop> - <tabstop>spinBox</tabstop> - <tabstop>spinBox_2</tabstop> - <tabstop>colorDepthCombo</tabstop> - <tabstop>okButton</tabstop> - <tabstop>cancelButton</tabstop> - </tabstops> - <connections> - <connection> - <sender>nameLineEdit</sender> - <signal>returnPressed()</signal> - <receiver>okButton</receiver> - <slot>animateClick()</slot> - <hints> - <hint type="sourcelabel" > - <x>-1</x> - <y>7</y> - </hint> - <hint type="destinationlabel" > - <x>-1</x> - <y>7</y> - </hint> - </hints> - </connection> - </connections> -</ui> diff --git a/sources/pyside2/doc/codesnippets/doc/src/snippets/designer/singleinheritance/imagedialog.h b/sources/pyside2/doc/codesnippets/doc/src/snippets/designer/singleinheritance/imagedialog.h deleted file mode 100644 index a14a628f2..000000000 --- a/sources/pyside2/doc/codesnippets/doc/src/snippets/designer/singleinheritance/imagedialog.h +++ /dev/null @@ -1,67 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the examples of Qt for Python. -** -** $QT_BEGIN_LICENSE:BSD$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** BSD License Usage -** Alternatively, you may use this file under the terms of the BSD license -** as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of The Qt Company Ltd nor the names of its -** contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -#ifndef IMAGEDIALOG_H -#define IMAGEDIALOG_H - -#include "ui_imagedialog.h" - -class ImageDialog : public QDialog -{ - Q_OBJECT - -public: - ImageDialog(QWidget *parent = 0); - -private: - Ui::ImageDialog ui; -}; - -#endif diff --git a/sources/pyside2/doc/codesnippets/doc/src/snippets/designer/singleinheritance/imagedialog.ui b/sources/pyside2/doc/codesnippets/doc/src/snippets/designer/singleinheritance/imagedialog.ui deleted file mode 100644 index 1c5e546f2..000000000 --- a/sources/pyside2/doc/codesnippets/doc/src/snippets/designer/singleinheritance/imagedialog.ui +++ /dev/null @@ -1,389 +0,0 @@ -<ui version="4.0" > - <comment></comment> - <class>ImageDialog</class> - <widget class="QDialog" > - <property name="objectName" > - <string notr="true" >ImageDialog</string> - </property> - <property name="geometry" > - <rect> - <x>0</x> - <y>0</y> - <width>320</width> - <height>180</height> - </rect> - </property> - <property name="windowTitle" > - <string>Create Image</string> - </property> - <layout class="QVBoxLayout" > - <property name="objectName" > - <string notr="true" /> - </property> - <property name="margin" > - <number>9</number> - </property> - <property name="spacing" > - <number>6</number> - </property> - <item> - <layout class="QGridLayout" > - <property name="objectName" > - <string notr="true" /> - </property> - <property name="margin" > - <number>1</number> - </property> - <property name="spacing" > - <number>6</number> - </property> - <item row="1" column="0" > - <widget class="QLabel" name="widthLabel" > - <property name="objectName" > - <string notr="true" >widthLabel</string> - </property> - <property name="geometry" > - <rect> - <x>1</x> - <y>27</y> - <width>67</width> - <height>22</height> - </rect> - </property> - <property name="frameShape" > - <enum>QFrame::NoFrame</enum> - </property> - <property name="frameShadow" > - <enum>QFrame::Plain</enum> - </property> - <property name="text" > - <string>Width:</string> - </property> - <property name="textFormat" > - <enum>Qt::AutoText</enum> - </property> - </widget> - </item> - <item row="2" column="0" > - <widget class="QLabel" name="heightLabel" > - <property name="objectName" > - <string notr="true" >heightLabel</string> - </property> - <property name="geometry" > - <rect> - <x>1</x> - <y>55</y> - <width>67</width> - <height>22</height> - </rect> - </property> - <property name="frameShape" > - <enum>QFrame::NoFrame</enum> - </property> - <property name="frameShadow" > - <enum>QFrame::Plain</enum> - </property> - <property name="text" > - <string>Height:</string> - </property> - <property name="textFormat" > - <enum>Qt::AutoText</enum> - </property> - </widget> - </item> - <item row="3" column="1" > - <widget class="QComboBox" name="colorDepthCombo" > - <property name="objectName" > - <string notr="true" >colorDepthCombo</string> - </property> - <property name="geometry" > - <rect> - <x>74</x> - <y>83</y> - <width>227</width> - <height>22</height> - </rect> - </property> - <property name="sizePolicy" > - <sizepolicy> - <hsizetype>5</hsizetype> - <vsizetype>0</vsizetype> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="insertPolicy" > - <enum>QComboBox::InsertAtBottom</enum> - </property> - </widget> - </item> - <item row="0" column="1" > - <widget class="QLineEdit" name="nameLineEdit" > - <property name="objectName" > - <string notr="true" >nameLineEdit</string> - </property> - <property name="geometry" > - <rect> - <x>74</x> - <y>83</y> - <width>227</width> - <height>22</height> - </rect> - </property> - <property name="sizePolicy" > - <sizepolicy> - <hsizetype>5</hsizetype> - <vsizetype>0</vsizetype> - <horstretch>1</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="text" > - <string>Untitled image</string> - </property> - <property name="echoMode" > - <enum>QLineEdit::Normal</enum> - </property> - </widget> - </item> - <item row="1" column="1" > - <widget class="QSpinBox" name="spinBox" > - <property name="objectName" > - <string notr="true" >spinBox</string> - </property> - <property name="geometry" > - <rect> - <x>74</x> - <y>1</y> - <width>227</width> - <height>20</height> - </rect> - </property> - <property name="sizePolicy" > - <sizepolicy> - <hsizetype>5</hsizetype> - <vsizetype>0</vsizetype> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="buttonSymbols" > - <enum>QAbstractSpinBox::UpDownArrows</enum> - </property> - <property name="value" > - <number>32</number> - </property> - <property name="maximum" > - <number>1024</number> - </property> - <property name="minimum" > - <number>1</number> - </property> - </widget> - </item> - <item row="2" column="1" > - <widget class="QSpinBox" name="spinBox_2" > - <property name="objectName" > - <string notr="true" >spinBox_2</string> - </property> - <property name="geometry" > - <rect> - <x>74</x> - <y>27</y> - <width>227</width> - <height>22</height> - </rect> - </property> - <property name="sizePolicy" > - <sizepolicy> - <hsizetype>5</hsizetype> - <vsizetype>0</vsizetype> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="buttonSymbols" > - <enum>QAbstractSpinBox::UpDownArrows</enum> - </property> - <property name="value" > - <number>32</number> - </property> - <property name="maximum" > - <number>1024</number> - </property> - <property name="minimum" > - <number>1</number> - </property> - </widget> - </item> - <item row="0" column="0" > - <widget class="QLabel" name="nameLabel" > - <property name="objectName" > - <string notr="true" >nameLabel</string> - </property> - <property name="geometry" > - <rect> - <x>1</x> - <y>1</y> - <width>67</width> - <height>20</height> - </rect> - </property> - <property name="frameShape" > - <enum>QFrame::NoFrame</enum> - </property> - <property name="frameShadow" > - <enum>QFrame::Plain</enum> - </property> - <property name="text" > - <string>Name:</string> - </property> - <property name="textFormat" > - <enum>Qt::AutoText</enum> - </property> - </widget> - </item> - <item row="3" column="0" > - <widget class="QLabel" name="colorDepthLabel" > - <property name="objectName" > - <string notr="true" >colorDepthLabel</string> - </property> - <property name="geometry" > - <rect> - <x>1</x> - <y>83</y> - <width>67</width> - <height>22</height> - </rect> - </property> - <property name="frameShape" > - <enum>QFrame::NoFrame</enum> - </property> - <property name="frameShadow" > - <enum>QFrame::Plain</enum> - </property> - <property name="text" > - <string>Color depth:</string> - </property> - <property name="textFormat" > - <enum>Qt::AutoText</enum> - </property> - </widget> - </item> - </layout> - </item> - <item> - <spacer> - <property name="objectName" > - <string notr="true" /> - </property> - <property name="geometry" > - <rect> - <x>9</x> - <y>121</y> - <width>302</width> - <height>18</height> - </rect> - </property> - <property name="orientation" > - <enum>Qt::Vertical</enum> - </property> - </spacer> - </item> - <item> - <layout class="QHBoxLayout" > - <property name="objectName" > - <string notr="true" /> - </property> - <property name="margin" > - <number>1</number> - </property> - <property name="spacing" > - <number>6</number> - </property> - <item> - <spacer> - <property name="objectName" > - <string notr="true" /> - </property> - <property name="geometry" > - <rect> - <x>1</x> - <y>1</y> - <width>128</width> - <height>24</height> - </rect> - </property> - <property name="orientation" > - <enum>Qt::Horizontal</enum> - </property> - </spacer> - </item> - <item> - <widget class="QPushButton" name="okButton" > - <property name="objectName" > - <string notr="true" >okButton</string> - </property> - <property name="geometry" > - <rect> - <x>135</x> - <y>1</y> - <width>80</width> - <height>24</height> - </rect> - </property> - <property name="text" > - <string>OK</string> - </property> - </widget> - </item> - <item> - <widget class="QPushButton" name="cancelButton" > - <property name="objectName" > - <string notr="true" >cancelButton</string> - </property> - <property name="geometry" > - <rect> - <x>221</x> - <y>1</y> - <width>80</width> - <height>24</height> - </rect> - </property> - <property name="text" > - <string>Cancel</string> - </property> - </widget> - </item> - </layout> - </item> - </layout> - </widget> - <pixmapfunction></pixmapfunction> - <tabstops> - <tabstop>nameLineEdit</tabstop> - <tabstop>spinBox</tabstop> - <tabstop>spinBox_2</tabstop> - <tabstop>colorDepthCombo</tabstop> - <tabstop>okButton</tabstop> - <tabstop>cancelButton</tabstop> - </tabstops> - <connections> - <connection> - <sender>nameLineEdit</sender> - <signal>returnPressed()</signal> - <receiver>okButton</receiver> - <slot>animateClick()</slot> - <hints> - <hint type="sourcelabel" > - <x>-1</x> - <y>7</y> - </hint> - <hint type="destinationlabel" > - <x>-1</x> - <y>7</y> - </hint> - </hints> - </connection> - </connections> -</ui> |