Logo Search packages:      
Sourcecode: hgview version File versions  Download package

def hgviewlib::qt4::hgrepoviewer::HgRepoViewer::on_about (   self,
  args 
)

Display about dialog 

Definition at line 396 of file hgrepoviewer.py.

00396                              :
        """ Display about dialog """
        from hgviewlib.__pkginfo__ import modname, version, short_desc, long_desc
        try:
            from mercurial.version import get_version
            hgversion = get_version()
        except:
            from mercurial.__version__ import version as hgversion

        msg = "<h2>About %(appname)s %(version)s</h2> (using hg %(hgversion)s)" % \
              {"appname": modname, "version": version, "hgversion": hgversion}
        msg += "<p><i>%s</i></p>" % short_desc.capitalize()
        msg += "<p>%s</p>" % long_desc
        QtGui.QMessageBox.about(self, "About %s" % modname, msg)

    def on_help(self, *args):


Generated by  Doxygen 1.6.0   Back to index