Source : about
¶
source code: about¶
show the About box
Usage (example)
ui = about.InfoBox(self)
ui.setTodoURL(__issues__)
ui.setDocumentationURL(__url__)
ui.setLicenseURL(__license_url__)
ui.setTitle(config_file_parser.MAIN_SECTION_LABEL)
ui.setVersionText("software version: " + __version__)
ui.setSummaryText(__doc__.strip())
ui.setAuthorText(__author__)
ui.setCopyrightText(__copyright__)
ui.show()
InfoBox ([parent, settings]) |
a Qt GUI for the About box |
myLoadUi (ui_file[, baseinstance]) |
load a .ui file for use in building a GUI |
-
class
bcdamenu.about.
InfoBox
(parent=None, settings=None)[source]¶ a Qt GUI for the About box
setTodoURL
(url)set the URL for the issue tracker setDocumentationURL
(url)set the URL for the documentation setLicenseURL
(url)set the URL for the software license text setTitle
(text)set the title in the About box setVersionText
(text)set the version text in the About box setSummaryText
(text)set the description in th e About box setAuthorText
(text)set the author list in the About box setCopyrightText
(text)set the copyright string in the About box
-
bcdamenu.about.
myLoadUi
(ui_file, baseinstance=None, **kw)[source]¶ load a .ui file for use in building a GUI
Wraps uic.loadUi() with code that finds our program’s resources directory.
See: http://nullege.com/codes/search/PyQt4.uic.loadUi See: http://bitesofcode.blogspot.ca/2011/10/comparison-of-loading-techniques.html inspired by: http://stackoverflow.com/questions/14892713/how-do-you-load-ui-files-onto-python-classes-with-pyside?lq=1