mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-02-07 15:08:24 +00:00
Change date and time pickers into datetime popup. Upgrade date picker design. Fix time picker design to follow popup layout. Fix audio video conference URI migration in linphonerc and avoid to replace it if it already exists (same for conference URI). Remove binding loop warning on combobox. In meeting creation, format dates to system and fix combobox display.
35 lines
1.6 KiB
QML
35 lines
1.6 KiB
QML
pragma Singleton
|
|
import QtQml 2.2
|
|
|
|
import Units 1.0
|
|
import ColorsList 1.0
|
|
|
|
// =============================================================================
|
|
|
|
QtObject {
|
|
property string sectionName : 'DatePicker'
|
|
|
|
property QtObject title: QtObject{
|
|
property color color: ColorsList.add(sectionName+'_title_fg', 'g').color
|
|
property real pointSize: Units.dp * 11
|
|
}
|
|
property QtObject cell: QtObject{
|
|
property color color: ColorsList.add(sectionName+'_cell_fg', 'g').color
|
|
property color selectedBorderColor: ColorsList.add(sectionName+'_selected', 'i').color
|
|
property real selectedPointSize: Units.dp * 14
|
|
property real dayHeaderPointSize: Units.dp * 12
|
|
property real dayPointSize: Units.dp * 11
|
|
}
|
|
|
|
property QtObject nextMonthButton: QtObject {
|
|
property int iconSize: 20
|
|
property string name : 'nextMonth'
|
|
property string icon : 'panel_arrow_custom'
|
|
property color backgroundNormalColor : ColorsList.addImageColor(sectionName+'_'+name+'_b_n', icon, 'l_n_b_bg').color
|
|
property color backgroundHoveredColor : ColorsList.addImageColor(sectionName+'_'+name+'_b_h', icon, 'l_h_b_bg').color
|
|
property color backgroundPressedColor : ColorsList.addImageColor(sectionName+'_'+name+'_b_p', icon, 'l_p_b_bg').color
|
|
property color foregroundNormalColor : ColorsList.addImageColor(sectionName+'_'+name+'_f_n', icon, 'l_n_b_fg').color
|
|
property color foregroundHoveredColor : ColorsList.addImageColor(sectionName+'_'+name+'_f_h', icon, 'l_h_b_fg').color
|
|
property color foregroundPressedColor : ColorsList.addImageColor(sectionName+'_'+name+'_f_p', icon, 'l_p_b_fg').color
|
|
}
|
|
}
|