diff options
Diffstat (limited to 'src/winextras/doc')
25 files changed, 0 insertions, 832 deletions
diff --git a/src/winextras/doc/QtWinExtras/qwinextrasglobal.h b/src/winextras/doc/QtWinExtras/qwinextrasglobal.h deleted file mode 100644 index 2da776f..0000000 --- a/src/winextras/doc/QtWinExtras/qwinextrasglobal.h +++ /dev/null @@ -1 +0,0 @@ -#include "../../qwinextrasglobal.h" diff --git a/src/winextras/doc/QtWinExtrasDoc b/src/winextras/doc/QtWinExtrasDoc deleted file mode 100644 index 7d14c34..0000000 --- a/src/winextras/doc/QtWinExtrasDoc +++ /dev/null @@ -1,22 +0,0 @@ -#include "qwinevent.h" -#include "qwinjumplist_p.h" -#include "winpropkey_p.h" -#include "qwinfunctions_p.h" -#include "qwineventfilter_p.h" -#include "winshobjidl_p.h" -#include "qwintaskbarbutton.h" -#include "qwinmime.h" -#include "qwinextrasglobal.h" -#include "qwinthumbnailtoolbar.h" -#include "qwinthumbnailtoolbutton_p.h" -#include "qwinjumplistitem.h" -#include "qwinjumplist.h" -#include "qwinthumbnailtoolbar_p.h" -#include "qwinjumplistitem_p.h" -#include "windowsguidsdefs_p.h" -#include "qwinfunctions.h" -#include "qwinjumplistcategory_p.h" -#include "qwintaskbarbutton_p.h" -#include "qwinthumbnailtoolbutton.h" -#include "qwintaskbarprogress.h" -#include "qwinjumplistcategory.h" diff --git a/src/winextras/doc/images/glass.png b/src/winextras/doc/images/glass.png Binary files differdeleted file mode 100644 index a2a6326..0000000 --- a/src/winextras/doc/images/glass.png +++ /dev/null diff --git a/src/winextras/doc/images/jumplist.png b/src/winextras/doc/images/jumplist.png Binary files differdeleted file mode 100644 index dff2487..0000000 --- a/src/winextras/doc/images/jumplist.png +++ /dev/null diff --git a/src/winextras/doc/images/peek-on.png b/src/winextras/doc/images/peek-on.png Binary files differdeleted file mode 100644 index c655639..0000000 --- a/src/winextras/doc/images/peek-on.png +++ /dev/null diff --git a/src/winextras/doc/images/taskbar-button.png b/src/winextras/doc/images/taskbar-button.png Binary files differdeleted file mode 100644 index 8c585f4..0000000 --- a/src/winextras/doc/images/taskbar-button.png +++ /dev/null diff --git a/src/winextras/doc/images/taskbar-progress-indeterminate.png b/src/winextras/doc/images/taskbar-progress-indeterminate.png Binary files differdeleted file mode 100644 index 800cf51..0000000 --- a/src/winextras/doc/images/taskbar-progress-indeterminate.png +++ /dev/null diff --git a/src/winextras/doc/images/taskbar-progress-paused.png b/src/winextras/doc/images/taskbar-progress-paused.png Binary files differdeleted file mode 100644 index 55383fd..0000000 --- a/src/winextras/doc/images/taskbar-progress-paused.png +++ /dev/null diff --git a/src/winextras/doc/images/taskbar-progress-stopped.png b/src/winextras/doc/images/taskbar-progress-stopped.png Binary files differdeleted file mode 100644 index f4b6dc1..0000000 --- a/src/winextras/doc/images/taskbar-progress-stopped.png +++ /dev/null diff --git a/src/winextras/doc/images/taskbar-progress.png b/src/winextras/doc/images/taskbar-progress.png Binary files differdeleted file mode 100644 index 97bb286..0000000 --- a/src/winextras/doc/images/taskbar-progress.png +++ /dev/null diff --git a/src/winextras/doc/images/thumbbar.png b/src/winextras/doc/images/thumbbar.png Binary files differdeleted file mode 100644 index c53077d..0000000 --- a/src/winextras/doc/images/thumbbar.png +++ /dev/null diff --git a/src/winextras/doc/qtwinextras.qdocconf b/src/winextras/doc/qtwinextras.qdocconf deleted file mode 100644 index 95547db..0000000 --- a/src/winextras/doc/qtwinextras.qdocconf +++ /dev/null @@ -1,53 +0,0 @@ -include($QT_INSTALL_DOCS/global/qt-module-defaults.qdocconf) -include($QT_INSTALL_DOCS/config/exampleurl-qtwinextras.qdocconf) - -project = QtWinExtras -description = Qt Windows Extras Reference Documentation -version = $QT_VERSION - -exampledirs += ../../../examples/winextras \ - snippets - -examplesinstallpath = winextras - -moduleheader = QtWinExtrasDoc - -includepaths = -I . \ - -I .. - -headerdirs = .. ../../imports/winextras -sourcedirs = .. ../../imports/winextras -imagedirs += images - -depends += qtcore qtgui qtdoc qtwidgets - -qhp.projects = QtWinExtras - -qhp.QtWinExtras.file = qtwinextras.qhp - -qhp.QtWinExtras.namespace = org.qt-project.qtwinextras.$QT_VERSION_TAG - -qhp.QtWinExtras.indexTitle = Qt Windows Extras -qhp.QtWinExtras.indexRoot = - -qhp.QtWinExtras.filterAttributes = qtwinextras $QT_VERSION qtrefdoc -qhp.QtWinExtras.customFilters.Qt.name = QtWinExtras $QT_VERSION -qhp.QtWinExtras.customFilters.Qt.filterAttributes = qtwinextras $QT_VERSION - -qhp.QtWinExtras.virtualFolder = qtwinextras -qhp.QtWinExtras.subprojects = classes examples qmltypes -qhp.QtWinExtras.subprojects.classes.title = C++ Classes and Namespaces -qhp.QtWinExtras.subprojects.classes.indexTitle = Qt Windows Extras C++ Classes -qhp.QtWinExtras.subprojects.classes.selectors = class function namespace fake:headerfile -qhp.QtWinExtras.subprojects.classes.sortPages = true -qhp.QtWinExtras.subprojects.examples.title = Examples -qhp.QtWinExtras.subprojects.examples.indexTitle = Qt Windows Extras Examples -qhp.QtWinExtras.subprojects.examples.selectors = fake:example -qhp.QtWinExtras.subprojects.qmltypes.title = QML Types -qhp.QtWinExtras.subprojects.qmltypes.indexTitle = Qt Windows Extras QML Types -qhp.QtWinExtras.subprojects.qmltypes.selectors = qmlclass -qhp.QtWinExtras.subprojects.qmltypes.sortPages = true - -navigation.landingpage = "Qt Windows Extras" -navigation.qmltypespage = "Qt Windows Extras QML Types" -navigation.cppclassespage = "Qt Windows Extras C++ Classes" diff --git a/src/winextras/doc/snippets/code/CMakeLists.txt b/src/winextras/doc/snippets/code/CMakeLists.txt deleted file mode 100644 index 36ad466..0000000 --- a/src/winextras/doc/snippets/code/CMakeLists.txt +++ /dev/null @@ -1,12 +0,0 @@ -# Generated from use-qtwinextras.pro. - -##################################################################### -## use-qtwinextras Binary: -##################################################################### - -qt_add_executable(use-qtwinextras - GUI - PUBLIC_LIBRARIES - Qt::Gui - Qt::WinExtras -) diff --git a/src/winextras/doc/snippets/code/jumplist.cpp b/src/winextras/doc/snippets/code/jumplist.cpp deleted file mode 100644 index 6f8221e..0000000 --- a/src/winextras/doc/snippets/code/jumplist.cpp +++ /dev/null @@ -1,69 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2013 Ivan Vizir <define-true-false@yandex.com> -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** BSD License Usage -** Alternatively, you may use this file under the terms of the BSD license -** as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of The Qt Company Ltd nor the names of its -** contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -#include <QWinJumpList> - -void foo() -{ -//! [jumplist] - QWinJumpList jumplist; - - QWinJumpListCategory *tasks = jumplist.tasks(); - QWinJumpListItem *newProject = new QWinJumpListItem(QWinJumpListItem::Link); - newProject->setTitle(tr("Create new project")); - newProject->setFilePath(QDir::toNativeSeparators(QCoreApplication::applicationFilePath())); - newProject->setArguments(QStringList("--new-project")); - tasks->addItem(newProject); - - tasks->addLink(tr("Launch SDK Manager"), QDir::toNativeSeparators(QCoreApplication::applicationDirPath()) + "\\sdk-manager.exe"); - - tasks->setVisible(true); -//! [jumplist] -} diff --git a/src/winextras/doc/snippets/code/taskbar.cpp b/src/winextras/doc/snippets/code/taskbar.cpp deleted file mode 100644 index 5636174..0000000 --- a/src/winextras/doc/snippets/code/taskbar.cpp +++ /dev/null @@ -1,65 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** BSD License Usage -** Alternatively, you may use this file under the terms of the BSD license -** as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of The Qt Company Ltd nor the names of its -** contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -#include <QtWinExtras> - -void initializeTaskbarButton(QWidget *widget) -{ - Q_ASSERT(widget->windowHandle()); // Note: this requires the window to be shown. -//! [taskbar_cpp] - QWinTaskbarButton *button = new QWinTaskbarButton(widget); - button->setWindow(widget->windowHandle()); - button->setOverlayIcon(QIcon(":/loading.png")); - - QWinTaskbarProgress *progress = button->progress(); - progress->setVisible(true); - progress->setValue(50); -//! [taskbar_cpp] -} diff --git a/src/winextras/doc/snippets/code/taskbar.qml b/src/winextras/doc/snippets/code/taskbar.qml deleted file mode 100644 index e46a370..0000000 --- a/src/winextras/doc/snippets/code/taskbar.qml +++ /dev/null @@ -1,65 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** BSD License Usage -** Alternatively, you may use this file under the terms of the BSD license -** as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of The Qt Company Ltd nor the names of its -** contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import QtQuick.Window 2.0 -import QtWinExtras 1.0 - -//! [taskbar_qml] -Window { - TaskbarButton { - overlay.iconSource: "loading.png" - overlay.accessibleDescription: "Loading" - - progress.visible: true - progress.value: 50 - } -} -//! [taskbar_qml] diff --git a/src/winextras/doc/snippets/code/thumbbar.cpp b/src/winextras/doc/snippets/code/thumbbar.cpp deleted file mode 100644 index e5924ea..0000000 --- a/src/winextras/doc/snippets/code/thumbbar.cpp +++ /dev/null @@ -1,74 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2013 Ivan Vizir <define-true-false@yandex.com> -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** BSD License Usage -** Alternatively, you may use this file under the terms of the BSD license -** as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of The Qt Company Ltd nor the names of its -** contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -#include <QtWinExtras> - -void initializeThumbnailToolBar(QWidget *widget) -{ - Q_ASSERT(widget->windowHandle()); // Note: this requires the window to be shown. -//! [thumbbar_cpp] - QWinThumbnailToolBar *thumbbar = new QWinThumbnailToolBar(widget); - thumbbar->setWindow(widget->windowHandle()); - - QWinThumbnailToolButton *settings = new QWinThumbnailToolButton(thumbbar); - settings->setToolTip("Settings"); - settings->setIcon(":/settings.png"); - settings->setDismissOnClick(true); - connect(settings, SIGNAL(clicked()), settingsPage, SLOT(show())); - - QWinThumbnailToolButton *playPause = new QWinThumbnailToolButton(thumbbar); - playPause->setToolTip("Play/Pause"); - playPause->setIcon(":/play.png"); - connect(playPause, SIGNAL(clicked()), mediaPlayer, SLOT(play())); - - thumbbar->addButton(settings); - thumbbar->addButton(playPause); -//! [thumbbar_cpp] -} diff --git a/src/winextras/doc/snippets/code/thumbbar.qml b/src/winextras/doc/snippets/code/thumbbar.qml deleted file mode 100644 index d521a0a..0000000 --- a/src/winextras/doc/snippets/code/thumbbar.qml +++ /dev/null @@ -1,66 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2013 Ivan Vizir <define-true-false@yandex.com> -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** BSD License Usage -** Alternatively, you may use this file under the terms of the BSD license -** as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of The Qt Company Ltd nor the names of its -** contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import QtQuick.Window 2.0 -import QtWinExtras 1.0 - -//! [thumbbar_qml] -Window { - ThumbnailToolBar { - ThumbnailToolButton { iconSource: "qrc:///player_rew.png"; tooltip: "Rewind"; onClicked: player.rewind() } - ThumbnailToolButton { iconSource: "qrc:///player_pause.png"; tooltip: "Pause"; onClicked: player.togglePlay() } - ThumbnailToolButton { iconSource: "qrc:///player_fwd.png"; tooltip: "Forward"; onClicked: player.forward() } - ThumbnailToolButton { interactive: false; flat: true } - ThumbnailToolButton { iconSource: "qrc:///configure.png"; tooltip: "Settings"; onClicked: settingsWindow.show() } - ThumbnailToolButton { iconSource: "qrc:///document_open_folder.png"; tooltip: "Open"; onClicked: player.open() } - } -} -//! [thumbbar_qml] diff --git a/src/winextras/doc/snippets/code/use-qtwinextras.cpp b/src/winextras/doc/snippets/code/use-qtwinextras.cpp deleted file mode 100644 index 51f3718..0000000 --- a/src/winextras/doc/snippets/code/use-qtwinextras.cpp +++ /dev/null @@ -1,53 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2013 Ivan Vizir <define-true-false@yandex.com> -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** BSD License Usage -** Alternatively, you may use this file under the terms of the BSD license -** as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of The Qt Company Ltd nor the names of its -** contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -//! [include] -#include <QtWinExtras> -//! [include] diff --git a/src/winextras/doc/snippets/code/use-qtwinextras.pro b/src/winextras/doc/snippets/code/use-qtwinextras.pro deleted file mode 100644 index fd6cfdb..0000000 --- a/src/winextras/doc/snippets/code/use-qtwinextras.pro +++ /dev/null @@ -1,3 +0,0 @@ -#! [link] -QT += winextras -#! [link] diff --git a/src/winextras/doc/src/qtwinextras-examples.qdoc b/src/winextras/doc/src/qtwinextras-examples.qdoc deleted file mode 100644 index e51189c..0000000 --- a/src/winextras/doc/src/qtwinextras-examples.qdoc +++ /dev/null @@ -1,39 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: https://www.gnu.org/licenses/fdl-1.3.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! - -\group examples-qtwinextras -\title Qt Windows Extras Examples -\brief Examples for the Qt Windows Extras module. -\ingroup all-examples - -Here is a list of example applications demonstrating the functionality -provided by the \l{Qt Windows Extras} module. - -\note These examples work only on \l{Qt for Windows}{Windows} operating system. -*/
\ No newline at end of file diff --git a/src/winextras/doc/src/qtwinextras-index.qdoc b/src/winextras/doc/src/qtwinextras-index.qdoc deleted file mode 100644 index 00ab266..0000000 --- a/src/winextras/doc/src/qtwinextras-index.qdoc +++ /dev/null @@ -1,72 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2013 Ivan Vizir <define-true-false@yandex.com> -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: https://www.gnu.org/licenses/fdl-1.3.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! - \page qtwinextras-index.html - \title Qt Windows Extras - \brief Provides classes and functions for using some Windows APIs in a Qt way - - Qt Windows Extras provide classes and functions that enable you to use - miscellaneous Windows-specific functions. For example, you can convert Qt - objects to Windows object handles and manipulate DWM glass frames. - - In addition, you can use features introduced with Windows 7, such as Aero - Peek, Jump Lists, a progress indicator on a taskbar button, or a thumbnail - toolbar. - - \section1 Getting Started - - To include the definitions of the module's classes and functions, use the - following directive: - - \snippet code/use-qtwinextras.cpp include - - To link against the module, add this line to your qmake .pro file: - - \snippet code/use-qtwinextras.pro link - - \section1 Articles and Guides - - \list - \li \l {Qt Windows Extras Overview} - \endlist - - \section1 Examples - - \list - \li \l {Qt Windows Extras Examples} - \endlist - - \section1 API Reference - - These are links to the API reference materials. - - \list - \li \l {Qt Windows Extras C++ Classes}{C++ Classes and Namespaces} - \li \l {Qt Windows Extras QML Types}{QML Types} - \endlist -*/ diff --git a/src/winextras/doc/src/qtwinextras-module-cpp.qdoc b/src/winextras/doc/src/qtwinextras-module-cpp.qdoc deleted file mode 100644 index 92e74e0..0000000 --- a/src/winextras/doc/src/qtwinextras-module-cpp.qdoc +++ /dev/null @@ -1,43 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2013 Ivan Vizir <define-true-false@yandex.com> -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: https://www.gnu.org/licenses/fdl-1.3.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! - \module QtWinExtras - \title Qt Windows Extras C++ Classes - \brief Provides classes and functions for using some Windows APIs in a Qt way. - - \ingroup modules - \ingroup technology-apis - \qtvariable winextras - - The QtWin namespace contains Windows-specific functions for type - conversions and DWM glass frame manipulation. - - The classes enable you to use features introduced with Windows 7, such as - Jump Lists, a progress indicator on a taskbar button, or a thumbnail - toolbar. -*/ diff --git a/src/winextras/doc/src/qtwinextras-module-qml.qdoc b/src/winextras/doc/src/qtwinextras-module-qml.qdoc deleted file mode 100644 index 62797ef..0000000 --- a/src/winextras/doc/src/qtwinextras-module-qml.qdoc +++ /dev/null @@ -1,42 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2013 Ivan Vizir <define-true-false@yandex.com> -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: https://www.gnu.org/licenses/fdl-1.3.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! - \qmlmodule QtWinExtras 1.\QtMinorVersion - \title Qt Windows Extras QML Types - \ingroup qmlmodules - \brief Enables the use of Windows features with QML. - - \section1 QML Types - - The QML types can be imported into your application using the - following import statement in your .qml file. - - \qml \QtMinorVersion - import QtWinExtras 1.\1 - \endqml - */ diff --git a/src/winextras/doc/src/qtwinextras-overview.qdoc b/src/winextras/doc/src/qtwinextras-overview.qdoc deleted file mode 100644 index 39bdcd4..0000000 --- a/src/winextras/doc/src/qtwinextras-overview.qdoc +++ /dev/null @@ -1,153 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2013 Ivan Vizir <define-true-false@yandex.com> -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: https://www.gnu.org/licenses/fdl-1.3.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! - \page qtwinextras-Overview.html - \title Qt Windows Extras Overview - \brief Qt Windows Extras provides classes and functions for using some - Windows APIs in a Qt way - - Qt Windows Extras provide classes and functions that enable you to use - miscellaneous Windows-specific functions. For example, you can convert Qt - objects to Windows object handles and manipulate DWM glass frames. - - In addition, you can use features introduced with Windows 7, such as Aero - Peek, Jump Lists, a progress indicator on a taskbar button, or a thumbnail - toolbar. - - \section1 Type Conversion - - The QtWin namespace provides functions to convert Qt objects of classes - such as QPixmap or QImage to Windows HBITMAP or HICON handles, and vice - versa. - - \section1 DWM and Glass Frame - - You can determine whether a window is included in the DWM Flip3D rendering. - - The glass frame that was first introduced with Windows Vista can be easily - manipulated using the QtWin::extendFrameIntoClientArea() and - QtWin::enableBlurBehindWindow() functions. Windows 8 lost the glass - effect, but applications can still integrate their windows into the system - frame to visually separate window controls from the rest of the window or to - focus the user's attention on window content. - - \image glass.png "Glass frame extended into client area of a window" - - \section1 Aero Peek - - The Windows 7 \b {Aero Peek} feature gives the users the powers of X-ray - vision that enable them to peek past all open windows straight at the - desktop and the gadgets placed there. They can view the contents of a window - without actually switching to it. You can enable Aero Peek for a - gadget-like window or for a window that constantly displays monitoring data. - - You can use the QtWin::setWindowExcludedFromPeek() function to exclude - an application window from Aero Peek. - - \note Aero Peek is disabled in Windows 8 by default but can be enabled - by the user. - - \image peek-on.png "A window excluded from Aero Peek" - - \section1 Taskbar - - The taskbar provides users with access to applications that are open on the - desktop. Windows automatically creates buttons on the taskbar for accessing - application windows. Windows 7 adds new features to the taskbar buttons - that are discussed in the following sections. - - \section2 Overlay Icons and Progress Indicators - - You can use the QWinTaskbarButton class to set an overlay icon and the - QWinTaskbarProgress class to display a progress indicator on a taskbar button. - An overlay icon indicates change in the state of the application. A progress - indicator shows how time-consuming tasks are progressing. - - \image taskbar-button.png Taskbar Button - - \section3 Taskbar Example - - The following example code illustrates how to use the QWinTaskbarButton - and QWinTaskbarProgress classes to adjust the look of the taskbar button: - - \snippet code/taskbar.cpp taskbar_cpp - - \section2 Jump Lists - - An application can use Jump Lists to provide users with faster access to - files or to display shortcuts to tasks or commands. - - \image jumplist.png Jump List - - \list - - \li \b Destinations — categorized shortcuts to files and URLs that the - application can handle and even links to other applications. - Windows provides two standard categories that can be added to the - custom Jump List, in addition to the ones that the application can - create itself. - \li \b Recent and \b Frequent — so called \e known categories that are - populated automatically by Windows when the application uses the - QFileDialog::getOpenFileName() function or when the application is - launched to open a file from the Windows shell. - - \li \b Tasks — shortcuts to application functionality. An application - can display its most frequently used context-independent functions - on task lists. - - \endlist - - \note To be able to add destinations to its Jump Lists, the application - should associate itself with the file types it can handle. - - \section3 Jump List Example - - The following example code illustrates how to use the classes in the - QWinJumpList and QWinJumpListItem classes to implement Jump Lists: - - \snippet code/jumplist.cpp jumplist - - \section2 Thumbnail Toolbar - - Applications can embed a toolbar in the thumbnail of a window, which is - shown when hovering over its taskbar icon. A thumbnail toolbar may provide - quick access to the window's commands without requiring the user to restore - or activate the window. - - \image thumbbar.png Media player thumbnail toolbar - - \section3 Thumbnail Toolbar Example - - The following example code illustrates how to use the functions in the - QWinThumbnailToolBar and QWinThumbnailToolButton class to implement a - thumbnail toolbar: - - \snippet code/thumbbar.cpp thumbbar_cpp - -*/ |