Skip to content

Conversation

@mp15
Copy link

@mp15 mp15 commented Sep 17, 2018

Given that it is hard to get a working QT4 on the current version of OS X, I have made the first steps towards converting the code so that it works under QT5.

QPushButton now part of QtWidgets not QtGui
QVBoxLayout QGridLayout QPushButton QLineEdit QSpinBox all moved from QtGui to QtWidgets in Qt5
QDialogButtonBox moved from QtGui to QtWidgets in Qt5.
The QtWidgets.QFileDialog.getOpenFileName function returns 2 values. Only the first is required, the second argument being present generates an error. Fix required for Linux, untested if required on win32 systems.
…-box-fixes

Fixes to dialog window returned file paths
QGraphicsView is now within QtWidgets instead of QtGui in Qt5.
References to qApp needs to be updated to QtWidgets.QApplication for Qt5 compatibility.
Updated Qt4 reference to Qt5.
Fixing a typo and capitalisation issue within the Statistics panel
@yyx8671
Copy link
Contributor

yyx8671 commented Oct 30, 2020

Thanks Martin,

Really appreciate your work. I will try to update the code as early as possible with more functions added using QT5 and invite you to contribute if you'd like to do this.

Cheers,
Andy

@mp15
Copy link
Author

mp15 commented Oct 30, 2020

Closed in favour of #11 as @DanielFaulkner has been working on this more recently and his code includes my changes.

@mp15 mp15 closed this Oct 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants