Skip to content

Commit

Permalink
Fix a few more cases of PySide2 to PySide6
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick Avery <[email protected]>
  • Loading branch information
psavery committed Oct 12, 2023
1 parent dc72808 commit a9256cc
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion conda.recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ about:
home: https://github.com/HEXRD/hexrdgui
license: BSD
license_family: BSD
summary: "Qt5 PySide2 based HEXRD GUI"
summary: "Qt6 PySide6 based HEXRD GUI"
4 changes: 2 additions & 2 deletions hexrd/ui/dev-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ when more generic categories are needed.
UI Files
--------

One nice feature of PySide2 is that UI files can be loaded at runtime.
One nice feature of PySide6 is that UI files can be loaded at runtime.
However, this comes with a few complications. Namely, there is no
`setupUi()` function that can be called. This means that the object
that owns the widget does not need to be the type of the widget.
Expand Down Expand Up @@ -88,7 +88,7 @@ If your class needs to emit signals, two things must be done:

A UI class that emits signals needs to be set up like the following:
```
from PySide2.QtCore import Signal, QObject
from PySide6.QtCore import Signal, QObject
from hexrd.ui.ui_loader import UiLoader
Expand Down
4 changes: 2 additions & 2 deletions packaging/CPackConfig.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set(CPACK_CMAKE_GENERATOR "Unix Makefiles")
set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_LIST_DIR}/LICENSE.txt")
set(CPACK_PACKAGE_INSTALL_DIRECTORY "hexrdgui")
set(CPACK_PACKAGE_DESCRIPTION_FILE "description.txt")
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Qt5 PySide2 based HEXRD GUI")
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Qt6 PySide6 based HEXRD GUI")
set(CPACK_PACKAGE_EXECUTABLES "hexrdgui" "HEXRDGUI")
set(CPACK_PACKAGE_NAME "HEXRDGUI")
set(CPACK_PACKAGE_VENDOR "Kitware")
Expand Down Expand Up @@ -35,7 +35,7 @@ elseif(WIN32)
set(CPACK_WIX_PROPERTY_ARPCONTACT "[email protected]")

set(CPACK_WIX_PROPERTY_ARPCOMMENTS
"Qt5 PySide2 based HEXRD GUI."
"Qt6 PySide6 based HEXRD GUI."
)

set(CPACK_WIX_PRODUCT_ICON
Expand Down
2 changes: 1 addition & 1 deletion packaging/description.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Qt5 PySide2 based HEXRD GUI
Qt6 PySide6 based HEXRD GUI

0 comments on commit a9256cc

Please sign in to comment.