It displays a dialog for entering the parameters
for the QMessageBox code generator.
Methods
|
|
__init__
button0Text
button1Text
button2Text
getCode
testMsg
typeSelected
|
|
__init__
|
__init__ ( self, parent=None )
Constructor
Arguments
- parent
- parent widget (QWidget)
|
|
button0Text
|
button0Text ( self, text )
Private slot to enable/disable the other button combos depending on its contents.
Arguments
- text
- the new text (QString)
|
|
button1Text
|
button1Text ( self, text )
Private slot to enable/disable the other button combos depending on its contents.
Arguments
- text
- the new text (QString)
|
|
button2Text
|
button2Text ( self, text )
Private slot to enable/disable the other button combos depending on its contents.
Arguments
- text
- the new text (QString)
|
|
getCode
|
getCode (
self,
indLevel,
indString,
)
Public method to get the source code.
Arguments
- indLevel
- indentation level (int)
- indString
- string used for indentation (space or tab) (string)
Returns
generated code (string)
|
|
testMsg
|
testMsg ( self )
Private method to test the selected options.
|
|
typeSelected
|
typeSelected ( self, id )
Private slot to enable/disable certain fields depending on index.
Arguments
- id
- index of selected radio button
|