Fix theme initialization
parent
f2fc58c699
commit
b18bf2f8eb
|
@ -269,6 +269,11 @@ DocumentWindow::DocumentWindow()
|
||||||
partsDocker->setWidget(m_partManageWidget);
|
partsDocker->setWidget(m_partManageWidget);
|
||||||
addDockWidget(Qt::RightDockWidgetArea, partsDocker);
|
addDockWidget(Qt::RightDockWidgetArea, partsDocker);
|
||||||
|
|
||||||
|
//QDockWidget* motionsDocker = new QDockWidget(tr("Motions"), this);
|
||||||
|
//motionsDocker->setAllowedAreas(Qt::RightDockWidgetArea);
|
||||||
|
|
||||||
|
//tabifyDockWidget(partsDocker, motionsDocker);
|
||||||
|
|
||||||
partsDocker->raise();
|
partsDocker->raise();
|
||||||
|
|
||||||
QWidget* titleBarWidget = new QWidget;
|
QWidget* titleBarWidget = new QWidget;
|
||||||
|
|
|
@ -59,6 +59,8 @@ void Theme::initialize()
|
||||||
Theme::previewIconBorderSize = std::max(1, Theme::partPreviewImageSize / 20);
|
Theme::previewIconBorderSize = std::max(1, Theme::partPreviewImageSize / 20);
|
||||||
Theme::previewIconMargin = std::max(1, Theme::previewIconBorderSize / 2);
|
Theme::previewIconMargin = std::max(1, Theme::previewIconBorderSize / 2);
|
||||||
Theme::previewIconBorderRadius = std::max(3, Theme::partPreviewImageSize / 10);
|
Theme::previewIconBorderRadius = std::max(3, Theme::partPreviewImageSize / 10);
|
||||||
|
|
||||||
|
Theme::awesome();
|
||||||
}
|
}
|
||||||
|
|
||||||
QtAwesome* Theme::awesome()
|
QtAwesome* Theme::awesome()
|
||||||
|
|
Loading…
Reference in New Issue