Integrated file selection dialogue with the main code. Improved the
[openvpnui.git] / qml / pages / ConnectPage.qml
index 23bd65b..6d32705 100644 (file)
@@ -148,6 +148,34 @@ Page {
                     anchors.verticalCenter: parent.verticalCenter
                 }
             }
+
+            Rectangle {
+                color: "transparent"
+                border {
+                    color: Theme.highlightBackgroundColor
+                    width: 1
+                }
+                //radius: Theme.paddingSmall
+                anchors.horizontalCenter: parent.horizontalCenter
+                height: (20 * Theme.fontSizeTiny) + (2 * Theme.paddingLarge)
+                width: parent.width - 2 * Theme.paddingLarge
+                x: Theme.paddingLarge
+
+                Label {
+                    id: logOutput
+                    textFormat: Text.PlainText
+                    width: parent.width - 2 * Theme.paddingSmall
+                    wrapMode: Text.WrapAnywhere
+                    font.pixelSize: Theme.fontSizeTiny * 0.6
+                    font.family: "Monospace"
+                    color: Theme.highlightColor
+                    visible: true
+                    text: VpnControl.logText
+                    maximumLineCount: Math.floor(18 / 0.6)
+                    x: Theme.paddingSmall
+                    y: Theme.paddingSmall
+                }
+            }
         }
     }
 }