linphone-desktop/tests/ui/views/App/Styles/MainWindow/MainWindowStyle.qml
Ronan Abhamon 36a308b7f5 feat(ui/modules/Linphone/SmartSearchBar):
- it uses a style file
  - provide signals handlers
2016-12-28 13:42:54 +01:00

48 lines
1.1 KiB
QML

pragma Singleton
import QtQuick 2.7
import Common 1.0
import Linphone.Styles 1.0
// =============================================================================
QtObject {
property int minimumHeight: 480
property int minimumWidth: 780
property string title: 'Linphone'
property QtObject accountStatus: QtObject {
property int width: 200
}
property QtObject autoAnswerStatus: QtObject {
property int iconSize: 13
property int width: 24
property QtObject text: QtObject {
property int fontSize: 8
property color color: Colors.j75
}
}
property QtObject menu: QtObject {
property int entryHeight: 50
property int width: 250
}
property QtObject searchBox: QtObject {
property int entryHeight: 50 + SmartSearchBarStyle.entry.separator.height
property int maxHeight: 300 // See Hick's law for good choice.
}
property QtObject toolBar: QtObject {
property int height: 70
property int leftMargin: 20
property int rightMargin: 20
property int spacing: 20
property var background: Rectangle {
color: Colors.v
}
}
}