src: More fixes for release

* Show declname in java import error
* Don't clear window stack when saving preferences
* Fixed spacing in source group UI, status view and error view
* Resize graph scene rect when widget is resized
* Graph node centering respect no animation preference
* Fixed undoing of view commands
* Avoid scrollbar jump when restoring graph scroll position
* Deactivate local symbols in code when clicking into empty space
This commit is contained in:
Eberhard Graether
2017-06-08 00:35:31 +02:00
parent 610dbf5bfb
commit 3e62367af0
13 changed files with 65 additions and 63 deletions
+3 -7
View File
@@ -37,7 +37,7 @@ void QtStatusView::initView()
QWidget* widget = QtViewWidgetWrapper::getWidgetOfView(this);
QBoxLayout* layout = new QVBoxLayout();
layout->setContentsMargins(0, 0, 0, 5);
layout->setContentsMargins(0, 0, 0, 0);
layout->setSpacing(0);
widget->setLayout(layout);
@@ -57,7 +57,8 @@ void QtStatusView::initView()
// Setup filters
QHBoxLayout* filters = new QHBoxLayout();
filters->addSpacing(15);
filters->setContentsMargins(10, 0, 0, 0);
filters->setSpacing(25);
const StatusFilter filter = ApplicationSettings::getInstance()->getStatusFilter();
m_showInfo = createFilterCheckbox("info", filters, filter & StatusType::STATUS_INFO);
@@ -100,7 +101,6 @@ QCheckBox* QtStatusView::createFilterCheckbox(const QString& name, QBoxLayout* l
);
layout->addWidget(checkbox);
layout->addSpacing(25);
return checkbox;
}
@@ -168,9 +168,5 @@ void QtStatusView::setStyleSheet() const
QPalette palette(m_showErrors->palette());
palette.setColor(QPalette::WindowText, QColor(ColorScheme::getInstance()->getColor("error/text/normal").c_str()));
// widget->setStyleSheet(
// utility::getStyleSheet(ResourcePaths::getGuiPath() + "error_view/error_view.css").c_str()
// );
m_table->updateRows();
}