Changeset 3e8dee3 in sasview for src/sas/qtgui/Plotting/AddText.py


Ignore:
Timestamp:
Nov 8, 2017 7:22:45 AM (6 years ago)
Author:
Piotr Rozyczko <rozyczko@…>
Branches:
ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
Children:
0e80658
Parents:
412e069e
Message:

Converted unit tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Plotting/AddText.py

    r0849aec r3e8dee3  
    3131        Pop up the standard Qt Font change dialog 
    3232        """ 
    33         self._font, ok = QtGui.QFontDialog.getFont(parent=self) 
     33        self._font, ok = QtWidgets.QFontDialog.getFont(parent=self) 
    3434        if ok: 
    3535            self.textEdit.setFont(self._font) 
     
    4040        """ 
    4141        # Pick up the chosen color 
    42         self._color = QtGui.QColorDialog.getColor(parent=self) 
     42        self._color = QtWidgets.QColorDialog.getColor(parent=self) 
    4343        # Update the text control 
    4444        palette = QtGui.QPalette() 
Note: See TracChangeset for help on using the changeset viewer.