A widget that allows the user to see and edit the Jaguar keywords for
three different accuracy levels.
The QFrame contains either a QSlider or set of QRadioButtons and an
SLabeldLineEdit. The QSlider/QRadioButtons can be used to switch between
accuracy levels, and the keywords for that accuracy level are displayed
in the SLabeledLineEdit
|
__init__(self,
parent=None,
label='Calculation quality:',
useredit=True,
layout=None,
coarse="",
medium="",
accurate="",
radiobuttons=False)
Create a QualitySlider instance |
|
|
|
buttonChanged(self)
Callback for radiobutton toggled signals - change the keywords
displayed in the KeywordEdit |
|
|
|
valueChanged(self,
newvalue)
Callback for when the QSlider changes value - change the keywords
displayed in the KeywordEdit |
|
|
|
updateKeywordEdit(self,
setting)
Change the keywords in the KeywordEdit to be those for the accuracy
level of setting |
|
|
|
setKeywords(self,
setting,
keywords,
append=False)
Set the keywords for a particular accuracy level |
|
|
str
|
|
dict
|
getKeywordDict(self)
Return a dictionary whose keys are keywords and values are keyword
values for the current KeywordEdit contents. |
|
|
int
|
|