Commit 470fee30 authored by camilo higuita's avatar camilo higuita

don't use splitview until neon has qt 5.13

parent 9b93f6d2
......@@ -3,10 +3,6 @@
#include <QDir>
#include <QDebug>
#if (defined (Q_OS_LINUX) && !defined (Q_OS_ANDROID))
#include "kde/notify.h"
#endif
Index::Index(QObject *parent) : QObject(parent) {}
/* to be called to launch index with opening different paths */
......
import QtQuick 2.9
import QtQuick.Controls 2.13
import QtQuick.Controls 2.12
import QtQuick.Layouts 1.3
import org.kde.kirigami 2.0 as Kirigami
import org.kde.mauikit 1.0 as Maui
//import FMH 1.0
SplitView
ColumnLayout
{
id: control
orientation: Qt.Vertical
// orientation: Qt.Vertical
property alias browser : browser
property bool terminalVisible : true
property alias terminal : terminalLoader.item
......@@ -17,8 +17,8 @@ SplitView
Maui.FileBrowser
{
id: browser
SplitView.fillWidth: true
SplitView.fillHeight: true
Layout.fillWidth: true
Layout.fillHeight: true
headBar.visible: true
headBar.drawBorder: true
headBar.plegable: false
......@@ -120,11 +120,11 @@ SplitView
id: terminalLoader
visible: terminalVisible
focus: true
SplitView.fillWidth: true
SplitView.fillHeight: true
SplitView.minimumHeight: 100
SplitView.maximumHeight: 500
SplitView.preferredHeight : 200
Layout.fillWidth: true
// Layout.fillHeight: true
Layout.minimumHeight: 100
Layout.maximumHeight: 500
Layout.preferredHeight : 200
source: !isMobile ? "Terminal.qml" : undefined
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment