def show_editor_libs_info(self):
     self.aboutEditorLibs = AboutEditorLibsWindow(self)
     self.aboutEditorLibs.show()
class AboutWindow(QWidget):
    def __init__(self, project_window):
        super(AboutWindow, self).__init__()
        
        self.setWindowModality(Qt.ApplicationModal)
        
        self.project_window = project_window
        
        # Compose layout:
        layout = QVBoxLayout()
        
        lbl = QLabel(l("aboutwin_main_info").replace("[version]", "0.1"));
        lbl.setWordWrap(True)
        layout.addWidget(lbl)
        
        self.buttonEditor = QPushButton(l("aboutwin_button_editor_authors"),
            self)
        self.buttonEditor.clicked.connect(self.show_editor_info)
        layout.addWidget(self.buttonEditor)
        
        self.buttonQt = QPushButton(l("aboutwin_button_qt_licensing"), self)
        self.buttonQt.clicked.connect(self.show_qt_info)
        layout.addWidget(self.buttonQt)
        
        self.buttonEditorLibs = QPushButton(l("aboutwin_button_editor_libs"), self)
        self.buttonEditorLibs.clicked.connect(self.show_editor_libs_info)
        layout.addWidget(self.buttonEditorLibs)
        
        self.buttonEngineLibs = QPushButton(l("aboutwin_button_engine_libs"), self)
        self.buttonEngineLibs.clicked.connect(self.show_engine_libs_info)
        layout.addWidget(self.buttonEngineLibs)
        
        self.buttonClose = QPushButton(l("aboutwin_button_close"), self)
        self.buttonClose.clicked.connect(self.close_dialog)
        buttonCloseLayout = QHBoxLayout()
        buttonCloseLayout.addStretch()
        buttonCloseLayout.addWidget(self.buttonClose)
        layout.addItem(buttonCloseLayout)
        
        # Set layout and central widget:
        layout.setSizeConstraint(QLayout.SetFixedSize)
        
        self.setLayout(layout)
        
        self.setWindowTitle(l("aboutwin_title"))
        
        self.setFixedSize(self.size())
        
    def closeEvent(self, event):
        self.project_window.about_dlg = None
        event.accept()
        
    def show_qt_info(self):
        self.aboutQt = AboutQtWindow(self)
        self.aboutQt.show()
    
    def show_editor_info(self):
        self.aboutEditor = AboutEditorWindow(self)
        self.aboutEditor.show()
        
    def show_engine_libs_info(self):
        self.aboutEngineLibs = AboutEngineLibsWindow(self)
        self.aboutEngineLibs.show()
        
    def show_editor_libs_info(self):
        self.aboutEditorLibs = AboutEditorLibsWindow(self)
        self.aboutEditorLibs.show()
        
    def close_dialog(self):
        self.close()