summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/src.scripttools.qscriptenginedebugger.cpp
diff options
context:
space:
mode:
authorJason Barron <jbarron@trolltech.com>2009-09-19 18:07:28 (GMT)
committerJason Barron <jbarron@trolltech.com>2009-09-21 08:07:46 (GMT)
commite03186c7ebf1a77cf18dffa26bbeb6c4b960219c (patch)
tree86c44b2e909dc810dcc685e32dbac3d6b4b2da7d /doc/src/snippets/code/src.scripttools.qscriptenginedebugger.cpp
parent63b38ba77b4a5603bec9f8e6d63425eb8a8f5d15 (diff)
downloadQt-e03186c7ebf1a77cf18dffa26bbeb6c4b960219c.zip
Qt-e03186c7ebf1a77cf18dffa26bbeb6c4b960219c.tar.gz
Qt-e03186c7ebf1a77cf18dffa26bbeb6c4b960219c.tar.bz2
Change QDialogButtonBox to use the new soft key API.
This simplifies the implementation of the soft keys. Introduce a hash for storing the mapping between the buttons and the actions that they represent. This allows for easy translation of the strings when the language changes. Use setFixedSize instead of hide to make the buttons invisible. This allows us to put some code in the handling of the show event and add the actions here. This should be fairly safe since even if we get multiple show events, it is still safe to add the same action again. Reviewed-by: Alessandro Portale
Diffstat (limited to 'doc/src/snippets/code/src.scripttools.qscriptenginedebugger.cpp')
0 files changed, 0 insertions, 0 deletions