mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-02 10:24:11 +01:00
OP-1331 uncrustified
This commit is contained in:
parent
846146ca80
commit
fe60509ffa
@ -84,6 +84,7 @@ void MyTabbedStackWidget::insertTab(const int index, QWidget *tab, const QIcon &
|
|||||||
{
|
{
|
||||||
// create and insert item
|
// create and insert item
|
||||||
QListWidgetItem *item = new QListWidgetItem(icon, label);
|
QListWidgetItem *item = new QListWidgetItem(icon, label);
|
||||||
|
|
||||||
item->setFlags(Qt::ItemIsEnabled | Qt::ItemIsSelectable);
|
item->setFlags(Qt::ItemIsEnabled | Qt::ItemIsSelectable);
|
||||||
item->setTextAlignment(Qt::AlignHCenter | Qt::AlignBottom);
|
item->setTextAlignment(Qt::AlignHCenter | Qt::AlignBottom);
|
||||||
item->setToolTip(label);
|
item->setToolTip(label);
|
||||||
|
@ -165,6 +165,7 @@ void ConfigGadgetWidget::resizeEvent(QResizeEvent *event)
|
|||||||
void ConfigGadgetWidget::onAutopilotDisconnect()
|
void ConfigGadgetWidget::onAutopilotDisconnect()
|
||||||
{
|
{
|
||||||
QWidget *qwd = new DefaultAttitudeWidget(this);
|
QWidget *qwd = new DefaultAttitudeWidget(this);
|
||||||
|
|
||||||
stackWidget->replaceTab(ConfigGadgetWidget::sensors, qwd);
|
stackWidget->replaceTab(ConfigGadgetWidget::sensors, qwd);
|
||||||
|
|
||||||
qwd = new DefaultHwSettingsWidget(this);
|
qwd = new DefaultHwSettingsWidget(this);
|
||||||
|
Loading…
Reference in New Issue
Block a user