MainWindowStyle.qml 1.13 KB
Newer Older
Ronan's avatar
Ronan committed
1 2 3
pragma Singleton
import QtQuick 2.7

4
import Common 1.0
5
import Linphone.Styles 1.0
6
import Units 1.0
7

Ronan's avatar
Ronan committed
8
// =============================================================================
Ronan's avatar
Ronan committed
9 10

QtObject {
11
  property int menuBurgerSize: 16
12
  property int newConferenceSize: 40
13 14
  property int minimumHeight: 610
  property int minimumWidth: 950
15
  property int width: 950
Ronan's avatar
Ronan committed
16 17 18 19 20 21
  property string title: 'Linphone'

  property QtObject accountStatus: QtObject {
    property int width: 200
  }

22 23 24 25 26
  property QtObject autoAnswerStatus: QtObject {
    property int iconSize: 13
    property int width: 24

    property QtObject text: QtObject {
27
      property int pointSize: Units.dp * 8
Ronan's avatar
Ronan committed
28
      property color color: Colors.j75
29 30 31
    }
  }

Ronan's avatar
Ronan committed
32
  property QtObject menu: QtObject {
33
    property int height: 50
Ronan's avatar
Ronan committed
34 35 36 37 38 39 40 41 42 43 44 45 46 47
    property int width: 250
  }

  property QtObject searchBox: QtObject {
    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 {
48
      color: Colors.v
Ronan's avatar
Ronan committed
49 50 51
    }
  }
}