diff options
Diffstat (limited to 'examples/xmlpatterns/schema')
-rw-r--r-- | examples/xmlpatterns/schema/mainwindow.h | 6 | ||||
-rw-r--r-- | examples/xmlpatterns/schema/schema.pro | 5 | ||||
-rw-r--r-- | examples/xmlpatterns/schema/schema_mobiles.ui | 130 |
3 files changed, 2 insertions, 139 deletions
diff --git a/examples/xmlpatterns/schema/mainwindow.h b/examples/xmlpatterns/schema/mainwindow.h index e36665a..d34f145 100644 --- a/examples/xmlpatterns/schema/mainwindow.h +++ b/examples/xmlpatterns/schema/mainwindow.h @@ -43,11 +43,7 @@ #include <QMainWindow> -#if defined(Q_WS_MAEMO_5) || defined(Q_WS_SIMULATOR) - #include "ui_schema_mobiles.h" -#else - #include "ui_schema.h" -#endif +#include "ui_schema.h" //! [0] class MainWindow : public QMainWindow, diff --git a/examples/xmlpatterns/schema/schema.pro b/examples/xmlpatterns/schema/schema.pro index dd56375..ded65a1 100644 --- a/examples/xmlpatterns/schema/schema.pro +++ b/examples/xmlpatterns/schema/schema.pro @@ -1,5 +1,5 @@ QT += widgets xmlpatterns -FORMS += schema.ui schema_mobiles.ui +FORMS += schema.ui HEADERS = mainwindow.h ../shared/xmlsyntaxhighlighter.h RESOURCES = schema.qrc SOURCES = main.cpp mainwindow.cpp ../shared/xmlsyntaxhighlighter.cpp @@ -7,6 +7,3 @@ INCLUDEPATH += ../shared/ target.path = $$[QT_INSTALL_EXAMPLES]/xmlpatterns/schema INSTALLS += target - -maemo5: CONFIG += qt_example - diff --git a/examples/xmlpatterns/schema/schema_mobiles.ui b/examples/xmlpatterns/schema/schema_mobiles.ui deleted file mode 100644 index 009d0aa..0000000 --- a/examples/xmlpatterns/schema/schema_mobiles.ui +++ /dev/null @@ -1,130 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<ui version="4.0"> - <class>SchemaMainWindow</class> - <widget class="QMainWindow" name="SchemaMainWindow"> - <property name="geometry"> - <rect> - <x>0</x> - <y>0</y> - <width>187</width> - <height>179</height> - </rect> - </property> - <property name="windowTitle"> - <string>XML Schema Validation</string> - </property> - <widget class="QWidget" name="centralwidget"> - <layout class="QVBoxLayout" name="verticalLayout_3"> - <property name="sizeConstraint"> - <enum>QLayout::SetNoConstraint</enum> - </property> - <item> - <widget class="QTabWidget" name="tabWidget"> - <property name="currentIndex"> - <number>1</number> - </property> - <widget class="QWidget" name="tab"> - <attribute name="title"> - <string>XML Schema</string> - </attribute> - <layout class="QVBoxLayout" name="verticalLayout_2"> - <item> - <widget class="QComboBox" name="schemaSelection"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="maxVisibleItems"> - <number>3</number> - </property> - </widget> - </item> - <item> - <widget class="QTextBrowser" name="schemaView"/> - </item> - </layout> - </widget> - <widget class="QWidget" name="tab_2"> - <attribute name="title"> - <string>XML Instance</string> - </attribute> - <layout class="QVBoxLayout" name="verticalLayout"> - <property name="sizeConstraint"> - <enum>QLayout::SetNoConstraint</enum> - </property> - <item> - <widget class="QComboBox" name="instanceSelection"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="maxVisibleItems"> - <number>3</number> - </property> - </widget> - </item> - <item> - <widget class="QTextBrowser" name="instanceEdit"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="font"> - <font> - <pointsize>8</pointsize> - </font> - </property> - <property name="readOnly"> - <bool>false</bool> - </property> - </widget> - </item> - <item> - <layout class="QHBoxLayout" name="horizontalLayout_2"> - <item> - <widget class="QLabel" name="validationStatus"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="text"> - <string>Not validated</string> - </property> - <property name="wordWrap"> - <bool>true</bool> - </property> - </widget> - </item> - <item> - <widget class="QPushButton" name="validateButton"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Maximum" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="text"> - <string>Validate</string> - </property> - </widget> - </item> - </layout> - </item> - </layout> - </widget> - </widget> - </item> - </layout> - </widget> - </widget> - <resources/> - <connections/> -</ui> |