aboutsummaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorHolger Schröder <holger.schroeder.ext@basyskom.de>2010-09-21 14:18:59 +0200
committerTomas Junnonen <tomas.junnonen@nokia.com>2010-09-27 13:11:46 +0300
commit2ff22b3ec5af327424c2911d8815dae301c96efb (patch)
treef2f99e459f8ed2cbc04f5c822b1670284a03d83e /demos
parent6ae245e04af6d7df352c963b76c46d2daa8f01b9 (diff)
Changes: remove plain qt style in libmeegotouch
RevBy: Tomas Junnonen, Berthold Krevert Details: the plain qt style can now be found at: http://meego.gitorious.org/meegotouch/meegotouch-qt-style The reason for the split of the plain qt style from libmeegotouch is the following problem: The style should display the content picker instead of the normal qt file dialog in qt applications. The libcontentmanager does implement the content picker. And libcontentmanager links against libmeegotouch. So we would have an impossible cyclic dependency when we would try to link against the libcontentmanager from the plain qt style in libmeegotouch. So we had to split the plain qt style form the rest of the libmeegotouch and put it into its own repo at the URL above. Now the plain qt style can link against both libmeegotouch and libcontentmanager.
Diffstat (limited to 'demos')
-rw-r--r--demos/demos.pro6
-rw-r--r--demos/qtstyledialogs/.gitignore3
-rw-r--r--demos/qtstyledialogs/com.nokia.qtstyledialogs.service.in3
-rw-r--r--demos/qtstyledialogs/main.cpp33
-rw-r--r--demos/qtstyledialogs/mainwindow.cpp174
-rw-r--r--demos/qtstyledialogs/mainwindow.h54
-rw-r--r--demos/qtstyledialogs/mainwindow.ui251
-rw-r--r--demos/qtstyledialogs/qtstyledialogs-windows-style.desktop7
-rw-r--r--demos/qtstyledialogs/qtstyledialogs.desktop7
-rw-r--r--demos/qtstyledialogs/qtstyledialogs.pro54
-rw-r--r--demos/qtstyleexample/.gitignore4
-rw-r--r--demos/qtstyleexample/com.nokia.qtstyleexample.service.in3
-rw-r--r--demos/qtstyleexample/images/Widgets-Gallery-Graphics.svg48
-rw-r--r--demos/qtstyleexample/images/icon-m-message-send-receive.svg25
-rw-r--r--demos/qtstyleexample/images/icon-m-save.svg25
-rw-r--r--demos/qtstyleexample/main.cpp44
-rw-r--r--demos/qtstyleexample/mainwindow.cpp61
-rw-r--r--demos/qtstyleexample/mainwindow.h41
-rw-r--r--demos/qtstyleexample/mainwindow.ui1459
-rw-r--r--demos/qtstyleexample/qtstyleexample-windows-style.desktop7
-rw-r--r--demos/qtstyleexample/qtstyleexample.desktop7
-rw-r--r--demos/qtstyleexample/qtstyleexample.pro55
-rw-r--r--demos/qtstyleexample/res.qrc6
-rw-r--r--demos/qtstyleexample/style/qtstyleexample.conf0
-rw-r--r--demos/qtstyleexample/style/qtstyleexample.css0
-rw-r--r--demos/qtstylekinetic/.gitignore3
-rw-r--r--demos/qtstylekinetic/com.nokia.qtstylekinetic.service.in3
-rw-r--r--demos/qtstylekinetic/main.cpp33
-rw-r--r--demos/qtstylekinetic/mainwindow.cpp49
-rw-r--r--demos/qtstylekinetic/mainwindow.h35
-rw-r--r--demos/qtstylekinetic/mainwindow.ui334
-rw-r--r--demos/qtstylekinetic/qtstylekinetic.pro54
-rw-r--r--demos/qtstyleorientation/.gitignore3
-rw-r--r--demos/qtstyleorientation/com.nokia.qtstyleorientation.service.in3
-rw-r--r--demos/qtstyleorientation/main.cpp40
-rw-r--r--demos/qtstyleorientation/mainwindow.cpp72
-rw-r--r--demos/qtstyleorientation/mainwindow.h39
-rw-r--r--demos/qtstyleorientation/meegotouch-wallpaper-landscape.jpgbin405946 -> 0 bytes
-rw-r--r--demos/qtstyleorientation/meegotouch-wallpaper-portrait.jpgbin296218 -> 0 bytes
-rw-r--r--demos/qtstyleorientation/qtstyleorientation.desktop7
-rw-r--r--demos/qtstyleorientation/qtstyleorientation.pro39
-rw-r--r--demos/qtstyleorientation/res.qrc6
42 files changed, 1 insertions, 3096 deletions
diff --git a/demos/demos.pro b/demos/demos.pro
index 2a56d7d7..a5133fb6 100644
--- a/demos/demos.pro
+++ b/demos/demos.pro
@@ -9,11 +9,7 @@ SUBDIRS = \
!contains(M_BUILD_FEATURES, minimal) {
SUBDIRS += \
animatedlayout \
- animatedlayout/translations \
- qtstyleexample \
- qtstyledialogs \
- qtstylekinetic \
- qtstyleorientation
+ animatedlayout/translations
}
# we do not have compiled QtDBusd4
diff --git a/demos/qtstyledialogs/.gitignore b/demos/qtstyledialogs/.gitignore
deleted file mode 100644
index 97435977..00000000
--- a/demos/qtstyledialogs/.gitignore
+++ /dev/null
@@ -1,3 +0,0 @@
-com.nokia.qtstyledialogs.service
-qtstyledialogs
-ui_mainwindow.h
diff --git a/demos/qtstyledialogs/com.nokia.qtstyledialogs.service.in b/demos/qtstyledialogs/com.nokia.qtstyledialogs.service.in
deleted file mode 100644
index 26a0deb4..00000000
--- a/demos/qtstyledialogs/com.nokia.qtstyledialogs.service.in
+++ /dev/null
@@ -1,3 +0,0 @@
-[D-BUS Service]
-Name=com.nokia.qtstyledialogs
-Exec=@M_INSTALL_BIN@/qtstyledialogs -style iqs
diff --git a/demos/qtstyledialogs/main.cpp b/demos/qtstyledialogs/main.cpp
deleted file mode 100644
index cef840be..00000000
--- a/demos/qtstyledialogs/main.cpp
+++ /dev/null
@@ -1,33 +0,0 @@
-/***************************************************************************
-**
-** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
-** All rights reserved.
-** Contact: Nokia Corporation (directui@nokia.com)
-**
-** This file is part of libmeegotouch.
-**
-** If you have questions regarding the use of this file, please contact
-** Nokia at directui@nokia.com.
-**
-** This library is free software; you can redistribute it and/or
-** modify it under the terms of the GNU Lesser General Public
-** License version 2.1 as published by the Free Software Foundation
-** and appearing in the file LICENSE.LGPL included in the packaging
-** of this file.
-**
-****************************************************************************/
-
-#include <QApplication>
-#include <QMainWindow>
-
-#include "mainwindow.h"
-
-int main(int argc, char **argv)
-{
- QApplication app(argc, argv);
- MainWindow mw;
- mw.show();
-
- return app.exec();
-}
-
diff --git a/demos/qtstyledialogs/mainwindow.cpp b/demos/qtstyledialogs/mainwindow.cpp
deleted file mode 100644
index 73e25d90..00000000
--- a/demos/qtstyledialogs/mainwindow.cpp
+++ /dev/null
@@ -1,174 +0,0 @@
-/***************************************************************************
-**
-** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
-** All rights reserved.
-** Contact: Nokia Corporation (directui@nokia.com)
-**
-** This file is part of libmeegotouch.
-**
-** If you have questions regarding the use of this file, please contact
-** Nokia at directui@nokia.com.
-**
-** This library is free software; you can redistribute it and/or
-** modify it under the terms of the GNU Lesser General Public
-** License version 2.1 as published by the Free Software Foundation
-** and appearing in the file LICENSE.LGPL included in the packaging
-** of this file.
-**
-****************************************************************************/
-
-#include "mainwindow.h"
-
-#include <QPushButton>
-#include <QColorDialog>
-#include <QErrorMessage>
-#include <QFileDialog>
-#include <QFontDialog>
-#include <QInputDialog>
-#include <QMessageBox>
-#include <QPageSetupDialog>
-#include <QPrintPreviewDialog>
-#include <QProgressDialog>
-#include <QWizard>
-
-MainWindow::MainWindow() : QMainWindow(NULL)
-{
- setupUi(this);
-
- connect(normalNmDialogButton, SIGNAL(clicked()), SLOT(showNormalNmDialog()));
- connect(fullScreenNmDialogButton, SIGNAL(clicked()), SLOT(showFullScreenNmDialog()));
- connect(hugeNmDialogButton, SIGNAL(clicked()), SLOT(showHugeNmDialog()));
-
- connect(normalMDialogButton, SIGNAL(clicked()), SLOT(showNormalMDialog()));
- connect(fullScreenMDialogButton, SIGNAL(clicked()), SLOT(showFullScreenMDialog()));
- connect(HugeMDialogButton, SIGNAL(clicked()), SLOT(showHugeMDialog()));
-
-
- connect(colorDialogButton, SIGNAL(clicked()), SLOT(showColorDialog()));
- connect(errorMessageButton, SIGNAL(clicked()), SLOT(showErrorMessage()));
- connect(fileDialogButton, SIGNAL(clicked()), SLOT(showFileDialog()));
- connect(fontDialogButton, SIGNAL(clicked()), SLOT(showFontDialog()));
- connect(inputDialogButton, SIGNAL(clicked()), SLOT(showInputDialog()));
- connect(messageBoxButton, SIGNAL(clicked()), SLOT(showMessageBox()));
- connect(pageSetupDialogButton, SIGNAL(clicked()), SLOT(showPageSetupDialog()));
- connect(printPreviewDialogButton, SIGNAL(clicked()), SLOT(showPrintPreviewDialog()));
- connect(progressDialogButton, SIGNAL(clicked()), SLOT(showProgressDialog()));
- connect(wizardButton, SIGNAL(clicked()), SLOT(showWizard()));
-}
-
-MainWindow::~MainWindow()
-{
-
-}
-
-void MainWindow::showColorDialog()
-{
- QColor testColor = QColorDialog::getColor(Qt::red,
- this, "Color Dialog",
- QColorDialog::ShowAlphaChannel);
-}
-
-void MainWindow::showErrorMessage()
-{
- QErrorMessage dialog(this);
- dialog.showMessage("Errare humanum est, sed in errare perseverare diabolicum.");
- dialog.exec();
-}
-
-void MainWindow::showFileDialog()
-{
- QString testFileName = QFileDialog::getOpenFileName(this,
- "Please choose a file name for testing",
- "/");
-}
-
-void MainWindow::showFontDialog()
-{
- bool ok = false;
- QFont testFont = QFontDialog::getFont(&ok, QFont("Times", 12),
- this,
- "Please choose a font for testing.");
-}
-
-void MainWindow::showInputDialog()
-{
- QString testText = QInputDialog::getText(this,
- "Please enter a string for testing.",
- "This is a test");
-}
-
-void MainWindow::showMessageBox()
-{
- QMessageBox::warning(this,
- "Don't Panic! This is a test!",
- "Error 422001: I'm sorry, M. I'm afraid I can't do that!");
-}
-
-void MainWindow::showPageSetupDialog()
-{
- QPageSetupDialog dialog(this);
- dialog.exec();
-}
-
-void MainWindow::showPrintPreviewDialog()
-{
- QPrintPreviewDialog dialog(this);
- dialog.exec();
-}
-
-void MainWindow::showProgressDialog()
-{
- QProgressDialog dialog(this);
- dialog.exec();
-}
-
-void MainWindow::showWizard()
-{
- QWizard dialog(this);
- dialog.exec();
-}
-
-void MainWindow::showNormalNmDialog()
-{
- QDialog dialog(this);
- dialog.setModal(false);
- dialog.exec();
-}
-
-void MainWindow::showFullScreenNmDialog()
-{
- QDialog dialog(this);
- dialog.showFullScreen();
- dialog.setModal(false);
- dialog.exec();
-}
-
-void MainWindow::showHugeNmDialog()
-{
- QDialog dialog(this);
- dialog.setFixedWidth(2048);
- dialog.setFixedHeight(2048);
- dialog.setModal(false);
- dialog.exec();
-}
-
-void MainWindow::showNormalMDialog()
-{
- QDialog dialog(this);
- dialog.exec();
-}
-
-void MainWindow::showFullScreenMDialog()
-{
- QDialog dialog(this);
- dialog.showFullScreen();
- dialog.exec();
-}
-
-void MainWindow::showHugeMDialog()
-{
- QDialog dialog(this);
- dialog.setFixedWidth(2048);
- dialog.setFixedHeight(2048);
- dialog.exec();
-}
diff --git a/demos/qtstyledialogs/mainwindow.h b/demos/qtstyledialogs/mainwindow.h
deleted file mode 100644
index 0fbd3ffe..00000000
--- a/demos/qtstyledialogs/mainwindow.h
+++ /dev/null
@@ -1,54 +0,0 @@
-/***************************************************************************
-**
-** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
-** All rights reserved.
-** Contact: Nokia Corporation (directui@nokia.com)
-**
-** This file is part of libmeegotouch.
-**
-** If you have questions regarding the use of this file, please contact
-** Nokia at directui@nokia.com.
-**
-** This library is free software; you can redistribute it and/or
-** modify it under the terms of the GNU Lesser General Public
-** License version 2.1 as published by the Free Software Foundation
-** and appearing in the file LICENSE.LGPL included in the packaging
-** of this file.
-**
-****************************************************************************/
-
-#ifndef MAINWINDOW_H
-#define MAINWINDOW_H
-
-#include <QMainWindow>
-
-#include "ui_mainwindow.h"
-
-class MainWindow : public QMainWindow, Ui::MainWindow
-{
- Q_OBJECT
-public:
- MainWindow();
- ~MainWindow();
-public slots:
- void showNormalNmDialog();
- void showFullScreenNmDialog();
- void showHugeNmDialog();
-
- void showNormalMDialog();
- void showFullScreenMDialog();
- void showHugeMDialog();
-
- void showColorDialog();
- void showErrorMessage();
- void showFileDialog();
- void showFontDialog();
- void showInputDialog();
- void showMessageBox();
- void showPageSetupDialog();
- void showPrintPreviewDialog();
- void showProgressDialog();
- void showWizard();
-};
-
-#endif
diff --git a/demos/qtstyledialogs/mainwindow.ui b/demos/qtstyledialogs/mainwindow.ui
deleted file mode 100644
index 8c19bb52..00000000
--- a/demos/qtstyledialogs/mainwindow.ui
+++ /dev/null
@@ -1,251 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ui version="4.0">
- <class>MainWindow</class>
- <widget class="QMainWindow" name="MainWindow">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>527</width>
- <height>415</height>
- </rect>
- </property>
- <property name="windowTitle">
- <string>Qt Style Dialog Test</string>
- </property>
- <widget class="QWidget" name="centralwidget">
- <layout class="QVBoxLayout" name="verticalLayout_3">
- <item>
- <layout class="QHBoxLayout" name="horizontalLayout">
- <item>
- <layout class="QVBoxLayout" name="verticalLayout_2">
- <item>
- <widget class="QLabel" name="label">
- <property name="text">
- <string>Dialog window modes:</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="normalNmDialogButton">
- <property name="text">
- <string>Normal non-modal Dialog</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="fullScreenNmDialogButton">
- <property name="text">
- <string>Fullscreen non-modal Dialog</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="hugeNmDialogButton">
- <property name="text">
- <string>Huge non-modal Dialog</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="normalMDialogButton">
- <property name="text">
- <string>Normal modal Dialog</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="fullScreenMDialogButton">
- <property name="text">
- <string>Fullscreen modal Dialog</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="HugeMDialogButton">
- <property name="text">
- <string>Huge modal Dialog</string>
- </property>
- </widget>
- </item>
- <item>
- <spacer name="verticalSpacer">
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>20</width>
- <height>40</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </item>
- <item>
- <layout class="QVBoxLayout" name="verticalLayout">
- <item>
- <widget class="QLabel" name="label_2">
- <property name="text">
- <string>Standard Qt Dialogs:</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="colorDialogButton">
- <property name="text">
- <string>QColorDialog</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="errorMessageButton">
- <property name="text">
- <string>QErrorMessage</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="fileDialogButton">
- <property name="text">
- <string>QFileDialog</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="fontDialogButton">
- <property name="text">
- <string>QFontDialog</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="inputDialogButton">
- <property name="text">
- <string>QInputDialog</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="messageBoxButton">
- <property name="text">
- <string>QMessageBox</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="pageSetupDialogButton">
- <property name="text">
- <string>QPageSetupDialog</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="printPreviewDialogButton">
- <property name="text">
- <string>QPrintPreviewDialog</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="progressDialogButton">
- <property name="text">
- <string>QProgressDialog</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="wizardButton">
- <property name="text">
- <string>QWizard</string>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item>
- <spacer name="horizontalSpacer">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>40</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </item>
- <item>
- <spacer name="verticalSpacer_6">
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>20</width>
- <height>40</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </widget>
- <widget class="QStatusBar" name="statusbar"/>
- <action name="actionNew">
- <property name="text">
- <string>New</string>
- </property>
- </action>
- <action name="actionQuit">
- <property name="text">
- <string>Quit</string>
- </property>
- </action>
- <action name="actionOpen">
- <property name="icon">
- <iconset>
- <normaloff>:/images/images/icon-m-save.svg</normaloff>:/images/images/icon-m-save.svg</iconset>
- </property>
- <property name="text">
- <string>Open...</string>
- </property>
- </action>
- <action name="actionOrder">
- <property name="icon">
- <iconset>
- <normaloff>:/images/images/icon-m-message-send-receive.svg</normaloff>:/images/images/icon-m-message-send-receive.svg</iconset>
- </property>
- <property name="text">
- <string>order</string>
- </property>
- </action>
- <action name="actionAction_1">
- <property name="text">
- <string>Action 1</string>
- </property>
- </action>
- <action name="actionAction_2">
- <property name="text">
- <string>Action 2</string>
- </property>
- </action>
- <action name="actionAction_3">
- <property name="text">
- <string>Action 3</string>
- </property>
- </action>
- <action name="actionAction_4">
- <property name="text">
- <string>Action 4</string>
- </property>
- </action>
- </widget>
- <resources>
- <include location="res.qrc"/>
- </resources>
- <connections/>
-</ui>
diff --git a/demos/qtstyledialogs/qtstyledialogs-windows-style.desktop b/demos/qtstyledialogs/qtstyledialogs-windows-style.desktop
deleted file mode 100644
index 4eb8902f..00000000
--- a/demos/qtstyledialogs/qtstyledialogs-windows-style.desktop
+++ /dev/null
@@ -1,7 +0,0 @@
-[Desktop Entry]
-Type=Application
-Name=QtStyle Dialogs Example (Windows style)
-Icon=icon-l-video
-Exec=qtstyledialogs -style windows
-X-Maemo-Service=com.nokia.qtstyledialogs
-OnlyShowIn=X-MeeGo;
diff --git a/demos/qtstyledialogs/qtstyledialogs.desktop b/demos/qtstyledialogs/qtstyledialogs.desktop
deleted file mode 100644
index 2805ce10..00000000
--- a/demos/qtstyledialogs/qtstyledialogs.desktop
+++ /dev/null
@@ -1,7 +0,0 @@
-[Desktop Entry]
-Type=Application
-Name=QtStyle Dialogs Example
-Icon=icon-l-video
-Exec=qtstyledialogs -style iqs
-X-Maemo-Service=com.nokia.qtstyledialogs
-OnlyShowIn=X-MeeGo;
diff --git a/demos/qtstyledialogs/qtstyledialogs.pro b/demos/qtstyledialogs/qtstyledialogs.pro
deleted file mode 100644
index 3b07e1ca..00000000
--- a/demos/qtstyledialogs/qtstyledialogs.pro
+++ /dev/null
@@ -1,54 +0,0 @@
-MROOT = ../..
-include($$MROOT/mkspecs/common.pri)
-TEMPLATE = app
-TARGET = qtstyledialogs
-target.path = $$M_INSTALL_BIN
-DEPENDPATH += .
-INCLUDEPATH += .
-
-# Input
-SOURCES += main.cpp \
- mainwindow.cpp
-HEADERS += mainwindow.h
-FORMS += mainwindow.ui
-
-# UI style definition
-style_sheet.path = $$M_THEME_DIR/../qtstyledialogs/themes/style
-style_sheet.files = style/qtstyledialogs.css
-view_configuration.path = $$M_THEME_DIR/../qtstyledialogs/themes
-view_configuration.files = style/qtstyledialogs.conf
-style_images.path = $$M_THEME_DIR/../qtstyledialogs/themes/images
-style_images.files = images/*.png \
- images/*.jpg
-style_svg.path = $$M_THEME_DIR/../qtstyledialogs/themes/svg
-style_svg.files = images/*.svg
-
-desktop_entry.path = $$M_INSTALL_DATA/applications
-desktop_entry.files = \
- qtstyledialogs.desktop \
- qtstyledialogs-windows-style.desktop
-
-myname = com.nokia.qtstyledialogs
-
-services.CONFIG += no_check_exist
-services.target = $${myname}.service
-services.commands = cat $$IN_PWD/$${myname}.service.in \
- | sed -e "s:@M_INSTALL_BIN@:$${M_INSTALL_BIN}:g" \
- > $${myname}.service
-services.files = $$OUT_PWD/$${myname}.service
-services.path = $$M_DBUS_SERVICES_DIR
-
-
-DEFINES += IMAGES_DIR=\"\\\"$$style_images.path/\\\"\"
-
-# Install instructions
-INSTALLS += target \
- style_sheet \
- style_images \
- style_svg \
- desktop_entry \
-
-!win32:!macx {
- INSTALLS += services
-}
-
diff --git a/demos/qtstyleexample/.gitignore b/demos/qtstyleexample/.gitignore
deleted file mode 100644
index b93835f2..00000000
--- a/demos/qtstyleexample/.gitignore
+++ /dev/null
@@ -1,4 +0,0 @@
-qtstyleexample
-ui_mainwindow.h
-qrc_res.cpp
-com.nokia.qtstyleexample.service
diff --git a/demos/qtstyleexample/com.nokia.qtstyleexample.service.in b/demos/qtstyleexample/com.nokia.qtstyleexample.service.in
deleted file mode 100644
index 62aab1da..00000000
--- a/demos/qtstyleexample/com.nokia.qtstyleexample.service.in
+++ /dev/null
@@ -1,3 +0,0 @@
-[D-BUS Service]
-Name=com.nokia.qtstyleexample
-Exec=@M_INSTALL_BIN@/qtstyleexample -style iqs
diff --git a/demos/qtstyleexample/images/Widgets-Gallery-Graphics.svg b/demos/qtstyleexample/images/Widgets-Gallery-Graphics.svg
deleted file mode 100644
index 42364fdd..00000000
--- a/demos/qtstyleexample/images/Widgets-Gallery-Graphics.svg
+++ /dev/null
@@ -1,48 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Generator: Adobe Illustrator 14.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 43363) -->
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg version="1.1" id="level1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
- width="688px" height="264px" viewBox="0 0 688 264" enable-background="new 0 0 688 264" xml:space="preserve">
-<g id="Widgets-Gallery-Button-Background">
- <g opacity="0.03">
- <g>
- <g>
- <path fill="#FFFFFF" d="M159.835,139.873c0,4.4,3.6,8,8,8h398c4.4,0,8-3.6,8-8v-72c0-4.4-3.6-8-8-8h-398c-4.4,0-8,3.6-8,8
- V139.873z"/>
- </g>
- <defs>
- <filter id="Adobe_OpacityMaskFilter" filterUnits="userSpaceOnUse" x="159.835" y="59.873" width="414" height="88">
-
- <feColorMatrix type="matrix" values="-1 0 0 0 1 0 -1 0 0 1 0 0 -1 0 1 0 0 0 1 0" color-interpolation-filters="sRGB" result="source"/>
- </filter>
- </defs>
- </g>
- </g>
- <g opacity="0.15">
- <g>
- <g>
- <defs>
- <path id="SVGID_2_" d="M565.835,60.873c3.86,0,7,3.141,7,7v72c0,3.859-3.14,7-7,7h-398c-3.86,0-7-3.141-7-7v-72
- c0-3.859,3.14-7,7-7H565.835 M565.835,59.873h-398c-4.399,0-8,3.6-8,8v72c0,4.4,3.601,8,8,8h398c4.399,0,8-3.6,8-8v-72
- C573.835,63.473,570.234,59.873,565.835,59.873L565.835,59.873z"/>
- </defs>
- <clipPath id="SVGID_3_">
- <use xlink:href="#SVGID_2_" overflow="visible"/>
- </clipPath>
- <linearGradient id="SVGID_4_" gradientUnits="userSpaceOnUse" x1="366.8354" y1="147.873" x2="366.8354" y2="59.8735">
- <stop offset="0" style="stop-color:#FFFFFF"/>
- <stop offset="0.0859" style="stop-color:#F7F7F7"/>
- <stop offset="0.2181" style="stop-color:#E2E2E2"/>
- <stop offset="0.3803" style="stop-color:#BEBEBE"/>
- <stop offset="0.566" style="stop-color:#8D8D8D"/>
- <stop offset="0.7717" style="stop-color:#4E4E4E"/>
- <stop offset="0.9913" style="stop-color:#030303"/>
- <stop offset="1" style="stop-color:#000000"/>
- </linearGradient>
- <path clip-path="url(#SVGID_3_)" fill="url(#SVGID_4_)" d="M159.835,67.873c0-4.4,3.601-8,8-8h398c4.399,0,8,3.6,8,8v72
- c0,4.4-3.601,8-8,8h-398c-4.399,0-8-3.6-8-8V67.873z"/>
- </g>
- </g>
- </g>
-</g>
-</svg>
diff --git a/demos/qtstyleexample/images/icon-m-message-send-receive.svg b/demos/qtstyleexample/images/icon-m-message-send-receive.svg
deleted file mode 100644
index 9508865d..00000000
--- a/demos/qtstyleexample/images/icon-m-message-send-receive.svg
+++ /dev/null
@@ -1,25 +0,0 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- Generator: Adobe Illustrator 14.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 43363) -->
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg version="1.1" id="icon-m-message-send-receive-layer"
- xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="64px" height="64px"
- viewBox="0 0 64 64" style="enable-background:new 0 0 64 64;" xml:space="preserve">
-<symbol id="background_x5F_64" viewBox="-31.999 -32 63.999 64">
- <polygon style="fill:none;" points="32,-32 -32,-32 -32,32 32,32 "/>
-</symbol>
-<g id="icon-m-message-send-receive_1_">
-
- <use xlink:href="#background_x5F_64" width="63.999" height="64" id="background_x5F_64_157_" x="-31.999" y="-32" transform="matrix(1 0 0 -1 32 32)" style="overflow:visible;"/>
- <g>
- <path style="fill:#000000;" d="M40.979,13.527v-0.252c0-3.078-2.504-5.613-5.527-5.613H5.543C2.498,7.662,0,10.197,0,13.275v0.252
- l20.492,9.107L40.979,13.527z M44.486,17.51c-5.715,0-10.84,2.461-14.408,6.357l-8.977,3.98l-0.609,0.262l-0.619-0.262L0,19.033
- v12.428c0,3.107,2.498,5.623,5.543,5.623h19.434c0.078,10.641,8.779,19.256,19.51,19.256C55.256,56.34,64,47.648,64,36.938
- C64,26.211,55.256,17.51,44.486,17.51z M26.619,37.217l0.059-0.053h4.965c-0.004-0.092-0.014-0.172-0.014-0.264
- c0.002-7.156,5.803-12.959,12.963-12.963c2.635,0,5.08,0.793,7.125,2.143l-3.068,3.07c-1.213-0.637-2.592-1.004-4.057-1.006
- c-4.838,0.008-8.748,3.918-8.758,8.756c0,0.09,0.02,0.174,0.021,0.264h6.469l0.057,0.053L34.5,44.52L26.619,37.217z
- M57.535,37.164c-0.143,7.035-5.873,12.693-12.943,12.697c-2.258-0.002-4.379-0.582-6.227-1.596l3.172-3.172
- c0.953,0.354,1.979,0.559,3.055,0.561c4.746-0.008,8.592-3.777,8.74-8.49h-5.83l-0.057-0.055l7.881-7.301l7.881,7.301
- l-0.057,0.055H57.535z"/>
- </g>
-</g>
-</svg>
diff --git a/demos/qtstyleexample/images/icon-m-save.svg b/demos/qtstyleexample/images/icon-m-save.svg
deleted file mode 100644
index 4e7e124e..00000000
--- a/demos/qtstyleexample/images/icon-m-save.svg
+++ /dev/null
@@ -1,25 +0,0 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- Generator: Adobe Illustrator 14.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 43363) -->
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg version="1.1" id="icon-m-save-layer" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px"
- y="0px" width="64px" height="64px" viewBox="0 0 64 64" style="enable-background:new 0 0 64 64;" xml:space="preserve">
-<symbol id="background_x5F_64" viewBox="-31.999 -32 63.999 64">
- <polygon style="fill:none;" points="32,-32 -32,-32 -32,32 32,32 "/>
-</symbol>
-<g id="icon-m-save_1_">
-
- <use xlink:href="#background_x5F_64" width="63.999" height="64" id="background_x5F_64_421_" x="-31.999" y="-32" transform="matrix(1 0 0 -1 31.9995 32)" style="overflow:visible;"/>
- <g>
- <g>
- <g>
- <rect x="21.945" y="33.199" style="fill:#231F20;" width="20.02" height="4"/>
- <rect x="22.074" y="42.582" style="fill:#231F20;" width="12" height="4"/>
- <path style="fill:#231F20;" d="M56.168,5.895h-9.775v13.008c0,0.551-0.449,1-1,1H18.609c-0.549,0-1-0.449-1-1V5.895H7.833
- c-1.1,0-2,0.9-2,2v48.334c0,1.1,0.9,2,2,2h48.334c1.1,0,2-0.9,2-2V7.895C58.168,6.795,57.268,5.895,56.168,5.895z M48.623,50.1
- c0,1.1-0.898,2-2,2H17.378c-1.1,0-2-0.9-2-2v-20.66c0-1.1,0.9-2,2-2h29.245c1.102,0,2,0.9,2,2V50.1z"/>
- </g>
- </g>
- <path style="fill:#231F20;" d="M31.808,5.771v7.965c0,0.551,0.449,1,1,1h6.45c0.551,0,1-0.449,1-1V5.771H31.808z"/>
- </g>
-</g>
-</svg>
diff --git a/demos/qtstyleexample/main.cpp b/demos/qtstyleexample/main.cpp
deleted file mode 100644
index 8d902584..00000000
--- a/demos/qtstyleexample/main.cpp
+++ /dev/null
@@ -1,44 +0,0 @@
-/***************************************************************************
-**
-** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
-** All rights reserved.
-** Contact: Nokia Corporation (directui@nokia.com)
-**
-** This file is part of libmeegotouch.
-**
-** If you have questions regarding the use of this file, please contact
-** Nokia at directui@nokia.com.
-**
-** This library is free software; you can redistribute it and/or
-** modify it under the terms of the GNU Lesser General Public
-** License version 2.1 as published by the Free Software Foundation
-** and appearing in the file LICENSE.LGPL included in the packaging
-** of this file.
-**
-****************************************************************************/
-
-#include <QApplication>
-#include <QMainWindow>
-#include <QDebug>
-#include <QStyle>
-
-#include "mainwindow.h"
-
-int main(int argc, char **argv)
-{
- QApplication app(argc, argv);
-// app.setProperty( "NoMStyle", true );
-// app.setProperty( "NoMNavigationBar", true );
- qCritical() << app.arguments();
- if(app.arguments().contains("-oc")) {
- bool enabled = QMetaObject::invokeMethod(app.style(), "setOrientationChangeEnabled", Q_ARG(bool, true));
- qCritical() << "Orientation change enabled:" << enabled;
- }
-
- MainWindow mw;
- mw.show();
-
- qCritical() << "Starting eventloop";
- return app.exec();
-}
-
diff --git a/demos/qtstyleexample/mainwindow.cpp b/demos/qtstyleexample/mainwindow.cpp
deleted file mode 100644
index 2324d427..00000000
--- a/demos/qtstyleexample/mainwindow.cpp
+++ /dev/null
@@ -1,61 +0,0 @@
-/***************************************************************************
-**
-** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
-** All rights reserved.
-** Contact: Nokia Corporation (directui@nokia.com)
-**
-** This file is part of libmeegotouch.
-**
-** If you have questions regarding the use of this file, please contact
-** Nokia at directui@nokia.com.
-**
-** This library is free software; you can redistribute it and/or
-** modify it under the terms of the GNU Lesser General Public
-** License version 2.1 as published by the Free Software Foundation
-** and appearing in the file LICENSE.LGPL included in the packaging
-** of this file.
-**
-****************************************************************************/
-
-#include "mainwindow.h"
-
-#include <QMenu>
-#include <QFileDialog>
-#include <QDebug>
-
-MainWindow::MainWindow() : QMainWindow(NULL)
-{
- setupUi(this);
- QMenu *menu(menuBar()->addMenu("Long menu"));
-
- for (int i = 0; i < 200; ++i) {
- menu->addAction(QString("Entry %1").arg(i));
- comboBox->addItem(QString("%1 cm").arg(i * 2));
- }
- connect(actionOpen, SIGNAL(triggered()), this, SLOT(fileOpen()));
- if(!connect(style(), SIGNAL(orientationChanged(int)), this, SLOT(setStatusBarText())))
- qCritical() << "Couldn't connect statusbar";
-
- statusBarLabel = new QLabel();
- statusBar()->addWidget(statusBarLabel);
-
- statusBarLabel->setText("I am the status bar");
-}
-
-MainWindow::~MainWindow()
-{
-
-}
-
-void MainWindow::fileOpen()
-{
- QString s = QFileDialog::getOpenFileName();
-}
-
-void MainWindow::setStatusBarText() {
- int retVal;
- if(QMetaObject::invokeMethod(qApp->style(), "orientation", Q_ARG(int*, &retVal)))
- statusBarLabel->setText(QString("Orientation %1°").arg(retVal));
- else
- statusBarLabel->setText("Couldn't retrive orientation");
-}
diff --git a/demos/qtstyleexample/mainwindow.h b/demos/qtstyleexample/mainwindow.h
deleted file mode 100644
index 763e512e..00000000
--- a/demos/qtstyleexample/mainwindow.h
+++ /dev/null
@@ -1,41 +0,0 @@
-/***************************************************************************
-**
-** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
-** All rights reserved.
-** Contact: Nokia Corporation (directui@nokia.com)
-**
-** This file is part of libmeegotouch.
-**
-** If you have questions regarding the use of this file, please contact
-** Nokia at directui@nokia.com.
-**
-** This library is free software; you can redistribute it and/or
-** modify it under the terms of the GNU Lesser General Public
-** License version 2.1 as published by the Free Software Foundation
-** and appearing in the file LICENSE.LGPL included in the packaging
-** of this file.
-**
-****************************************************************************/
-
-#ifndef MAINWINDOW_H
-#define MAINWINDOW_H
-
-#include <QMainWindow>
-
-#include "ui_mainwindow.h"
-
-class MainWindow : public QMainWindow, Ui::MainWindow
-{
- Q_OBJECT
-public:
- MainWindow();
- ~MainWindow();
-
-protected slots:
- void fileOpen();
- void setStatusBarText();
-private:
- QLabel* statusBarLabel;
-};
-
-#endif
diff --git a/demos/qtstyleexample/mainwindow.ui b/demos/qtstyleexample/mainwindow.ui
deleted file mode 100644
index 54e06652..00000000
--- a/demos/qtstyleexample/mainwindow.ui
+++ /dev/null
@@ -1,1459 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ui version="4.0">
- <class>MainWindow</class>
- <widget class="QMainWindow" name="MainWindow">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>584</width>
- <height>437</height>
- </rect>
- </property>
- <property name="windowTitle">
- <string>Pizza Order</string>
- </property>
- <widget class="QWidget" name="centralwidget">
- <layout class="QGridLayout" name="gridLayout_4">
- <item row="0" column="0">
- <widget class="QTabWidget" name="tabWidget">
- <property name="currentIndex">
- <number>1</number>
- </property>
- <widget class="QWidget" name="Pizza">
- <attribute name="title">
- <string>Pizza</string>
- </attribute>
- <layout class="QGridLayout" name="gridLayout_3">
- <item row="7" column="0" colspan="2">
- <spacer name="verticalSpacer">
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>311</width>
- <height>10</height>
- </size>
- </property>
- </spacer>
- </item>
- <item row="5" column="1">
- <widget class="QLineEdit" name="lineEdit"/>
- </item>
- <item row="4" column="1">
- <widget class="QSpinBox" name="spinBox"/>
- </item>
- <item row="0" column="1">
- <widget class="QLabel" name="label">
- <property name="text">
- <string>Size</string>
- </property>
- </widget>
- </item>
- <item row="3" column="1">
- <widget class="QCheckBox" name="checkBox">
- <property name="text">
- <string>Extra cheese</string>
- </property>
- </widget>
- </item>
- <item row="0" column="0" rowspan="6">
- <widget class="QGroupBox" name="groupBox">
- <property name="title">
- <string>Type</string>
- </property>
- <property name="checkable">
- <bool>true</bool>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout">
- <item>
- <widget class="QRadioButton" name="radioButton">
- <property name="text">
- <string>Margarita</string>
- </property>
- <property name="checked">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QRadioButton" name="radioButton_2">
- <property name="text">
- <string>Salami</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QRadioButton" name="radioButton_3">
- <property name="text">
- <string>Frutti di mare</string>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item row="1" column="1">
- <widget class="QComboBox" name="comboBox">
- <item>
- <property name="text">
- <string>28cm</string>
- </property>
- </item>
- </widget>
- </item>
- <item row="6" column="1">
- <widget class="QPushButton" name="pushButton">
- <property name="text">
- <string>PushButton</string>
- </property>
- </widget>
- </item>
- <item row="2" column="1">
- <widget class="QComboBox" name="comboBox_2">
- <property name="editable">
- <bool>true</bool>
- </property>
- <item>
- <property name="text">
- <string>Small</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Medium</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Large</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Extra Large</string>
- </property>
- </item>
- </widget>
- </item>
- </layout>
- </widget>
- <widget class="QWidget" name="Buttons">
- <attribute name="title">
- <string>Buttons</string>
- </attribute>
- <layout class="QGridLayout" name="gridLayout">
- <item row="0" column="0" colspan="2">
- <widget class="QGroupBox" name="groupBox_4">
- <property name="title">
- <string>PushButtons</string>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout_5">
- <item>
- <widget class="QPushButton" name="pushButton_2">
- <property name="text">
- <string>PushButton</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="pushButton_3">
- <property name="text">
- <string>ToggleButton</string>
- </property>
- <property name="checkable">
- <bool>true</bool>
- </property>
- <property name="checked">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QCommandLinkButton" name="commandLinkButton">
- <property name="text">
- <string>CommandLinkButton</string>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item row="0" column="2">
- <widget class="QGroupBox" name="groupBox_5">
- <property name="title">
- <string>ToolButtons</string>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout_6">
- <item>
- <widget class="QToolButton" name="toolButton">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="text">
- <string>ToolButton text beside</string>
- </property>
- <property name="icon">
- <iconset resource="res.qrc">
- <normaloff>:/images/images/icon-m-message-send-receive.svg</normaloff>:/images/images/icon-m-message-send-receive.svg</iconset>
- </property>
- <property name="checkable">
- <bool>true</bool>
- </property>
- <property name="toolButtonStyle">
- <enum>Qt::ToolButtonTextBesideIcon</enum>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QToolButton" name="toolButton_4">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="text">
- <string>ToolButton text below</string>
- </property>
- <property name="icon">
- <iconset resource="res.qrc">
- <normaloff>:/images/images/icon-m-message-send-receive.svg</normaloff>:/images/images/icon-m-message-send-receive.svg</iconset>
- </property>
- <property name="checkable">
- <bool>true</bool>
- </property>
- <property name="toolButtonStyle">
- <enum>Qt::ToolButtonTextUnderIcon</enum>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QToolButton" name="toolButton_2">
- <property name="text">
- <string/>
- </property>
- <property name="icon">
- <iconset resource="res.qrc">
- <normaloff>:/images/images/icon-m-message-send-receive.svg</normaloff>:/images/images/icon-m-message-send-receive.svg</iconset>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QToolButton" name="toolButton_3">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="text">
- <string>ToolButton text only</string>
- </property>
- <property name="checkable">
- <bool>true</bool>
- </property>
- <property name="toolButtonStyle">
- <enum>Qt::ToolButtonTextOnly</enum>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item row="1" column="0">
- <spacer name="verticalSpacer_4">
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>20</width>
- <height>40</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </widget>
- <widget class="QWidget" name="SpecialButtons">
- <attribute name="title">
- <string>Special Buttons</string>
- </attribute>
- <layout class="QGridLayout" name="gridLayout_5">
- <item row="0" column="0">
- <widget class="QGroupBox" name="groupBox_3">
- <property name="title">
- <string>CheckBoxes</string>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout_3">
- <item>
- <widget class="QCheckBox" name="checkBox_2">
- <property name="text">
- <string>Chocolate</string>
- </property>
- <property name="checked">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QCheckBox" name="checkBox_3">
- <property name="text">
- <string>Coffee</string>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item row="0" column="1">
- <widget class="QGroupBox" name="groupBox_2">
- <property name="title">
- <string>RadioButtons</string>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout_2">
- <item>
- <widget class="QRadioButton" name="radioButton_4">
- <property name="text">
- <string>Vanilla</string>
- </property>
- <property name="checked">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QRadioButton" name="radioButton_5">
- <property name="text">
- <string>Strawberry</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QRadioButton" name="radioButton_6">
- <property name="text">
- <string>Lime</string>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item row="1" column="0" colspan="2">
- <layout class="QHBoxLayout" name="horizontalLayout_2">
- <item>
- <spacer name="horizontalSpacer_2">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>40</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- <item>
- <widget class="QLabel" name="label_2">
- <property name="text">
- <string>QDialogButtonBox:</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QDialogButtonBox" name="buttonBox">
- <property name="standardButtons">
- <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item row="2" column="0" colspan="2">
- <layout class="QHBoxLayout" name="horizontalLayout">
- <item>
- <spacer name="horizontalSpacer">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>40</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- <item>
- <widget class="QLabel" name="label_3">
- <property name="text">
- <string>PushButtons:</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="pushButton_12">
- <property name="text">
- <string>OK</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="pushButton_11">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="text">
- <string>Cancel</string>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item row="3" column="1">
- <spacer name="verticalSpacer_5">
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>224</width>
- <height>133</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </widget>
- <widget class="QWidget" name="tab">
- <attribute name="title">
- <string>ScrollBars</string>
- </attribute>
- <layout class="QVBoxLayout" name="verticalLayout_7">
- <item>
- <widget class="QGroupBox" name="groupBox_6">
- <property name="title">
- <string>ScrollArea</string>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout_4">
- <item>
- <widget class="QScrollArea" name="scrollArea">
- <property name="maximumSize">
- <size>
- <width>16777215</width>
- <height>16777215</height>
- </size>
- </property>
- <property name="verticalScrollBarPolicy">
- <enum>Qt::ScrollBarAlwaysOn</enum>
- </property>
- <property name="horizontalScrollBarPolicy">
- <enum>Qt::ScrollBarAlwaysOn</enum>
- </property>
- <property name="widgetResizable">
- <bool>true</bool>
- </property>
- <widget class="QWidget" name="scrollAreaWidgetContents">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>466</width>
- <height>166</height>
- </rect>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout_9">
- <item>
- <widget class="QPushButton" name="pushButton_4">
- <property name="text">
- <string>Gingerbread</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="pushButton_7">
- <property name="text">
- <string>Christmas Cookie</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="pushButton_5">
- <property name="text">
- <string>Stollen</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="pushButton_10">
- <property name="text">
- <string>Nut Macrons</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="pushButton_6">
- <property name="text">
- <string>Star Anise</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="pushButton_9">
- <property name="text">
- <string>Chocolate Hearts</string>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <widget class="QGroupBox" name="groupBox_7">
- <property name="title">
- <string>Stand-alone ScrollBars</string>
- </property>
- <layout class="QGridLayout" name="gridLayout_6">
- <item row="0" column="0">
- <widget class="QScrollBar" name="horizontalScrollBar">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- </layout>
- </widget>
- <widget class="QWidget" name="Slider">
- <attribute name="title">
- <string>Slider</string>
- </attribute>
- <layout class="QGridLayout" name="gridLayout_2">
- <item row="0" column="0">
- <widget class="QSlider" name="horizontalSlider">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- </widget>
- </item>
- <item row="0" column="1">
- <widget class="QSlider" name="horizontalSlider_2">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="tickPosition">
- <enum>QSlider::TicksBelow</enum>
- </property>
- </widget>
- </item>
- <item row="1" column="0">
- <widget class="QSlider" name="verticalSlider">
- <property name="value">
- <number>99</number>
- </property>
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- </widget>
- </item>
- <item row="2" column="0">
- <spacer name="verticalSpacer_2">
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>20</width>
- <height>103</height>
- </size>
- </property>
- </spacer>
- </item>
- <item row="2" column="1">
- <spacer name="verticalSpacer_3">
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>20</width>
- <height>103</height>
- </size>
- </property>
- </spacer>
- </item>
- <item row="1" column="1">
- <widget class="QSlider" name="verticalSlider_2">
- <property name="value">
- <number>99</number>
- </property>
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- <property name="tickPosition">
- <enum>QSlider::TicksBothSides</enum>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- <widget class="QWidget" name="Seite">
- <property name="cursor">
- <cursorShape>ArrowCursor</cursorShape>
- </property>
- <attribute name="title">
- <string>ListWidget</string>
- </attribute>
- <layout class="QVBoxLayout" name="verticalLayout_8">
- <item>
- <widget class="QTabWidget" name="tabWidget_6">
- <property name="currentIndex">
- <number>2</number>
- </property>
- <widget class="QWidget" name="SingleColListView">
- <attribute name="title">
- <string>ListView</string>
- </attribute>
- <layout class="QHBoxLayout" name="horizontalLayout_3">
- <item>
- <widget class="QListWidget" name="listWidget">
- <property name="viewMode">
- <enum>QListView::ListMode</enum>
- </property>
- <item>
- <property name="text">
- <string>Sun</string>
- </property>
- <property name="icon">
- <iconset>
- <normalon>:/images/images/icon-m-save.svg</normalon>
- </iconset>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Mercury</string>
- </property>
- <property name="icon">
- <iconset>
- <normalon>:/images/images/icon-m-save.svg</normalon>
- </iconset>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Venus</string>
- </property>
- <property name="icon">
- <iconset>
- <normalon>:/images/images/icon-m-message-send-receive.svg</normalon>
- </iconset>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Earth</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Mars</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Ceres</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Vesta</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Pallas</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Hygiea</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Jupiter</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Saturn</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Uranus</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Neptune</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Orcus</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Pluto</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Ixion</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Huya</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Varuna</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Haumea</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Quaoar</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Makemake</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Eris</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Sedna</string>
- </property>
- </item>
- </widget>
- </item>
- </layout>
- </widget>
- <widget class="QWidget" name="tab_8">
- <attribute name="title">
- <string>TableView</string>
- </attribute>
- <layout class="QHBoxLayout" name="horizontalLayout_4">
- <item>
- <widget class="QTableWidget" name="tableWidget">
- <row>
- <property name="text">
- <string>New Row</string>
- </property>
- </row>
- <row>
- <property name="text">
- <string>New Row</string>
- </property>
- </row>
- <row>
- <property name="text">
- <string>New Row</string>
- </property>
- </row>
- <column>
- <property name="text">
- <string>Subject</string>
- </property>
- </column>
- <column>
- <property name="text">
- <string>Sender</string>
- </property>
- </column>
- <column>
- <property name="text">
- <string>Date</string>
- </property>
- </column>
- <item row="0" column="0">
- <property name="text">
- <string>QtMaemo6Style</string>
- </property>
- </item>
- <item row="0" column="1">
- <property name="text">
- <string>John Doe</string>
- </property>
- </item>
- <item row="0" column="2">
- <property name="text">
- <string>2010-01-31</string>
- </property>
- </item>
- <item row="1" column="0">
- <property name="text">
- <string>Re: QtMaemo6Style</string>
- </property>
- </item>
- <item row="1" column="1">
- <property name="text">
- <string>Max Mustermann</string>
- </property>
- </item>
- <item row="1" column="2">
- <property name="text">
- <string>2010-02-02</string>
- </property>
- </item>
- <item row="2" column="0">
- <property name="text">
- <string>Re: Re: QtMaemo6 Style</string>
- </property>
- </item>
- <item row="2" column="1">
- <property name="text">
- <string>John Doe</string>
- </property>
- </item>
- <item row="2" column="2">
- <property name="text">
- <string>2010-02-03</string>
- </property>
- </item>
- </widget>
- </item>
- </layout>
- </widget>
- <widget class="QWidget" name="tab_7">
- <attribute name="title">
- <string>TreeView</string>
- </attribute>
- <layout class="QHBoxLayout" name="horizontalLayout_5">
- <item>
- <widget class="QTreeWidget" name="treeWidget">
- <column>
- <property name="text">
- <string>Name</string>
- </property>
- </column>
- <column>
- <property name="text">
- <string>Size</string>
- </property>
- </column>
- <column>
- <property name="text">
- <string>Date</string>
- </property>
- </column>
- <item>
- <property name="text">
- <string>/</string>
- </property>
- <property name="text">
- <string/>
- </property>
- <property name="text">
- <string>2010-01-01</string>
- </property>
- <item>
- <property name="text">
- <string>home</string>
- </property>
- <property name="text">
- <string/>
- </property>
- <property name="text">
- <string>2010-01-01</string>
- </property>
- <item>
- <property name="text">
- <string>user</string>
- </property>
- <property name="text">
- <string/>
- </property>
- <property name="text">
- <string>2010-01-01</string>
- </property>
- <item>
- <property name="text">
- <string>file</string>
- </property>
- <property name="text">
- <string>568 Byte</string>
- </property>
- <property name="text">
- <string>2010-01-01</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>file2</string>
- </property>
- <property name="text">
- <string>168 Byte</string>
- </property>
- <property name="text">
- <string>2010-01-03</string>
- </property>
- </item>
- </item>
- </item>
- <item>
- <property name="text">
- <string>bin</string>
- </property>
- <property name="text">
- <string/>
- </property>
- <property name="text">
- <string>2010-01-01</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>etc</string>
- </property>
- <property name="text">
- <string/>
- </property>
- <property name="text">
- <string>2010-01-01</string>
- </property>
- </item>
- </item>
- </widget>
- </item>
- </layout>
- </widget>
- </widget>
- </item>
- </layout>
- </widget>
- <widget class="QWidget" name="tab_2">
- <attribute name="title">
- <string>Tabs</string>
- </attribute>
- <layout class="QGridLayout" name="gridLayout_7">
- <item row="0" column="0">
- <widget class="QTabWidget" name="tabWidget_2">
- <property name="tabPosition">
- <enum>QTabWidget::North</enum>
- </property>
- <property name="tabShape">
- <enum>QTabWidget::Rounded</enum>
- </property>
- <property name="currentIndex">
- <number>0</number>
- </property>
- <widget class="QWidget" name="tab_3">
- <attribute name="title">
- <string>Tab 1</string>
- </attribute>
- </widget>
- <widget class="QWidget" name="tab_4">
- <attribute name="icon">
- <iconset>
- <normalon>:/images/images/icon-m-save.svg</normalon>
- </iconset>
- </attribute>
- <attribute name="title">
- <string>Tab 2</string>
- </attribute>
- </widget>
- </widget>
- </item>
- <item row="0" column="1">
- <widget class="QTabWidget" name="tabWidget_3">
- <property name="tabPosition">
- <enum>QTabWidget::South</enum>
- </property>
- <property name="tabShape">
- <enum>QTabWidget::Rounded</enum>
- </property>
- <property name="currentIndex">
- <number>1</number>
- </property>
- <widget class="QWidget" name="tab_5">
- <attribute name="title">
- <string>Tab 1</string>
- </attribute>
- </widget>
- <widget class="QWidget" name="tab_6">
- <attribute name="icon">
- <iconset>
- <normalon>:/images/images/icon-m-save.svg</normalon>
- </iconset>
- </attribute>
- <attribute name="title">
- <string>Tab 2</string>
- </attribute>
- </widget>
- </widget>
- </item>
- <item row="1" column="0">
- <widget class="QTabWidget" name="tabWidget_4">
- <property name="tabPosition">
- <enum>QTabWidget::West</enum>
- </property>
- <property name="tabShape">
- <enum>QTabWidget::Rounded</enum>
- </property>
- <property name="currentIndex">
- <number>0</number>
- </property>
- <widget class="QWidget" name="tab_11">
- <attribute name="icon">
- <iconset>
- <normalon>:/images/images/icon-m-save.svg</normalon>
- </iconset>
- </attribute>
- <attribute name="title">
- <string>Tab 1</string>
- </attribute>
- </widget>
- <widget class="QWidget" name="tab_12">
- <attribute name="title">
- <string>Tab 2</string>
- </attribute>
- </widget>
- </widget>
- </item>
- <item row="1" column="1">
- <widget class="QTabWidget" name="tabWidget_5">
- <property name="tabPosition">
- <enum>QTabWidget::East</enum>
- </property>
- <property name="tabShape">
- <enum>QTabWidget::Rounded</enum>
- </property>
- <property name="currentIndex">
- <number>1</number>
- </property>
- <widget class="QWidget" name="tab_15">
- <attribute name="title">
- <string>Tab 1</string>
- </attribute>
- </widget>
- <widget class="QWidget" name="tab_16">
- <attribute name="icon">
- <iconset>
- <normalon>:/images/images/icon-m-save.svg</normalon>
- </iconset>
- </attribute>
- <attribute name="title">
- <string>Tab 2</string>
- </attribute>
- </widget>
- </widget>
- </item>
- </layout>
- </widget>
- <widget class="QWidget" name="tab_17">
- <attribute name="title">
- <string>ProgressBar</string>
- </attribute>
- <layout class="QVBoxLayout" name="verticalLayout_11">
- <item>
- <widget class="QGroupBox" name="groupBox_9">
- <property name="title">
- <string>ProgressBar</string>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout_10">
- <item>
- <widget class="QProgressBar" name="progressBar">
- <property name="value">
- <number>24</number>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QSlider" name="horizontalSlider_3">
- <property name="minimum">
- <number>0</number>
- </property>
- <property name="maximum">
- <number>100</number>
- </property>
- <property name="value">
- <number>24</number>
- </property>
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <spacer name="verticalSpacer_8">
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>20</width>
- <height>177</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </widget>
- </widget>
- </item>
- <item row="1" column="0">
- <spacer name="verticalSpacer_6">
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>20</width>
- <height>40</height>
- </size>
- </property>
- </spacer>
- </item>
- <item row="2" column="0">
- <widget class="QGroupBox" name="groupBox_8">
- <property name="title">
- <string>GroupBox</string>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout_8">
- <item>
- <widget class="QPushButton" name="pushButton_8">
- <property name="text">
- <string>PushButton</string>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item row="1" column="0">
- <spacer name="verticalSpacer_6">
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>20</width>
- <height>40</height>
- </size>
- </property>
- </spacer>
- </item>
- <item row="2" column="0">
- <widget class="QGroupBox" name="groupBox_8">
- <property name="title">
- <string>GroupBox</string>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout_8">
- <item>
- <widget class="QPushButton" name="pushButton_8">
- <property name="text">
- <string>PushButton</string>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- </layout>
- </widget>
- <widget class="QMenuBar" name="menubar">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>584</width>
- <height>20</height>
- </rect>
- </property>
- <widget class="QMenu" name="menuFile">
- <property name="title">
- <string>File</string>
- </property>
- <addaction name="actionNew"/>
- <addaction name="actionOpen"/>
- <addaction name="separator"/>
- <addaction name="actionQuit"/>
- </widget>
- <widget class="QMenu" name="menuEdit">
- <property name="title">
- <string>Edit</string>
- </property>
- <widget class="QMenu" name="menuSettings">
- <property name="title">
- <string>Settings</string>
- </property>
- <addaction name="actionSetting_1"/>
- <addaction name="actionSetting_2"/>
- <addaction name="actionSetting_3"/>
- </widget>
- <addaction name="actionCut"/>
- <addaction name="actionCopy"/>
- <addaction name="actionPaste"/>
- <addaction name="menuSettings"/>
- </widget>
- <widget class="QMenu" name="menuAction">
- <property name="title">
- <string>Action</string>
- </property>
- </widget>
- <addaction name="menuFile"/>
- <addaction name="menuEdit"/>
- <addaction name="menuAction"/>
- </widget>
- <widget class="QStatusBar" name="statusbar"/>
- <widget class="QToolBar" name="toolBar">
- <property name="windowTitle">
- <string>toolBar</string>
- </property>
- <attribute name="toolBarArea">
- <enum>LeftToolBarArea</enum>
- </attribute>
- <attribute name="toolBarBreak">
- <bool>false</bool>
- </attribute>
- <addaction name="actionOrder"/>
- <addaction name="actionOpen"/>
- <addaction name="actionAction_1"/>
- <addaction name="actionAction_2"/>
- <addaction name="actionAction_3"/>
- <addaction name="actionAction_4"/>
- </widget>
- <action name="actionNew">
- <property name="text">
- <string>New</string>
- </property>
- </action>
- <action name="actionQuit">
- <property name="text">
- <string>Quit</string>
- </property>
- </action>
- <action name="actionOpen">
- <property name="icon">
- <iconset resource="res.qrc">
- <normaloff>:/images/images/icon-m-save.svg</normaloff>:/images/images/icon-m-save.svg</iconset>
- </property>
- <property name="text">
- <string>Open...</string>
- </property>
- </action>
- <action name="actionOrder">
- <property name="icon">
- <iconset resource="res.qrc">
- <normaloff>:/images/images/icon-m-message-send-receive.svg</normaloff>:/images/images/icon-m-message-send-receive.svg</iconset>
- </property>
- <property name="text">
- <string>order</string>
- </property>
- </action>
- <action name="actionAction_1">
- <property name="text">
- <string>Action 1</string>
- </property>
- </action>
- <action name="actionAction_2">
- <property name="text">
- <string>Action 2</string>
- </property>
- </action>
- <action name="actionAction_3">
- <property name="text">
- <string>Action 3</string>
- </property>
- </action>
- <action name="actionAction_4">
- <property name="text">
- <string>Action 4</string>
- </property>
- </action>
- <action name="actionCut">
- <property name="text">
- <string>Cut</string>
- </property>
- </action>
- <action name="actionCopy">
- <property name="text">
- <string>Copy</string>
- </property>
- </action>
- <action name="actionPaste">
- <property name="enabled">
- <bool>false</bool>
- </property>
- <property name="text">
- <string>Paste</string>
- </property>
- </action>
- <action name="actionSetting_1">
- <property name="text">
- <string>Setting 1</string>
- </property>
- </action>
- <action name="actionSetting_2">
- <property name="text">
- <string>Setting 2</string>
- </property>
- </action>
- <action name="actionSetting_3">
- <property name="text">
- <string>Setting 3</string>
- </property>
- </action>
- </widget>
- <resources>
- <include location="res.qrc"/>
- </resources>
- <connections>
- <connection>
- <sender>horizontalSlider_3</sender>
- <signal>valueChanged(int)</signal>
- <receiver>progressBar</receiver>
- <slot>setValue(int)</slot>
- <hints>
- <hint type="sourcelabel">
- <x>164</x>
- <y>114</y>
- </hint>
- <hint type="destinationlabel">
- <x>164</x>
- <y>87</y>
- </hint>
- </hints>
- </connection>
- <connection>
- <sender>horizontalSlider</sender>
- <signal>valueChanged(int)</signal>
- <receiver>horizontalSlider_2</receiver>
- <slot>setValue(int)</slot>
- <hints>
- <hint type="sourcelabel">
- <x>93</x>
- <y>66</y>
- </hint>
- <hint type="destinationlabel">
- <x>364</x>
- <y>68</y>
- </hint>
- </hints>
- </connection>
- <connection>
- <sender>horizontalSlider_2</sender>
- <signal>valueChanged(int)</signal>
- <receiver>horizontalSlider</receiver>
- <slot>setValue(int)</slot>
- <hints>
- <hint type="sourcelabel">
- <x>375</x>
- <y>69</y>
- </hint>
- <hint type="destinationlabel">
- <x>258</x>
- <y>73</y>
- </hint>
- </hints>
- </connection>
- <connection>
- <sender>verticalSlider</sender>
- <signal>valueChanged(int)</signal>
- <receiver>verticalSlider_2</receiver>
- <slot>setValue(int)</slot>
- <hints>
- <hint type="sourcelabel">
- <x>93</x>
- <y>116</y>
- </hint>
- <hint type="destinationlabel">
- <x>351</x>
- <y>122</y>
- </hint>
- </hints>
- </connection>
- <connection>
- <sender>verticalSlider_2</sender>
- <signal>valueChanged(int)</signal>
- <receiver>verticalSlider</receiver>
- <slot>setValue(int)</slot>
- <hints>
- <hint type="sourcelabel">
- <x>338</x>
- <y>171</y>
- </hint>
- <hint type="destinationlabel">
- <x>89</x>
- <y>162</y>
- </hint>
- </hints>
- </connection>
- <connection>
- <sender>toolButton</sender>
- <signal>clicked(bool)</signal>
- <receiver>toolButton_4</receiver>
- <slot>setChecked(bool)</slot>
- <hints>
- <hint type="sourcelabel">
- <x>508</x>
- <y>92</y>
- </hint>
- <hint type="destinationlabel">
- <x>514</x>
- <y>119</y>
- </hint>
- </hints>
- </connection>
- <connection>
- <sender>toolButton</sender>
- <signal>clicked()</signal>
- <receiver>toolButton_3</receiver>
- <slot>toggle()</slot>
- <hints>
- <hint type="sourcelabel">
- <x>443</x>
- <y>96</y>
- </hint>
- <hint type="destinationlabel">
- <x>459</x>
- <y>198</y>
- </hint>
- </hints>
- </connection>
- </connections>
-</ui>
diff --git a/demos/qtstyleexample/qtstyleexample-windows-style.desktop b/demos/qtstyleexample/qtstyleexample-windows-style.desktop
deleted file mode 100644
index fb219ad3..00000000
--- a/demos/qtstyleexample/qtstyleexample-windows-style.desktop
+++ /dev/null
@@ -1,7 +0,0 @@
-[Desktop Entry]
-Type=Application
-Name=QtStyle Example (Windows style)
-Icon=icon-l-video
-Exec=qtstyleexample -style windows
-X-Maemo-Service=com.nokia.qtstyleexample
-OnlyShowIn=X-MeeGo;
diff --git a/demos/qtstyleexample/qtstyleexample.desktop b/demos/qtstyleexample/qtstyleexample.desktop
deleted file mode 100644
index cd173123..00000000
--- a/demos/qtstyleexample/qtstyleexample.desktop
+++ /dev/null
@@ -1,7 +0,0 @@
-[Desktop Entry]
-Type=Application
-Name=QtStyle Example
-Icon=icon-l-video
-Exec=qtstyleexample -style iqs
-X-Maemo-Service=com.nokia.qtstyleexample
-OnlyShowIn=X-MeeGo;
diff --git a/demos/qtstyleexample/qtstyleexample.pro b/demos/qtstyleexample/qtstyleexample.pro
deleted file mode 100644
index 2dae8f2a..00000000
--- a/demos/qtstyleexample/qtstyleexample.pro
+++ /dev/null
@@ -1,55 +0,0 @@
-MROOT = ../..
-include($$MROOT/mkspecs/common.pri)
-TEMPLATE = app
-TARGET = qtstyleexample
-target.path = $$M_INSTALL_BIN
-DEPENDPATH += .
-INCLUDEPATH += .
-
-# Input
-SOURCES += main.cpp \
- mainwindow.cpp
-HEADERS += mainwindow.h
-FORMS += mainwindow.ui
-
-# UI style definition
-style_sheet.path = $$M_THEME_DIR/../qtstyleexample/themes/style
-style_sheet.files = style/qtstyleexample.css
-view_configuration.path = $$M_THEME_DIR/../qtstyleexample/themes
-view_configuration.files = style/qtstyleexample.conf
-style_images.path = $$M_THEME_DIR/../qtstyleexample/themes/images
-style_images.files = images/*.png \
- images/*.jpg
-style_svg.path = $$M_THEME_DIR/../qtstyleexample/themes/svg
-style_svg.files = images/*.svg
-
-desktop_entry.path = $$M_INSTALL_DATA/applications
-desktop_entry.files = \
- qtstyleexample.desktop \
- qtstyleexample-windows-style.desktop
-
-myname = com.nokia.qtstyleexample
-
-services.CONFIG += no_check_exist
-services.target = $${myname}.service
-services.commands = cat $$IN_PWD/$${myname}.service.in \
- | sed -e "s:@M_INSTALL_BIN@:$${M_INSTALL_BIN}:g" \
- > $${myname}.service
-services.files = $$OUT_PWD/$${myname}.service
-services.path = $$M_DBUS_SERVICES_DIR
-
-
-DEFINES += IMAGES_DIR=\"\\\"$$style_images.path/\\\"\"
-
-# Install instructions
-INSTALLS += target \
- style_sheet \
- style_images \
- style_svg \
- desktop_entry
-
-!win32:!macx {
- INSTALLS += services
-}
-
-RESOURCES += res.qrc
diff --git a/demos/qtstyleexample/res.qrc b/demos/qtstyleexample/res.qrc
deleted file mode 100644
index 467d23bb..00000000
--- a/demos/qtstyleexample/res.qrc
+++ /dev/null
@@ -1,6 +0,0 @@
-<RCC>
- <qresource prefix="/images">
- <file>images/icon-m-message-send-receive.svg</file>
- <file>images/icon-m-save.svg</file>
- </qresource>
-</RCC>
diff --git a/demos/qtstyleexample/style/qtstyleexample.conf b/demos/qtstyleexample/style/qtstyleexample.conf
deleted file mode 100644
index e69de29b..00000000
--- a/demos/qtstyleexample/style/qtstyleexample.conf
+++ /dev/null
diff --git a/demos/qtstyleexample/style/qtstyleexample.css b/demos/qtstyleexample/style/qtstyleexample.css
deleted file mode 100644
index e69de29b..00000000
--- a/demos/qtstyleexample/style/qtstyleexample.css
+++ /dev/null
diff --git a/demos/qtstylekinetic/.gitignore b/demos/qtstylekinetic/.gitignore
deleted file mode 100644
index 2d032aee..00000000
--- a/demos/qtstylekinetic/.gitignore
+++ /dev/null
@@ -1,3 +0,0 @@
-ui_mainwindow.h
-com.nokia.qtstylekinetic.service
-qtstylekinetic
diff --git a/demos/qtstylekinetic/com.nokia.qtstylekinetic.service.in b/demos/qtstylekinetic/com.nokia.qtstylekinetic.service.in
deleted file mode 100644
index d363f3dc..00000000
--- a/demos/qtstylekinetic/com.nokia.qtstylekinetic.service.in
+++ /dev/null
@@ -1,3 +0,0 @@
-[D-BUS Service]
-Name=com.nokia.qtstylekinetic
-Exec=@M_INSTALL_BIN@/qtstylekinetic
diff --git a/demos/qtstylekinetic/main.cpp b/demos/qtstylekinetic/main.cpp
deleted file mode 100644
index cef840be..00000000
--- a/demos/qtstylekinetic/main.cpp
+++ /dev/null
@@ -1,33 +0,0 @@
-/***************************************************************************
-**
-** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
-** All rights reserved.
-** Contact: Nokia Corporation (directui@nokia.com)
-**
-** This file is part of libmeegotouch.
-**
-** If you have questions regarding the use of this file, please contact
-** Nokia at directui@nokia.com.
-**
-** This library is free software; you can redistribute it and/or
-** modify it under the terms of the GNU Lesser General Public
-** License version 2.1 as published by the Free Software Foundation
-** and appearing in the file LICENSE.LGPL included in the packaging
-** of this file.
-**
-****************************************************************************/
-
-#include <QApplication>
-#include <QMainWindow>
-
-#include "mainwindow.h"
-
-int main(int argc, char **argv)
-{
- QApplication app(argc, argv);
- MainWindow mw;
- mw.show();
-
- return app.exec();
-}
-
diff --git a/demos/qtstylekinetic/mainwindow.cpp b/demos/qtstylekinetic/mainwindow.cpp
deleted file mode 100644
index 5fb89efa..00000000
--- a/demos/qtstylekinetic/mainwindow.cpp
+++ /dev/null
@@ -1,49 +0,0 @@
-/***************************************************************************
-**
-** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
-** All rights reserved.
-** Contact: Nokia Corporation (directui@nokia.com)
-**
-** This file is part of libmeegotouch.
-**
-** If you have questions regarding the use of this file, please contact
-** Nokia at directui@nokia.com.
-**
-** This library is free software; you can redistribute it and/or
-** modify it under the terms of the GNU Lesser General Public
-** License version 2.1 as published by the Free Software Foundation
-** and appearing in the file LICENSE.LGPL included in the packaging
-** of this file.
-**
-****************************************************************************/
-
-#include "mainwindow.h"
-
-#include <QPushButton>
-#include <QTableWidgetItem>
-#include <QDebug>
-
-MainWindow::MainWindow() : QMainWindow(NULL)
-{
- setupUi(this);
-
- QWidget* w = new QWidget();
- w->setLayout(new QVBoxLayout);
- for(int i = 0; i < 100; ++i)
- w->layout()->addWidget(new QPushButton(QString("Button %1").arg(i)));
- scrollArea->setWidget(w);
-
- for(int i = 0; i < 100; ++i)
- new QListWidgetItem(QString("Item %1").arg(i), listWidget);
-
- for(int row = 0; row < 100; ++row)
- for(int col = 0; col < 100; ++col) {
- QTableWidgetItem* item = new QTableWidgetItem(QString("%1").arg(row*col));
- tableWidget->setItem(row, col, item);
- }
-}
-
-MainWindow::~MainWindow()
-{
-
-}
diff --git a/demos/qtstylekinetic/mainwindow.h b/demos/qtstylekinetic/mainwindow.h
deleted file mode 100644
index eb47af7b..00000000
--- a/demos/qtstylekinetic/mainwindow.h
+++ /dev/null
@@ -1,35 +0,0 @@
-/***************************************************************************
-**
-** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
-** All rights reserved.
-** Contact: Nokia Corporation (directui@nokia.com)
-**
-** This file is part of libmeegotouch.
-**
-** If you have questions regarding the use of this file, please contact
-** Nokia at directui@nokia.com.
-**
-** This library is free software; you can redistribute it and/or
-** modify it under the terms of the GNU Lesser General Public
-** License version 2.1 as published by the Free Software Foundation
-** and appearing in the file LICENSE.LGPL included in the packaging
-** of this file.
-**
-****************************************************************************/
-
-#ifndef MAINWINDOW_H
-#define MAINWINDOW_H
-
-#include <QMainWindow>
-
-#include "ui_mainwindow.h"
-
-class MainWindow : public QMainWindow, Ui::MainWindow
-{
- Q_OBJECT
-public:
- MainWindow();
- ~MainWindow();
-};
-
-#endif
diff --git a/demos/qtstylekinetic/mainwindow.ui b/demos/qtstylekinetic/mainwindow.ui
deleted file mode 100644
index 7ee198ad..00000000
--- a/demos/qtstylekinetic/mainwindow.ui
+++ /dev/null
@@ -1,334 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ui version="4.0">
- <class>MainWindow</class>
- <widget class="QMainWindow" name="MainWindow">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>527</width>
- <height>427</height>
- </rect>
- </property>
- <property name="windowTitle">
- <string>Qt Style Kinetic Test</string>
- </property>
- <widget class="QWidget" name="centralwidget">
- <layout class="QVBoxLayout" name="verticalLayout_3">
- <item>
- <layout class="QHBoxLayout" name="horizontalLayout">
- <item>
- <widget class="QTabWidget" name="tabWidget">
- <property name="currentIndex">
- <number>0</number>
- </property>
- <widget class="QWidget" name="tab">
- <attribute name="title">
- <string>ScrollArea</string>
- </attribute>
- <layout class="QVBoxLayout" name="verticalLayout">
- <item>
- <widget class="QScrollArea" name="scrollArea">
- <property name="widgetResizable">
- <bool>true</bool>
- </property>
- <widget class="QWidget" name="scrollAreaWidgetContents">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>495</width>
- <height>353</height>
- </rect>
- </property>
- </widget>
- </widget>
- </item>
- </layout>
- </widget>
- <widget class="QWidget" name="tab_2">
- <attribute name="title">
- <string>ListView</string>
- </attribute>
- <layout class="QVBoxLayout" name="verticalLayout_2">
- <item>
- <widget class="QListWidget" name="listWidget"/>
- </item>
- </layout>
- </widget>
- <widget class="QWidget" name="tab_3">
- <attribute name="title">
- <string>TableView</string>
- </attribute>
- <layout class="QVBoxLayout" name="verticalLayout_4">
- <item>
- <widget class="QTableWidget" name="tableWidget">
- <property name="rowCount">
- <number>100</number>
- </property>
- <property name="columnCount">
- <number>100</number>
- </property>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- <column/>
- </widget>
- </item>
- </layout>
- </widget>
- </widget>
- </item>
- </layout>
- </item>
- </layout>
- </widget>
- <widget class="QStatusBar" name="statusbar"/>
- <action name="actionNew">
- <property name="text">
- <string>New</string>
- </property>
- </action>
- <action name="actionQuit">
- <property name="text">
- <string>Quit</string>
- </property>
- </action>
- <action name="actionOpen">
- <property name="icon">
- <iconset>
- <normaloff>:/images/images/icon-m-save.svg</normaloff>:/images/images/icon-m-save.svg</iconset>
- </property>
- <property name="text">
- <string>Open...</string>
- </property>
- </action>
- <action name="actionOrder">
- <property name="icon">
- <iconset>
- <normaloff>:/images/images/icon-m-message-send-receive.svg</normaloff>:/images/images/icon-m-message-send-receive.svg</iconset>
- </property>
- <property name="text">
- <string>order</string>
- </property>
- </action>
- <action name="actionAction_1">
- <property name="text">
- <string>Action 1</string>
- </property>
- </action>
- <action name="actionAction_2">
- <property name="text">
- <string>Action 2</string>
- </property>
- </action>
- <action name="actionAction_3">
- <property name="text">
- <string>Action 3</string>
- </property>
- </action>
- <action name="actionAction_4">
- <property name="text">
- <string>Action 4</string>
- </property>
- </action>
- </widget>
- <resources/>
- <connections/>
-</ui>
diff --git a/demos/qtstylekinetic/qtstylekinetic.pro b/demos/qtstylekinetic/qtstylekinetic.pro
deleted file mode 100644
index a12b6049..00000000
--- a/demos/qtstylekinetic/qtstylekinetic.pro
+++ /dev/null
@@ -1,54 +0,0 @@
-MROOT = ../..
-include($$MROOT/mkspecs/common.pri)
-TEMPLATE = app
-TARGET = qtstylekinetic
-target.path = $$M_INSTALL_BIN
-DEPENDPATH += .
-INCLUDEPATH += .
-
-# Input
-SOURCES += main.cpp \
- mainwindow.cpp
-HEADERS += mainwindow.h
-FORMS += mainwindow.ui
-
-# UI style definition
-style_sheet.path = $$M_THEME_DIR/../qtstylekinetic/themes/style
-style_sheet.files = style/qtstylekinetic.css
-view_configuration.path = $$M_THEME_DIR/../qtstylekinetic/themes
-view_configuration.files = style/qtstylekinetic.conf
-style_images.path = $$M_THEME_DIR/../qtstylekinetic/themes/images
-style_images.files = images/*.png \
- images/*.jpg
-style_svg.path = $$M_THEME_DIR/../qtstylekinetic/themes/svg
-style_svg.files = images/*.svg
-
-desktop_entry.path = $$M_INSTALL_DATA/applications
-desktop_entry.files = \
- qtstylekinetic.desktop \
- qtstylekinetic-windows-style.desktop
-
-myname = com.nokia.qtstylekinetic
-
-services.CONFIG += no_check_exist
-services.target = $${myname}.service
-services.commands = cat $$IN_PWD/$${myname}.service.in \
- | sed -e "s:@M_INSTALL_BIN@:$${M_INSTALL_BIN}:g" \
- > $${myname}.service
-services.files = $$OUT_PWD/$${myname}.service
-services.path = $$M_DBUS_SERVICES_DIR
-
-
-DEFINES += IMAGES_DIR=\"\\\"$$style_images.path/\\\"\"
-
-# Install instructions
-INSTALLS += target \
- style_sheet \
- style_images \
- style_svg \
- desktop_entry \
-
-!win32:!macx {
- INSTALLS += services
-}
-
diff --git a/demos/qtstyleorientation/.gitignore b/demos/qtstyleorientation/.gitignore
deleted file mode 100644
index 97968259..00000000
--- a/demos/qtstyleorientation/.gitignore
+++ /dev/null
@@ -1,3 +0,0 @@
-qtstyleorientation
-qrc_res.cpp
-com.nokia.qtstyleorientation.service
diff --git a/demos/qtstyleorientation/com.nokia.qtstyleorientation.service.in b/demos/qtstyleorientation/com.nokia.qtstyleorientation.service.in
deleted file mode 100644
index 527b7b74..00000000
--- a/demos/qtstyleorientation/com.nokia.qtstyleorientation.service.in
+++ /dev/null
@@ -1,3 +0,0 @@
-[D-BUS Service]
-Name=com.nokia.qtstyleorientation
-Exec=@M_INSTALL_BIN@/qtstyleorientation
diff --git a/demos/qtstyleorientation/main.cpp b/demos/qtstyleorientation/main.cpp
deleted file mode 100644
index 7b5deb98..00000000
--- a/demos/qtstyleorientation/main.cpp
+++ /dev/null
@@ -1,40 +0,0 @@
-/***************************************************************************
-**
-** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
-** All rights reserved.
-** Contact: Nokia Corporation (directui@nokia.com)
-**
-** This file is part of libmeegotouch.
-**
-** If you have questions regarding the use of this file, please contact
-** Nokia at directui@nokia.com.
-**
-** This library is free software; you can redistribute it and/or
-** modify it under the terms of the GNU Lesser General Public
-** License version 2.1 as published by the Free Software Foundation
-** and appearing in the file LICENSE.LGPL included in the packaging
-** of this file.
-**
-****************************************************************************/
-
-#include <QApplication>
-#include <QMainWindow>
-#include <QDebug>
-#include <QStyle>
-
-#include "mainwindow.h"
-
-int main(int argc, char **argv)
-{
- QApplication app(argc, argv);
-
- qCritical() << app.arguments();
- bool enabled = QMetaObject::invokeMethod(app.style(), "setOrientationChangeEnabled", Q_ARG(bool, true));
- qCritical() << "Orientation change enabled:" << enabled;
-
- MainWindow mw;
- mw.show();
-
- return app.exec();
-}
-
diff --git a/demos/qtstyleorientation/mainwindow.cpp b/demos/qtstyleorientation/mainwindow.cpp
deleted file mode 100644
index 62b5f8e7..00000000
--- a/demos/qtstyleorientation/mainwindow.cpp
+++ /dev/null
@@ -1,72 +0,0 @@
-/***************************************************************************
-**
-** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
-** All rights reserved.
-** Contact: Nokia Corporation (directui@nokia.com)
-**
-** This file is part of libmeegotouch.
-**
-** If you have questions regarding the use of this file, please contact
-** Nokia at directui@nokia.com.
-**
-** This library is free software; you can redistribute it and/or
-** modify it under the terms of the GNU Lesser General Public
-** License version 2.1 as published by the Free Software Foundation
-** and appearing in the file LICENSE.LGPL included in the packaging
-** of this file.
-**
-****************************************************************************/
-
-#include "mainwindow.h"
-
-#include <QMenu>
-#include <QFileDialog>
-#include <QDebug>
-#include <QStyle>
-
-MainWindow::MainWindow() : QLabel(NULL)
-{
- setWindowTitle("Orientation Change Demo");
-
- if(!connect(style(), SIGNAL(orientationChanged(int)), this, SLOT(rotateImage(int))))
- qCritical() << "Could not connect to orientationChanged signal of the Qt Meegotouch style. Maybe you are not running with the Maemo6 style?";
- m_landscapeImage.load(":/images/meegotouch-wallpaper-landscape.jpg");
- m_portraitImage.load(":/images/meegotouch-wallpaper-portrait.jpg");
-
- int orientation = 0;
- QMetaObject::invokeMethod(style(), "orientation", Q_RETURN_ARG(int, orientation));
- rotateImage(orientation);
-}
-
-MainWindow::~MainWindow()
-{
-
-}
-
-void MainWindow::rotateImage(int orientationAngle) {
- QTransform t;
- t.rotate(orientationAngle);
-
- QPixmap pixmap;
-
- switch(orientationAngle) {
- case 0:
- setAlignment(Qt::AlignTop);
- pixmap = m_landscapeImage;
- break;
- case 90:
- setAlignment(Qt::AlignRight);
- pixmap = m_portraitImage;
- break;
- case 180:
- setAlignment(Qt::AlignBottom);
- pixmap = m_landscapeImage;
- break;
- case 270:
- setAlignment(Qt::AlignLeft);
- pixmap = m_portraitImage;
- break;
- }
-
- setPixmap(pixmap.transformed(t));
-}
diff --git a/demos/qtstyleorientation/mainwindow.h b/demos/qtstyleorientation/mainwindow.h
deleted file mode 100644
index a38927d4..00000000
--- a/demos/qtstyleorientation/mainwindow.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/***************************************************************************
-**
-** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
-** All rights reserved.
-** Contact: Nokia Corporation (directui@nokia.com)
-**
-** This file is part of libmeegotouch.
-**
-** If you have questions regarding the use of this file, please contact
-** Nokia at directui@nokia.com.
-**
-** This library is free software; you can redistribute it and/or
-** modify it under the terms of the GNU Lesser General Public
-** License version 2.1 as published by the Free Software Foundation
-** and appearing in the file LICENSE.LGPL included in the packaging
-** of this file.
-**
-****************************************************************************/
-
-#ifndef MAINWINDOW_H
-#define MAINWINDOW_H
-
-#include <QLabel>
-#include <QPixmap>
-
-class MainWindow : public QLabel
-{
- Q_OBJECT
-public:
- MainWindow();
- ~MainWindow();
-protected slots:
- void rotateImage(int);
-protected:
- QPixmap m_landscapeImage;
- QPixmap m_portraitImage;
-};
-
-#endif
diff --git a/demos/qtstyleorientation/meegotouch-wallpaper-landscape.jpg b/demos/qtstyleorientation/meegotouch-wallpaper-landscape.jpg
deleted file mode 100644
index e1cbce32..00000000
--- a/demos/qtstyleorientation/meegotouch-wallpaper-landscape.jpg
+++ /dev/null
Binary files differ
diff --git a/demos/qtstyleorientation/meegotouch-wallpaper-portrait.jpg b/demos/qtstyleorientation/meegotouch-wallpaper-portrait.jpg
deleted file mode 100644
index ee8526e4..00000000
--- a/demos/qtstyleorientation/meegotouch-wallpaper-portrait.jpg
+++ /dev/null
Binary files differ
diff --git a/demos/qtstyleorientation/qtstyleorientation.desktop b/demos/qtstyleorientation/qtstyleorientation.desktop
deleted file mode 100644
index 242b7aa3..00000000
--- a/demos/qtstyleorientation/qtstyleorientation.desktop
+++ /dev/null
@@ -1,7 +0,0 @@
-[Desktop Entry]
-Type=Application
-Name=QtStyle Orientation
-Icon=icon-l-video
-Exec=qtstyleorientation
-X-Maemo-Service=com.nokia.qtstyleorientation
-OnlyShowIn=X-MeeGo;
diff --git a/demos/qtstyleorientation/qtstyleorientation.pro b/demos/qtstyleorientation/qtstyleorientation.pro
deleted file mode 100644
index e9b04906..00000000
--- a/demos/qtstyleorientation/qtstyleorientation.pro
+++ /dev/null
@@ -1,39 +0,0 @@
-MROOT = ../..
-include($$MROOT/mkspecs/common.pri)
-TEMPLATE = app
-TARGET = qtstyleorientation
-target.path = $$M_INSTALL_BIN
-DEPENDPATH += .
-INCLUDEPATH += .
-
-# Input
-SOURCES += main.cpp \
- mainwindow.cpp
-HEADERS += mainwindow.h
-
-desktop_entry.path = $$M_INSTALL_DATA/applications
-desktop_entry.files = \
- qtstyleorientation.desktop
-
-myname = com.nokia.qtstyleorientation
-
-services.CONFIG += no_check_exist
-services.target = $${myname}.service
-services.commands = cat $$IN_PWD/$${myname}.service.in \
- | sed -e "s:@M_INSTALL_BIN@:$${M_INSTALL_BIN}:g" \
- > $${myname}.service
-services.files = $$OUT_PWD/$${myname}.service
-services.path = $$M_DBUS_SERVICES_DIR
-
-
-DEFINES += IMAGES_DIR=\"\\\"$$style_images.path/\\\"\"
-
-# Install instructions
-INSTALLS += target \
- desktop_entry
-
-!win32:!macx {
- INSTALLS += services
-}
-
-RESOURCES += res.qrc
diff --git a/demos/qtstyleorientation/res.qrc b/demos/qtstyleorientation/res.qrc
deleted file mode 100644
index 47ca0c1b..00000000
--- a/demos/qtstyleorientation/res.qrc
+++ /dev/null
@@ -1,6 +0,0 @@
-<RCC>
- <qresource prefix="/images">
- <file>meegotouch-wallpaper-landscape.jpg</file>
- <file>meegotouch-wallpaper-portrait.jpg</file>
- </qresource>
-</RCC>