Skip to content

Commit

Permalink
finalize joystick edit values element
Browse files Browse the repository at this point in the history
  • Loading branch information
Consti10 committed Feb 6, 2024
1 parent 4a3f1b8 commit 303a507
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 35 deletions.
1 change: 1 addition & 0 deletions qml/ui/AnyParamBusyIndicator.qml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Item{
width: parent.width
height: parent.height


BusyIndicator{
id: any_param_busy_indiscator
width: 96
Expand Down
4 changes: 2 additions & 2 deletions qml/ui/configpopup/quick/BaseJoyEditElement.qml
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ Item{
border.color: "black"
border.width: 3
color: {
return "blue"
return "#333c4c"
}
opacity: base_joy_edit_element.focus ? 1.0 : 0.4;
opacity: base_joy_edit_element.focus ? 1.0 : 0.3;
//opacity: focus ? 1.0 : 0.4;
//color: "green"
// "#8cbfd7f3" : "#00000000"
Expand Down
7 changes: 5 additions & 2 deletions qml/ui/configpopup/quick/GoBackElement.qml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@ Rectangle{
id: go_back_element
width: parent.width
height: 50
color: "blue"
opacity:go_back_element.focus ? 1.0 : 0.4;

color: {
return "#333c4c"
}
opacity: go_back_element.focus ? 1.0 : 0.3;

function close_and_go_back(){
// Go back to the
Expand Down
9 changes: 0 additions & 9 deletions qml/ui/configpopup/quick/PanelQuick.qml
Original file line number Diff line number Diff line change
Expand Up @@ -120,15 +120,6 @@ Item {
}


Rectangle{
implicitWidth: middle_element.width
implicitHeight: middle_element.height
color: "blue"
opacity: 0.2;
anchors.top: middle_element.top
anchors.left: middle_element.left
}

Column{
anchors.centerIn: parent
id: middle_element
Expand Down
22 changes: 0 additions & 22 deletions qml/ui/widgets/WBLinkRateControlWidget.qml
Original file line number Diff line number Diff line change
Expand Up @@ -331,28 +331,6 @@ Make the video more stable (less microfreezes) on the cost of less image quality
m_text: "Range vs Bitrate"
m_info_text: m_DESCRIPTION_CHANNEL_WIDTH
}
/*TabBar{
width: parent.width
height: m_row_height
id: channel_width_tab_bar
currentIndex: m_curr_channel_width==40 ? 1 : 0;
onCurrentIndexChanged: {
//const chan_w= currentIndex==0 ? 20 : 40;
//set_channel_width_async(20)
}
TabButton{
text: "20Mhz"
onClicked: {
set_channel_width_async(20)
}
}
TabButton{
text: "40Mhz"
onClicked: {
set_channel_width_async(40)
}
}
}*/
Row{
width: parent.width
height: m_row_height
Expand Down

0 comments on commit 303a507

Please sign in to comment.