コード例 #1
0
ファイル: mainwindow.py プロジェクト: actuarial-tools/camelot
    def merge_document(self):
        """Run the merge document wizard on the selection in the current
        table view"""
        from camelot.view.wizard.merge_document import MergeDocumentWizard

        selection_getter = self.activeMdiChild().get_selection
        wizard = MergeDocumentWizard(selection_getter=selection_getter)
        wizard.exec_()
コード例 #2
0
ファイル: mainwindow.py プロジェクト: kurtraschke/camelot
    def merge_document(self):
        """Run the merge document wizard on the selection in the current
        table view"""
        from camelot.view.wizard.merge_document import MergeDocumentWizard

        selection_getter = self.activeMdiChild().get_selection
        wizard = MergeDocumentWizard(selection_getter=selection_getter)
        wizard.exec_()
コード例 #3
0
ファイル: test_wizard.py プロジェクト: kurtraschke/camelot
 def test_wizard_widget(self):
     from camelot.view.wizard.merge_document import MergeDocumentWizard
     wizard = MergeDocumentWizard(None, lambda:[])
     wizard.show()
     self.grab_widget( wizard )