Sat, 18 Dec 2021 18:34:07 +0100
Added some more components to the QSS preview widget.
eric7/UI/Previewers/PreviewerQSS.ui | file | annotate | diff | comparison | revisions |
--- a/eric7/UI/Previewers/PreviewerQSS.ui Sat Dec 18 18:33:31 2021 +0100 +++ b/eric7/UI/Previewers/PreviewerQSS.ui Sat Dec 18 18:34:07 2021 +0100 @@ -13,7 +13,7 @@ <property name="windowTitle"> <string/> </property> - <layout class="QVBoxLayout" name="verticalLayout"> + <layout class="QVBoxLayout" name="verticalLayout_7"> <item> <widget class="QLabel" name="previewLabel"> <property name="font"> @@ -1051,165 +1051,169 @@ <attribute name="title"> <string notr="true">Tab 3</string> </attribute> - <layout class="QGridLayout" name="gridLayout_8"> - <item row="0" column="0"> - <widget class="QTextBrowser" name="textBrowser"> - <property name="undoRedoEnabled"> - <bool>true</bool> + <layout class="QVBoxLayout" name="verticalLayout"> + <item> + <widget class="QSplitter" name="splitter_2"> + <property name="orientation"> + <enum>Qt::Vertical</enum> </property> - <property name="html"> - <string notr="true"><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> + <widget class="QSplitter" name="splitter"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <widget class="QTextBrowser" name="textBrowser"> + <property name="undoRedoEnabled"> + <bool>true</bool> + </property> + <property name="html"> + <string notr="true"><!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" /><meta charset="utf-8" /><style type="text/css"> p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'Noto Sans'; 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;"><span style=" font-family:'MS Shell Dlg 2';">Text </span><span style=" font-family:'MS Shell Dlg 2'; font-weight:600;">browser</span><span style=" font-family:'MS Shell Dlg 2';"> </span><span style=" font-family:'MS Shell Dlg 2'; font-style:italic;">with</span><span style=" font-family:'MS Shell Dlg 2';"> </span><span style=" font-family:'MS Shell Dlg 2'; text-decoration: underline;">some</span><span style=" font-family:'MS Shell Dlg 2';"> </span><span style=" font-family:'MS Shell Dlg 2'; font-weight:600; font-style:italic;">text </span><span style=" font-family:'MS Shell Dlg 2';">and </span><a href="http://google.com"><span style=" font-family:'MS Shell Dlg 2'; text-decoration: underline; color:#0000ff;">links</span></a></p></body></html></string> - </property> - <property name="openLinks"> - <bool>false</bool> - </property> - </widget> - </item> - <item row="0" column="1"> - <widget class="QTextEdit" name="textEdit"> - <property name="html"> - <string notr="true"><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> + </property> + <property name="openLinks"> + <bool>false</bool> + </property> + </widget> + <widget class="QTextEdit" name="textEdit"> + <property name="html"> + <string notr="true"><!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" /><meta charset="utf-8" /><style type="text/css"> p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'Noto Sans'; 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;"><span style=" font-family:'MS Shell Dlg 2';">Text edit</span></p></body></html></string> - </property> - </widget> - </item> - <item row="0" column="2"> - <widget class="QCalendarWidget" name="calendarWidget"/> - </item> - <item row="1" column="0" colspan="3"> - <widget class="QGroupBox" name="groupBox"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> - <horstretch>1</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="title"> - <string notr="true">GroupBox</string> - </property> - <layout class="QGridLayout" name="gridLayout_3"> - <item row="0" column="0"> - <widget class="QScrollArea" name="scrollArea_2"> - <property name="widgetResizable"> - <bool>true</bool> - </property> - <widget class="QWidget" name="scrollAreaWidgetContents_2"> - <property name="geometry"> - <rect> - <x>0</x> - <y>0</y> - <width>500</width> - <height>427</height> - </rect> + </property> + </widget> + <widget class="QCalendarWidget" name="calendarWidget"/> + </widget> + <widget class="QGroupBox" name="groupBox"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> + <horstretch>1</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="title"> + <string notr="true">GroupBox</string> + </property> + <layout class="QGridLayout" name="gridLayout_3"> + <item row="0" column="0"> + <widget class="QScrollArea" name="scrollArea_2"> + <property name="widgetResizable"> + <bool>true</bool> </property> - <layout class="QGridLayout" name="gridLayout_9"> - <item row="0" column="1"> - <widget class="QFrame" name="frame"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> - <horstretch>1</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="frameShape"> - <enum>QFrame::StyledPanel</enum> - </property> - <property name="frameShadow"> - <enum>QFrame::Raised</enum> - </property> - <layout class="QGridLayout" name="gridLayout_10"> - <item row="0" column="0"> - <widget class="QLabel" name="label_2"> - <property name="text"> - <string notr="true">Frame</string> - </property> - </widget> - </item> - <item row="1" column="0"> - <spacer name="verticalSpacer_2"> - <property name="orientation"> - <enum>Qt::Vertical</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>20</width> - <height>46</height> - </size> - </property> - </spacer> - </item> - </layout> - </widget> - </item> - <item row="0" column="0" rowspan="2"> - <widget class="QToolBox" name="toolBox"> - <property name="currentIndex"> - <number>0</number> - </property> - <widget class="QWidget" name="page"> - <property name="geometry"> - <rect> - <x>0</x> - <y>0</y> - <width>68</width> - <height>345</height> - </rect> + <widget class="QWidget" name="scrollAreaWidgetContents_2"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>500</width> + <height>426</height> + </rect> + </property> + <layout class="QGridLayout" name="gridLayout_9"> + <item row="0" column="1"> + <widget class="QFrame" name="frame"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> + <horstretch>1</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="frameShape"> + <enum>QFrame::StyledPanel</enum> + </property> + <property name="frameShadow"> + <enum>QFrame::Raised</enum> + </property> + <layout class="QGridLayout" name="gridLayout_10"> + <item row="0" column="0"> + <widget class="QLabel" name="label_2"> + <property name="text"> + <string notr="true">Frame</string> + </property> + </widget> + </item> + <item row="1" column="0"> + <spacer name="verticalSpacer_2"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>46</height> + </size> + </property> + </spacer> + </item> + </layout> + </widget> + </item> + <item row="0" column="0" rowspan="2"> + <widget class="QToolBox" name="toolBox"> + <property name="currentIndex"> + <number>0</number> </property> - <attribute name="label"> - <string notr="true">Toolbox1</string> - </attribute> - </widget> - <widget class="QWidget" name="page_2"> - <property name="geometry"> - <rect> - <x>0</x> - <y>0</y> - <width>100</width> - <height>30</height> - </rect> - </property> - <attribute name="label"> - <string notr="true">Toolbox2</string> - </attribute> + <widget class="QWidget" name="page"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>68</width> + <height>344</height> + </rect> + </property> + <attribute name="label"> + <string notr="true">Toolbox1</string> + </attribute> + </widget> + <widget class="QWidget" name="page_2"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>98</width> + <height>28</height> + </rect> + </property> + <attribute name="label"> + <string notr="true">Toolbox2</string> + </attribute> + </widget> </widget> - </widget> - </item> - <item row="0" column="2"> - <widget class="QDockWidget" name="dockWidget"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> - <horstretch>1</horstretch> - <verstretch>1</verstretch> - </sizepolicy> - </property> - <property name="windowTitle"> - <string notr="true">Dock widget</string> - </property> - <widget class="QWidget" name="dockWidgetContents_3"/> - </widget> - </item> - <item row="1" column="1" colspan="2"> - <widget class="QMdiArea" name="mdiArea"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> - <horstretch>0</horstretch> - <verstretch>2</verstretch> - </sizepolicy> - </property> - </widget> - </item> - </layout> + </item> + <item row="0" column="2"> + <widget class="QDockWidget" name="dockWidget"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> + <horstretch>1</horstretch> + <verstretch>1</verstretch> + </sizepolicy> + </property> + <property name="windowTitle"> + <string notr="true">Dock widget</string> + </property> + <widget class="QWidget" name="dockWidgetContents_3"/> + </widget> + </item> + <item row="1" column="1" colspan="2"> + <widget class="QMdiArea" name="mdiArea"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> + <horstretch>0</horstretch> + <verstretch>2</verstretch> + </sizepolicy> + </property> + </widget> + </item> + </layout> + </widget> </widget> - </widget> - </item> - </layout> + </item> + </layout> + </widget> </widget> </item> </layout>