linphone-desktop/linphone-app/ui/modules/Linphone/Styles/Menus/VideoConferenceMenuStyle.qml
Julien Wadel 6528d2a946 Fix crash on removing participant.
Add more IMDN in message.
Fix dialogs top bar/margins.
Fix Video deconding with some devices.
2022-05-13 17:38:43 +02:00

91 lines
4.5 KiB
QML

pragma Singleton
import QtQml 2.2
import QtQuick 2.7
import Units 1.0
import ColorsList 1.0
// =============================================================================
QtObject {
property string sectionName: 'VideoConferenceMenu'
property color backgroundColor: ColorsList.add(sectionName+'_bg', 'k').color
property int radius: 8
property QtObject header: QtObject{
property string name: 'header'
property int height: 60
property color color: ColorsList.add(sectionName+'_'+name+'_fg', 'j').color
property int weight: Font.Bold
property int pointSize: Units.dp * 14
}
property QtObject list : QtObject{
property string name: 'list'
property int height: 60
property color color: ColorsList.add(sectionName+'_'+name+'_fg', 'j').color
property int weight: Font.Normal
property int selectedWeight: Font.Bold
property int pointSize: Units.dp * 12
property QtObject border: QtObject{
property color color: ColorsList.add(sectionName+'_list_border', 'f').color
property int width: 2
}
}
property QtObject modeIcons: QtObject{
property string gridIcon: 'conference_layout_grid_custom'
property string activeSpeakerIcon: 'conference_layout_active_speaker_custom'
property string audioOnlyIcon: 'conference_audio_only_custom'
property int width: 40
property int height: 40
}
property QtObject settingsIcons: QtObject{
property string gridIcon: 'conference_layout_grid_custom'
property string activeSpeakerIcon: 'conference_layout_active_speaker_custom'
property string audioOnlyIcon: 'conference_audio_only_custom'
property string mediaIcon: 'micro_on_custom'
property string participantsIcon: 'participants_custom'
property int width: 40
property int height: 40
}
//------------------------------------------------------------------------------
property QtObject buttons: QtObject{
property QtObject close: QtObject {
property int iconSize: 40
property string icon : 'close_custom'
property string name : 'close'
property color backgroundNormalColor : ColorsList.addImageColor(sectionName+'_'+name+'_bg_n', icon, 'me_h_b_bg').color
property color backgroundHoveredColor : ColorsList.addImageColor(sectionName+'_'+name+'_bg_h', icon, 'me_n_b_bg').color
property color backgroundPressedColor : ColorsList.addImageColor(sectionName+'_'+name+'_bg_p', icon, 'me_p_b_bg').color
property color foregroundNormalColor : ColorsList.addImageColor(sectionName+'_'+name+'_fg_n', icon, 'me_h_b_fg').color
property color foregroundHoveredColor : ColorsList.addImageColor(sectionName+'_'+name+'_fg_h', icon, 'me_n_b_fg').color
property color foregroundPressedColor : ColorsList.addImageColor(sectionName+'_'+name+'_fg_p', icon, 'me_p_b_fg').color
}
property QtObject back: QtObject {
property int iconSize: 40
property string icon : 'back_custom'
property string name : 'back'
property color backgroundNormalColor : ColorsList.addImageColor(sectionName+'_'+name+'_bg_n', icon, 'me_h_b_bg').color
property color backgroundHoveredColor : ColorsList.addImageColor(sectionName+'_'+name+'_bg_h', icon, 'me_n_b_bg').color
property color backgroundPressedColor : ColorsList.addImageColor(sectionName+'_'+name+'_bg_p', icon, 'me_p_b_bg').color
property color foregroundNormalColor : ColorsList.addImageColor(sectionName+'_'+name+'_fg_n', icon, 'me_h_b_fg').color
property color foregroundHoveredColor : ColorsList.addImageColor(sectionName+'_'+name+'_fg_h', icon, 'me_n_b_fg').color
property color foregroundPressedColor : ColorsList.addImageColor(sectionName+'_'+name+'_fg_p', icon, 'me_p_b_fg').color
}
property QtObject next: QtObject {
property int iconSize: 40
property string icon : 'panel_arrow_custom'
property string name : 'next'
property color backgroundNormalColor : ColorsList.addImageColor(sectionName+'_'+name+'_bg_n', icon, 'me_h_b_bg').color
property color backgroundHoveredColor : ColorsList.addImageColor(sectionName+'_'+name+'_bg_h', icon, 'me_n_b_bg').color
property color backgroundPressedColor : ColorsList.addImageColor(sectionName+'_'+name+'_bg_p', icon, 'me_p_b_bg').color
property color foregroundNormalColor : ColorsList.addImageColor(sectionName+'_'+name+'_fg_n', icon, 'me_h_b_fg').color
property color foregroundHoveredColor : ColorsList.addImageColor(sectionName+'_'+name+'_fg_h', icon, 'me_n_b_fg').color
property color foregroundPressedColor : ColorsList.addImageColor(sectionName+'_'+name+'_fg_p', icon, 'me_p_b_fg').color
}
}
//------------------------------------------------------------------------------
}