mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-20 13:18:06 +00:00
56 lines
2 KiB
QML
56 lines
2 KiB
QML
pragma Singleton
|
|
import QtQml 2.2
|
|
|
|
import Units 1.0
|
|
import ColorsList 1.0
|
|
|
|
// =============================================================================
|
|
|
|
QtObject {
|
|
property string sectionName : 'Dialog'
|
|
property var colorModel: ColorsList.add(sectionName, 'k')
|
|
|
|
property QtObject title: QtObject {
|
|
property var lowGradient: ColorsList.add(sectionName+'_title_gradient_low', 'y')
|
|
property var highGradient: ColorsList.add(sectionName+'_title_gradient_high', 'z')
|
|
}
|
|
|
|
property QtObject buttons: QtObject {
|
|
property int bottomMargin: 25
|
|
property int leftMargin: 50
|
|
property int rightMargin: 50
|
|
property int spacing: 20
|
|
property int topMargin: 15
|
|
}
|
|
|
|
property QtObject confirmDialog: QtObject {
|
|
property int height: 200
|
|
property int width: 400
|
|
}
|
|
|
|
property QtObject content: QtObject {
|
|
property int leftMargin: 25
|
|
property int rightMargin: 25
|
|
property int topMargin: 10
|
|
property int bottomMargin: 25
|
|
}
|
|
|
|
property QtObject description: QtObject {
|
|
property var colorModel: ColorsList.add(sectionName+'_description', 'j')
|
|
property int leftMargin: 50
|
|
property int pointSize: Units.dp * 11
|
|
property int rightMargin: 50
|
|
property int verticalMargin: 25
|
|
}
|
|
property QtObject closeButton: QtObject {
|
|
property int iconSize: 20
|
|
property string name : 'close'
|
|
property string icon : 'close_custom'
|
|
property var backgroundNormalColor : ColorsList.addImageColor(sectionName+'_'+name+'_b_n', icon, 'l_n_b_bg')
|
|
property var backgroundHoveredColor : ColorsList.addImageColor(sectionName+'_'+name+'_b_h', icon, 'l_h_b_bg')
|
|
property var backgroundPressedColor : ColorsList.addImageColor(sectionName+'_'+name+'_b_p', icon, 'l_p_b_bg')
|
|
property var foregroundNormalColor : ColorsList.addImageColor(sectionName+'_'+name+'_f_n', icon, 'l_n_b_fg')
|
|
property var foregroundHoveredColor : ColorsList.addImageColor(sectionName+'_'+name+'_f_h', icon, 'l_h_b_fg')
|
|
property var foregroundPressedColor : ColorsList.addImageColor(sectionName+'_'+name+'_f_p', icon, 'l_p_b_fg')
|
|
}
|
|
}
|