Added: High DPI support for the Configuration Editor. Icons and proportions should look better now when DPI scaling is used.

Improved: Updated Qt to version 5.7
Fixed: The GUI for the Channel command was showing the wrong channels as selected when channel numbers were used instead of names.
This commit is contained in:
jthedering committed 2016-07-09 11:07:21 +00:00
1 parent fb8d573fba
commit 3d8ef28d1b
112 files changed
+779 -212

No files matched your search

+3 -2
View File
@@ -19,6 +19,7 @@
#include <QGraphicsItem>
#include "Editor/helpers/DPIHelper.h"
#include "ChannelGraphScene.h"
ChannelGraphScene::ChannelGraphScene(QWidget* parent)
@@ -32,8 +33,8 @@ QPointF ChannelGraphScene::getNextChannelPoint(QGraphicsItem* lastItem, bool out
if (lastItem != NULL)
{
QRectF lastRect = lastItem->sceneBoundingRect();
x = lastRect.left() + lastRect.width() + 1 + 10;
x = lastRect.left() + lastRect.width() + 1 + DPIHelper::scale(10);
}
return QPointF(x, output ? 50 : 0);
return QPointF(x, output ? DPIHelper::scale(50) : 0);
}