File size: 617 Bytes
158b61b |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
# -*- coding: utf-8 -*-
"""
Module implementing DlgCredits.
"""
from PyQt4.QtGui import QDialog, QDesktopServices
from PyQt4.QtCore import pyqtSignature, QUrl
from Ui_credits import Ui_Dialog
class DlgCredits(QDialog, Ui_Dialog):
"""
Class documentation goes here.
"""
def __init__(self, parent=None):
"""
Constructor
"""
QDialog.__init__(self, parent)
self.setupUi(self)
@pyqtSignature("QString")
def on_label_linkActivated(self, link):
"""
Slot documentation goes here.
"""
QDesktopServices().openUrl(QUrl(link))
|