|
|
|
@ -31,6 +31,7 @@ This file is part of the QGROUNDCONTROL project
@@ -31,6 +31,7 @@ This file is part of the QGROUNDCONTROL project
|
|
|
|
|
#include <QQmlEngine> |
|
|
|
|
|
|
|
|
|
#include "MainToolBar.h" |
|
|
|
|
#include "ScreenTools.h" |
|
|
|
|
#include "MainWindow.h" |
|
|
|
|
#include "UASMessageView.h" |
|
|
|
|
#include "UASMessageHandler.h" |
|
|
|
@ -63,6 +64,8 @@ MainToolBar::MainToolBar(QWidget* parent)
@@ -63,6 +64,8 @@ MainToolBar::MainToolBar(QWidget* parent)
|
|
|
|
|
if(pl) { |
|
|
|
|
pl->setContentsMargins(0,0,0,0); |
|
|
|
|
} |
|
|
|
|
setMinimumHeight(40 * ScreenTools::pixelSizeFactor_s()); |
|
|
|
|
setMaximumHeight(40 * ScreenTools::pixelSizeFactor_s()); |
|
|
|
|
// Tool Bar Preferences
|
|
|
|
|
QSettings settings; |
|
|
|
|
settings.beginGroup(TOOL_BAR_SETTINGS_GROUP); |
|
|
|
|