source: sasview/src/sas/qtgui/WindowTitle.py @ 0532d7c1

ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalc
Last change on this file since 0532d7c1 was 27313b7, checked in by Piotr Rozyczko <rozyczko@…>, 8 years ago

Added window title GUI for charts

  • Property mode set to 100755
File size: 430 bytes
RevLine 
[27313b7]1from PyQt4 import QtGui
2
3import sas.sasview
4
5from sas.qtgui.UI.WindowTitleUI import Ui_WindowTitle
6
7class WindowTitle(QtGui.QDialog, Ui_WindowTitle):
8    """ Simple GUI for a single line text query """
9    def __init__(self, parent=None, new_title=""):
10        super(WindowTitle, self).__init__(parent)
11        self.setupUi(self)
12        self.txtTitle.setText(new_title)
13
14    def title(self):
15        return self.txtTitle.text()
16
Note: See TracBrowser for help on using the repository browser.