Allow all the orientations!

This commit is contained in:
Anton Thomasson 2020-08-06 17:34:14 +02:00
parent b40313db96
commit e7e8ce0752
9 changed files with 16 additions and 2 deletions

View file

@ -3,6 +3,7 @@ import Sailfish.Silica 1.0
Dialog {
id: dialog
allowedOrientations: Orientation.All
property int value
property int min;

View file

@ -4,6 +4,7 @@ import "../pages/utils.js" as Utils
Dialog {
id: dialog
allowedOrientations: Orientation.All
property string name
property string choice

View file

@ -9,7 +9,7 @@ ApplicationWindow
{
initialPage: Component { FirstPage { selectedFile: Qt.application.arguments[1] ? Qt.application.arguments[1] : "" } }
cover: Qt.resolvedUrl("cover/CoverPage.qml")
allowedOrientations: defaultAllowedOrientations
allowedOrientations: Orientation.All
Item {
id: db

View file

@ -6,7 +6,7 @@ import "../components"
Page {
id: aboutPage
allowedOrientations: Orientation.Portrait | Orientation.Landscape | Orientation.LandscapeInverted
allowedOrientations: Orientation.All
SilicaFlickable {
id: aboutFlickable

View file

@ -4,6 +4,7 @@ import seaprint.ippprinter 1.0
Dialog {
id: dialog
allowedOrientations: Orientation.All
property string value
property string ssid

View file

@ -3,6 +3,8 @@ import Sailfish.Silica 1.0
import "utils.js" as Utils
Page {
allowedOrientations: Orientation.All
property var printer
backNavigation: false
Connections {

View file

@ -303,6 +303,8 @@ Page {
Component {
id: filePickerPage
FilePickerPage {
allowedOrientations: Orientation.All
title: qsTr("Choose file")
showSystemFiles: false
nameFilters: ["*.pdf", "*.jpg", "*.jpeg", "*.ps"]
@ -316,6 +318,8 @@ Page {
Component {
id: imagePickerPage
ImagePickerPage {
allowedOrientations: Orientation.All
onSelectedContentPropertiesChanged: {
page.selectedFile = selectedContentProperties.filePath
page.selectedFileType = Mimer.get_type(selectedContentProperties.filePath)

View file

@ -6,6 +6,8 @@ import seaprint.convertchecker 1.0
import "utils.js" as Utils
Page {
allowedOrientations: Orientation.All
id: page
property var printer
property var jobParams: new Object();

View file

@ -2,6 +2,9 @@ import QtQuick 2.0
import Sailfish.Silica 1.0
Page {
allowedOrientations: Orientation.All
SilicaFlickable {
anchors.fill: parent
contentHeight: column.height