mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-02 10:24:11 +01:00
Corrected small typo: disbleMouseWheelEvents vs. disableMouseWheelEvents
This commit is contained in:
parent
3a1b15a65b
commit
f4376b3445
@ -90,7 +90,7 @@ ConfigCameraStabilizationWidget::ConfigCameraStabilizationWidget(QWidget *parent
|
|||||||
connect(m_camerastabilization->camerastabilizationSaveSD, SIGNAL(clicked()), this, SLOT(saveSettings()));
|
connect(m_camerastabilization->camerastabilizationSaveSD, SIGNAL(clicked()), this, SLOT(saveSettings()));
|
||||||
connect(m_camerastabilization->camerastabilizationHelp, SIGNAL(clicked()), this, SLOT(openHelp()));
|
connect(m_camerastabilization->camerastabilizationHelp, SIGNAL(clicked()), this, SLOT(openHelp()));
|
||||||
|
|
||||||
disbleMouseWheelEvents();
|
disableMouseWheelEvents();
|
||||||
}
|
}
|
||||||
|
|
||||||
ConfigCameraStabilizationWidget::~ConfigCameraStabilizationWidget()
|
ConfigCameraStabilizationWidget::~ConfigCameraStabilizationWidget()
|
||||||
|
@ -68,7 +68,7 @@ ConfigTxPIDWidget::ConfigTxPIDWidget(QWidget *parent) : ConfigTaskWidget(parent)
|
|||||||
populateWidgets();
|
populateWidgets();
|
||||||
refreshWidgetsValues();
|
refreshWidgetsValues();
|
||||||
|
|
||||||
disbleMouseWheelEvents();
|
disableMouseWheelEvents();
|
||||||
}
|
}
|
||||||
|
|
||||||
ConfigTxPIDWidget::~ConfigTxPIDWidget()
|
ConfigTxPIDWidget::~ConfigTxPIDWidget()
|
||||||
|
@ -233,7 +233,7 @@ ConfigVehicleTypeWidget::ConfigVehicleTypeWidget(QWidget *parent) : ConfigTaskWi
|
|||||||
setupGroundVehicleUI( m_aircraft->groundVehicleType->currentText() );
|
setupGroundVehicleUI( m_aircraft->groundVehicleType->currentText() );
|
||||||
setupFixedWingUI( m_aircraft->fixedWingType->currentText() );
|
setupFixedWingUI( m_aircraft->fixedWingType->currentText() );
|
||||||
|
|
||||||
disbleMouseWheelEvents();
|
disableMouseWheelEvents();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@ inputChannelForm::inputChannelForm(QWidget *parent,bool showlegend) :
|
|||||||
connect(ui->channelNumberDropdown,SIGNAL(currentIndexChanged(int)),this,SLOT(channelDropdownUpdated(int)));
|
connect(ui->channelNumberDropdown,SIGNAL(currentIndexChanged(int)),this,SLOT(channelDropdownUpdated(int)));
|
||||||
connect(ui->channelNumber,SIGNAL(valueChanged(int)),this,SLOT(channelNumberUpdated(int)));
|
connect(ui->channelNumber,SIGNAL(valueChanged(int)),this,SLOT(channelNumberUpdated(int)));
|
||||||
|
|
||||||
disbleMouseWheelEvents();
|
disableMouseWheelEvents();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -71,7 +71,7 @@ OutputChannelForm::OutputChannelForm(const int index, QWidget *parent, const boo
|
|||||||
connect(ui.actuatorLink, SIGNAL(toggled(bool)),
|
connect(ui.actuatorLink, SIGNAL(toggled(bool)),
|
||||||
this, SLOT(linkToggled(bool)));
|
this, SLOT(linkToggled(bool)));
|
||||||
|
|
||||||
disbleMouseWheelEvents();
|
disableMouseWheelEvents();
|
||||||
}
|
}
|
||||||
|
|
||||||
OutputChannelForm::~OutputChannelForm()
|
OutputChannelForm::~OutputChannelForm()
|
||||||
|
@ -1158,7 +1158,7 @@ void ConfigTaskWidget::loadWidgetLimits(QWidget * widget,UAVObjectField * field,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void ConfigTaskWidget::disbleMouseWheelEvents()
|
void ConfigTaskWidget::disableMouseWheelEvents()
|
||||||
{
|
{
|
||||||
//Disable mouse wheel events
|
//Disable mouse wheel events
|
||||||
foreach( QSpinBox * sp, findChildren<QSpinBox*>() ) {
|
foreach( QSpinBox * sp, findChildren<QSpinBox*>() ) {
|
||||||
|
@ -86,7 +86,7 @@ public:
|
|||||||
ConfigTaskWidget(QWidget *parent = 0);
|
ConfigTaskWidget(QWidget *parent = 0);
|
||||||
~ConfigTaskWidget();
|
~ConfigTaskWidget();
|
||||||
|
|
||||||
void disbleMouseWheelEvents();
|
void disableMouseWheelEvents();
|
||||||
bool eventFilter( QObject * obj, QEvent * evt );
|
bool eventFilter( QObject * obj, QEvent * evt );
|
||||||
|
|
||||||
void saveObjectToSD(UAVObject *obj);
|
void saveObjectToSD(UAVObject *obj);
|
||||||
|
Loading…
Reference in New Issue
Block a user