Beispiel #1
0
 def _ExportToPng( self ):
     
     payload = self._GetExportableURLsString()
     
     with ClientGUITopLevelWindowsPanels.DialogNullipotent( self, 'export to png' ) as dlg:
         
         panel = ClientGUISerialisable.PngExportPanel( dlg, payload )
         
         dlg.SetPanel( panel )
         
         dlg.exec()
Beispiel #2
0
 def _ExportToPng( self ):
     
     export_object = self._GetExportObject()
     
     if export_object is not None:
         
         from hydrus.client.gui import ClientGUITopLevelWindowsPanels
         from hydrus.client.gui import ClientGUISerialisable
         
         with ClientGUITopLevelWindowsPanels.DialogNullipotent( self, 'export to png' ) as dlg:
             
             panel = ClientGUISerialisable.PngExportPanel( dlg, export_object )
             
             dlg.SetPanel( panel )
             
             dlg.exec()