From 6a97629d10651c65936f5b8fb47334df083fc546 Mon Sep 17 00:00:00 2001 From: Tobias Markmann Date: Thu, 2 Apr 2015 17:20:41 +0200 Subject: Use SizeAllCursor for trellis resize dialog This is should be a union of the two diagonal resize cursors on most systems and is provided by Qt. Test-Information: Tested on Windows 7 and OS X 10.9.5. On OS X the cursor does not look like the union of the two diagonal resize cursors with Qt 5.4.1. Change-Id: I442f7e25b9bf0a3e6868cbcc9bd0a48d24da718d diff --git a/Swift/QtUI/Trellis/QtGridSelectionDialog.cpp b/Swift/QtUI/Trellis/QtGridSelectionDialog.cpp index a914b2c..30248b0 100644 --- a/Swift/QtUI/Trellis/QtGridSelectionDialog.cpp +++ b/Swift/QtUI/Trellis/QtGridSelectionDialog.cpp @@ -24,7 +24,7 @@ QtGridSelectionDialog::QtGridSelectionDialog(QWidget* parent) : QWidget(parent) setWindowFlags(Qt::Popup); horizontalMargin = style()->pixelMetric(QStyle::PM_MenuVMargin); verticalMargin = style()->pixelMetric(QStyle::PM_MenuVMargin); - + setCursor(Qt::SizeAllCursor); } QSize QtGridSelectionDialog::sizeHint() const -- cgit v0.10.2-6-g49f6