Example #1
0
 def on_about(self, evt):
     """Handles the About This Program event"""
     project_logo = os.path.join(pathfinder.icons_path(), 'nditoolbox.png')
     project_msg = ' '.join(
         ("NDIToolbox (TM) Copyright (c) 2013 TRI/Austin, Inc.  Developed under TRI Project A7117.",
          "\n\nUse of this software is governed by the terms outlined in the license.txt file.",
          "\n\nProject Manager:  David Forsyth",
          "\nLead Developer:  Chris Coughlin")
     )
     about_project_logo_dlg = dlg.AboutDialog(parent=self.view, title="About This Program",
                                              msg=project_msg, url="http://www.nditoolbox.com",
                                              logobmp_fname=project_logo)
     about_project_logo_dlg.ShowModal()
     about_project_logo_dlg.Destroy()
Example #2
0
 def on_about(self, evt):
     """Handles the About This Program event"""
     project_logo = os.path.join(pathfinder.icons_path(), 'nditoolbox.png')
     project_msg = ' '.join(
         ("NDIToolbox (TM) Copyright (c) 2013 TRI/Austin, Inc.  Developed under TRI Project A7117.",
          "\n\nUse of this software is governed by the terms outlined in the license.txt file.",
          "\n\nProject Manager:  David Forsyth",
          "\nLead Developer:  Chris Coughlin")
     )
     about_project_logo_dlg = dlg.AboutDialog(parent=self.view, title="About This Program",
                                              msg=project_msg, url="http://www.nditoolbox.com",
                                              logobmp_fname=project_logo)
     about_project_logo_dlg.ShowModal()
     about_project_logo_dlg.Destroy()
Example #3
0
 def test_icons_path(self):
     """Verify correct icons path"""
     icons_path = os.path.join(self.app_path, 'resources', 'icons')
     self.assertEqual(icons_path, pathfinder.icons_path())
 def test_icons_path(self):
     """Verify correct icons path"""
     icons_path = os.path.join(self.app_path, 'resources', 'icons')
     self.assertEqual(icons_path, pathfinder.icons_path())