revisions

This commit is contained in:
pls.153 2023-11-25 17:23:26 +01:00
parent 38f04c691c
commit b7adf74b36
4 changed files with 7 additions and 10 deletions

View file

@ -23,11 +23,10 @@ StackView {
return (h === 0) ? main.height : h
}
function divideHeight(factor) { return (availableHeight() - rectCommand.height) * factor }
function isLandscape() { return (Screen.primaryOrientation === Qt.LandscapeOrientation) }
function keyboardVisible() { return Qt.inputMethod.visible }
function showKeyboard(show) { show ? Qt.inputMethod.show() : Qt.inputMethod.hide() }
function ensureOutputVisible() { output.positionViewAtEnd() }
function divideHeight(factor) { return (availableHeight() - rectCommand.height) * factor }
function isLandscape() { return (Screen.primaryOrientation === Qt.LandscapeOrientation) }
function keyboardVisible() { return Qt.inputMethod.visible }
function showKeyboard(show) { show ? Qt.inputMethod.show() : Qt.inputMethod.hide() }
// show/hide dialogs