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

4
import Colors 1.0
5
import Units 1.0
6

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

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

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

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

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

Ronan's avatar
Ronan committed
31
  property QtObject menu: QtObject {
32
    property int height: 50
Ronan's avatar
Ronan committed
33 34 35 36 37 38 39 40 41 42 43 44 45 46
    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 {
Ronan's avatar
Ronan committed
47
      color: Colors.f
Ronan's avatar
Ronan committed
48 49 50
    }
  }
}