Changeset View
Changeset View
Standalone View
Standalone View
src/kcm/package/contents/ui/Applications.qml
Show All 15 Lines | 1 | /* | |||
---|---|---|---|---|---|
16 | GNU General Public License for more details. | 16 | GNU General Public License for more details. | ||
17 | 17 | | |||
18 | You should have received a copy of the GNU General Public License | 18 | You should have received a copy of the GNU General Public License | ||
19 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 19 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
20 | */ | 20 | */ | ||
21 | 21 | | |||
22 | import QtQuick 2.0 | 22 | import QtQuick 2.0 | ||
23 | import QtQuick.Layouts 1.1 | 23 | import QtQuick.Layouts 1.1 | ||
24 | import QtQuick.Controls 1.3 | 24 | import QtQuick.Controls 1.3 as QQC1 | ||
25 | import QtQuick.Controls 2.0 | ||||
25 | 26 | | |||
26 | import org.kde.plasma.private.volume 0.1 | 27 | import org.kde.plasma.private.volume 0.1 | ||
27 | 28 | | |||
28 | ScrollView { | 29 | QQC1.ScrollView { | ||
29 | id: scrollView | 30 | id: scrollView | ||
30 | anchors.fill: parent | 31 | anchors.fill: parent | ||
31 | 32 | | |||
32 | ColumnLayout { | 33 | ColumnLayout { | ||
33 | Component.onCompleted: { | 34 | Component.onCompleted: { | ||
34 | // Normal binding causes binding loops | 35 | // Normal binding causes binding loops | ||
35 | width = Qt.binding(function() { | 36 | width = Qt.binding(function() { | ||
36 | return scrollView.viewport.width; | 37 | return scrollView.viewport.width; | ||
▲ Show 20 Lines • Show All 67 Lines • Show Last 20 Lines |