b
This commit is contained in:
@@ -29,7 +29,7 @@ StatusUI::StatusUI(QWidget *parent) :
|
||||
*/
|
||||
|
||||
int w = 150;
|
||||
int h = 18;
|
||||
int h = 20;
|
||||
|
||||
ui->label_FlightMode->setFixedSize(w,h);
|
||||
ui->label_VerticalMode->setFixedSize(w,h);
|
||||
@@ -318,7 +318,14 @@ void StatusUI::setEngine(uint32_t pos,QVariant value1,QVariant value2)
|
||||
{
|
||||
switch (pos) {
|
||||
case 1:
|
||||
ui->label_thr->setText(value1.toString());
|
||||
//ui->label_thr->setText(value1.toString());
|
||||
|
||||
if(value1.toInt() > 100)
|
||||
{
|
||||
//ui->label_thr
|
||||
}
|
||||
|
||||
ui->label_thr->setValue(value1.toInt());
|
||||
ui->label_rpm->setText(value2.toString());
|
||||
|
||||
if(qAbs(value2.toFloat()) >= 46000)
|
||||
|
||||
Reference in New Issue
Block a user