Some dock widget formatting and ESC key can dock ("unfloat") widget

This commit is contained in:
Klaus Basan
2018-01-07 05:53:33 +01:00
parent 3dc1c69653
commit 68b01077ba
4 changed files with 114 additions and 104 deletions

View File

@@ -24,7 +24,7 @@ namespace BlackGui
{
this->setWindowTitle("Info status bar");
this->setWindowIcon(CIcons::swift24());
this->ps_onStyleSheetsChanged(); // margins from infobar
this->onStyleSheetsChanged(); // margins from infobar
}
void CDockWidgetInfoBar::addToContextMenu(QMenu *contextMenu) const
@@ -33,7 +33,7 @@ namespace BlackGui
CDockWidget::addToContextMenu(contextMenu);
}
void CDockWidgetInfoBar::ps_onStyleSheetsChanged()
void CDockWidgetInfoBar::onStyleSheetsChanged()
{
const QString st = sGui->getStyleSheetUtility().style(CStyleSheetUtility::fileNameInfoBar());
this->setStyleSheet(st);