-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ə back to PCT #740
Comments
Mac uses a .icns file for the app icon. The PCT repository *does* have the .icns file intended to be used on Mac, but for unclear reasons, this file was not referenced in the Pyinstaller configuration file (i.e., pct.spec). This commit modifies .spec file and also copies the .icns file to a more reasonable folder.
Plus, add a ↔ icon to the segment pair table widget. |
For the 'segment pair table' widget. The widget is used when selecting a pair of segments in ProD, FL, and Kullback-Leibler. The button that flips the order of two segments is supposed to have a ↔ shaped icon (./resources/object-flip-horizontal.png). However, the image does not load except for the Linux machine. Instead, this commit makes the button does not rely on an external image file and uses an icon provided with the PyQt5 package itself, so the image on the button should appear on any machine.
On macOS, while clicking the 🔄 icon actually flips the segment pair, the result does not show up. |
Make this pretty PCT logo available on Mac.
cf.
https://doc.qt.io/qt-5/appicon.html#setting-the-application-icon-on-os-x
https://www.learnpyqt.com/courses/adanced-ui-features/system-tray-mac-menu-bar-applications-pyqt/
The text was updated successfully, but these errors were encountered: