lcls-psana / psocake

3 stars 12 forks source link

Change QtGui to QtWidgets. #33

Closed carbonscott closed 1 year ago

carbonscott commented 1 year ago

Made changes by the following command:

grep QtGui `find . -iname "*py"` | awk -F":" '{print $1}'  | uniq | xargs -I {} sed -i 's/QtGui/QtWidgets/g' {}
#                                                                                   ^^
#                                                                                    |
# in-place change ___________________________________________________________________|

Though it is generally not recommended to do it like this, fortunately, it works fine after testing.