mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-29 14:52:12 +01:00
uncrustification
This commit is contained in:
parent
9997f14d68
commit
eb8d57cf31
@ -137,6 +137,7 @@ void MyTabbedStackWidget::showWidget(int index)
|
|||||||
void MyTabbedStackWidget::resizeEvent(QResizeEvent *event)
|
void MyTabbedStackWidget::resizeEvent(QResizeEvent *event)
|
||||||
{
|
{
|
||||||
QWidget::resizeEvent(event);
|
QWidget::resizeEvent(event);
|
||||||
|
|
||||||
m_listWidget->setFixedWidth(m_listWidget->verticalScrollBar()->isVisible() ? LIST_VIEW_WIDTH + 20 : LIST_VIEW_WIDTH);
|
m_listWidget->setFixedWidth(m_listWidget->verticalScrollBar()->isVisible() ? LIST_VIEW_WIDTH + 20 : LIST_VIEW_WIDTH);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -79,7 +79,7 @@ private:
|
|||||||
static const int LIST_VIEW_WIDTH = 80;
|
static const int LIST_VIEW_WIDTH = 80;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void resizeEvent(QResizeEvent * event);
|
void resizeEvent(QResizeEvent *event);
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // MYTABBEDSTACKWIDGET_H
|
#endif // MYTABBEDSTACKWIDGET_H
|
||||||
|
@ -667,7 +667,7 @@ void ConfigTaskWidget::autoLoadWidgets()
|
|||||||
forceShadowUpdates();
|
forceShadowUpdates();
|
||||||
|
|
||||||
/*
|
/*
|
||||||
foreach(WidgetBinding * binding, m_widgetBindingsPerObject) {
|
foreach(WidgetBinding * binding, m_widgetBindingsPerObject) {
|
||||||
if (binding->widget()) {
|
if (binding->widget()) {
|
||||||
qDebug() << "Binding :" << binding->widget()->objectName();
|
qDebug() << "Binding :" << binding->widget()->objectName();
|
||||||
qDebug() << " Object :" << binding->object()->getName();
|
qDebug() << " Object :" << binding->object()->getName();
|
||||||
@ -681,8 +681,8 @@ void ConfigTaskWidget::autoLoadWidgets()
|
|||||||
qDebug() << " Scale :" << shadow->scale();
|
qDebug() << " Scale :" << shadow->scale();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
void ConfigTaskWidget::addWidgetToReloadGroups(QWidget *widget, QList<int> *reloadGroupIDs)
|
void ConfigTaskWidget::addWidgetToReloadGroups(QWidget *widget, QList<int> *reloadGroupIDs)
|
||||||
@ -1157,10 +1157,10 @@ void WidgetBinding::setValue(const QVariant &value)
|
|||||||
{
|
{
|
||||||
m_value = value;
|
m_value = value;
|
||||||
/*
|
/*
|
||||||
if (m_object && m_field) {
|
if (m_object && m_field) {
|
||||||
qDebug() << "WidgetBinding" << m_object->getName() << ":" << m_field->getName() << "value =" << value.toString();
|
qDebug() << "WidgetBinding" << m_object->getName() << ":" << m_field->getName() << "value =" << value.toString();
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
void WidgetBinding::updateObjectFieldFromValue()
|
void WidgetBinding::updateObjectFieldFromValue()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user