aboutsummaryrefslogtreecommitdiffstats
path: root/share/qtcreator/welcomescreen/widgets/PageLoader.qml
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2017-01-06 21:41:46 +0100
committerhjk <hjk@qt.io>2017-01-13 15:38:14 +0000
commit16944277d2aa2cdab194ec05de6c8e2d5ee814cd (patch)
tree65be67b94d693eaf5874880aa60241015acc8c6c /share/qtcreator/welcomescreen/widgets/PageLoader.qml
parent36d1a75118ad31861b64272716d189090e0b4e4d (diff)
Welcome: Start some performance improvements
This is essentially a widgets based re-implementation of the current design. It is still using the QAIM based interface layer between to the real data and display even though this is not needed with this approach. Removal of this layer would further reduce code size and cycle counts. For now: old new Load time 215ms 182ms delete 22ms 2ms Change-Id: I90d779a60a47a78399eaad0f1bc032d39f3ae3c0 Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Diffstat (limited to 'share/qtcreator/welcomescreen/widgets/PageLoader.qml')
-rw-r--r--share/qtcreator/welcomescreen/widgets/PageLoader.qml46
1 files changed, 0 insertions, 46 deletions
diff --git a/share/qtcreator/welcomescreen/widgets/PageLoader.qml b/share/qtcreator/welcomescreen/widgets/PageLoader.qml
deleted file mode 100644
index 18d01cd278..0000000000
--- a/share/qtcreator/welcomescreen/widgets/PageLoader.qml
+++ /dev/null
@@ -1,46 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of Qt Creator.
-**
-** 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 General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-****************************************************************************/
-
-import QtQuick 2.1
-
-Rectangle {
- id: pageLoader
-
- property alias model: repeater.model
- property int currentIndex: 0
-
- Repeater {
- id: repeater
- anchors.fill: parent
-
- Loader {
- id: loader
- anchors.fill: parent
-
- property bool isCurrentIndex: index === pageLoader.currentIndex
- source: isCurrentIndex ? pageLocation : ""
- }
- }
-}