module: main_window¶
Main
code runs the GUI.
-
class
Assign_GUP.main_window.
AGUP_MainWindow
[source]¶ Bases:
PyQt4.QtGui.QMainWindow
Creates a Qt GUI for the main window
-
adjustMainWindowTitle
()[source]¶ mark if main window is dirty
indicate in main window title when there are unsaved modifications (i.e., when self.cannotProceed() is True)
-
cannotProceed
()[source]¶ advise if the application has unsaved changes and should not do the proposed action
-
confirmAbandonChangesNotOk
()[source]¶ Ask user to save changes before exit or opening another project.
Return True if application should NOT exit.
-
doAnalysis_gridReport
()[source]¶ show a table with dotProducts for each reviewer against each proposal and assignments
-
doEditEmailTemplate
()[source]¶ edit the template to send emails, include editor for keyword substitutions
-
doImportReviewers
()[source]¶ copy the list of Reviewers into this project from another PRP Project file
-
doResetDefaultSettings
()[source]¶ user requested to reset the settings to their default values
Note: does not write to the rcfile
-
doSaveAs
()[source]¶ save the self.agup data to the data file name selected from a dialog box
You may choose any file name and extension that you prefer. It is strongly suggested you choose the default file extension, to identify AGUP PRP Project files more easily on disk. Multiple projects files, perhaps for different review cycles, can be saved in the same directory. Or you can save each project file in a different directory as you choose.
By default, the file extension will be .agup, indicating that this is an AGUP PRP Project file. The extensions .prp or .xml may be used as alternatives. Each of these describes a file with exactly the same file format, an XML document.
-
doSummaryReport
()[source]¶ this report is helpful to balance proposal assignments
show a read-only text page with how many primary and secondary proposals assigned to each reviewer
-
importReviewers
(filename)[source]¶ read Reviewers from a PRP Project file and set the model accordingly
-
importTopics
(filename)[source]¶ read Topics from an AGUP PRP Project file and set the model accordingly
-
onTopicValuesChanged
(*args, **kw)[source]¶ called when a proposal or reviewer topic value has been changed
-