python_code
stringlengths
0
992k
repo_name
stringlengths
8
46
file_path
stringlengths
5
162
# Copyright 2006-2007 Nanorex, Inc. See LICENSE file for details. """ ViewOrientationWindow.py @author: Ninad @version: $Id$ @copyright: 2006-2007 Nanorex, Inc. See LICENSE file for details. Module classification: [bruce 080101] Ideally this might be general and not need to be a singleton, and be classified into "...
NanoCAD-master
cad/src/ne1_ui/ViewOrientationWindow.py
""" The Graphical User Interface (gui) module provides classes for the NE1 user interface. """
NanoCAD-master
cad/src/ne1_ui/__init__.py
# Copyright 2004-2008 Nanorex, Inc. See LICENSE file for details. """ WhatsThisText_for_MainWindow.py This file provides functions for setting the "What's This" and tooltip text for widgets in the NE1 Main Window, except widgets in Property Managers. Edit WhatsThisText_for_PropertyManagers.py to set "What's This" an...
NanoCAD-master
cad/src/ne1_ui/WhatsThisText_for_MainWindow.py
# Copyright 2008 Nanorex, Inc. See LICENSE file for details. """ @author: Ninad @copyright: 2008 Nanorex, Inc. See LICENSE file for details. @version:$Id$ History: Created on 2008-11-06 TODO: Created as a part of a NFR by Mark on Nov 6, 2008. This is a quick implementation subjected to a number of changes / revisio...
NanoCAD-master
cad/src/ne1_ui/SelectNodeByNameDockWidget.py
# Copyright 2004-2007 Nanorex, Inc. See LICENSE file for details. """ Ui_MainWindowWidgetConnections.py Creates all signal-slot connections for all Main Window widgets used in menus and toolbars. @author: Mark @version: $Id$ @copyright: 2004-2007 Nanorex, Inc. See LICENSE file for details. History: 2007-12-23: Mo...
NanoCAD-master
cad/src/ne1_ui/Ui_MainWindowWidgetConnections.py
# Copyright 2004-2007 Nanorex, Inc. See LICENSE file for details. """ Ui_MainWindowWidgets.py Creates all widgets use by the Main Window, including: - QAction used as menu items for menus in the main menu bar - QActions, QToolButtons, etc. in main toolbars - QAction for the Command toolbar @author: Mark @version: $I...
NanoCAD-master
cad/src/ne1_ui/Ui_MainWindowWidgets.py
# Copyright 2004-2009 Nanorex, Inc. See LICENSE file for details. """ MWsemantics.py provides the main window class, MWsemantics. @version: $Id$ @copyright: 2004-2009 Nanorex, Inc. See LICENSE file for details. History: too much to mention, except for breakups of the file. [maybe some of those are not listed here?...
NanoCAD-master
cad/src/ne1_ui/MWsemantics.py
# Copyright 2004-2008 Nanorex, Inc. See LICENSE file for details. """ Ui_PartWindow.py provides the part window class. @version: $Id$ @copyright: 2004-2008 Nanorex, Inc. See LICENSE file for details. To Do: - Reorder widget and layout creation so that the code is easier to follow and understand. Also will make it m...
NanoCAD-master
cad/src/ne1_ui/Ui_PartWindow.py
# Copyright 2004-2007 Nanorex, Inc. See LICENSE file for details. """ $Id$ """ from PyQt4 import QtCore, QtGui from PyQt4.Qt import Qt from PyQt4.Qt import QRect from utilities.icon_utilities import geticon class Ui_ViewOrientation: def setupUi(self, orientationWidget): win = self.win MainWindo...
NanoCAD-master
cad/src/ne1_ui/Ui_ViewOrientation.py
# Copyright 2004-2007 Nanorex, Inc. See LICENSE file for details. """ ToolTipText_for_CommandToolbars.py This file provides functions for setting the "Tooltip" text for widgets (typically QActions) in the Command Toolbar. @author: Mark @version:$Id$ @copyright: 2004-2007 Nanorex, Inc. See LICENSE file for details. ...
NanoCAD-master
cad/src/ne1_ui/ToolTipText_for_CommandToolbars.py
# Copyright 2007-2008 Nanorex, Inc. See LICENSE file for details. """ WhatsThisText_for_PreferencesDialog.py This file provides functions for setting the "What's This" and tooltip text for widgets in the NE1 Preferences dialog only. Edit WhatsThisText_for_MainWindow.py to set "What's This" and tooltip text for widge...
NanoCAD-master
cad/src/ne1_ui/prefs/WhatsThisText_for_PreferencesDialog.py
# Copyright 2005-2008 Nanorex, Inc. See LICENSE file for details. """ Preferences.py @author: Mark @version: $Id$ @copyright: 2005-2008 Nanorex, Inc. See LICENSE file for details. History: -Mark 2008-05-20: Created by Mark from a copy of UserPrefs.py """ import os, sys from PyQt4 import QtCore, QtGui from PyQt4.Q...
NanoCAD-master
cad/src/ne1_ui/prefs/Preferences.py
NanoCAD-master
cad/src/ne1_ui/prefs/__init__.py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'PreferencesDialog.ui' # # Created: Fri Dec 12 03:50:46 2008 # by: PyQt4 UI code generator 4.3.3 # # WARNING! All changes made in this file will be lost! from PyQt4 import QtCore, QtGui class Ui_PreferencesDialog(object): def setup...
NanoCAD-master
cad/src/ne1_ui/prefs/PreferencesDialog.py
# Copyright 2004-2007 Nanorex, Inc. See LICENSE file for details. """ $Id$ """ from PyQt4 import QtGui import ne1_ui.menus.Ui_BuildStructuresMenu as Ui_BuildStructuresMenu import ne1_ui.menus.Ui_BuildToolsMenu as Ui_BuildToolsMenu import ne1_ui.menus.Ui_SelectMenu as Ui_SelectMenu import ne1_ui.menus.Ui_DimensionsMe...
NanoCAD-master
cad/src/ne1_ui/menus/Ui_ToolsMenu.py
# Copyright 2004-2007 Nanorex, Inc. See LICENSE file for details. """ $Id$ """ from PyQt4 import QtGui from utilities.debug_prefs import debug_pref, Choice_boolean_True def setupUi(win): """ Populates the "Build Structures" menu, a submenu of the "Tools" menu. @note: This also specifies the default (Bui...
NanoCAD-master
cad/src/ne1_ui/menus/Ui_BuildStructuresMenu.py
# Copyright 2004-2007 Nanorex, Inc. See LICENSE file for details. """ Ui_RenderingMenu.py - Menu for Rendering plug-ins like QuteMolX, POV-Ray and others to come (i.e. Sunflow) @author: Mark @version: $Id$ @copyright: 2005-2007 Nanorex, Inc. See LICENSE file for details. """ from PyQt4 import QtGui def setupUi(win...
NanoCAD-master
cad/src/ne1_ui/menus/Ui_RenderingMenu.py
NanoCAD-master
cad/src/ne1_ui/menus/__init__.py
# Copyright 2004-2007 Nanorex, Inc. See LICENSE file for details. """ $Id$ """ from PyQt4 import QtGui # Hybrid display is an experimental work. Its action and others need to be # removed. For now, I am just removing it using the following flag as I have # unrelated modifications in other files that need to be chang...
NanoCAD-master
cad/src/ne1_ui/menus/Ui_ViewMenu.py
# Copyright 2004-2007 Nanorex, Inc. See LICENSE file for details. """ $Id$ """ from PyQt4 import QtGui def setupUi(win): """ Populates the "Edit" menu which appears in the main window menu bar. @param win: NE1's main window object. @type win: Ui_MainWindow """ # Populate the "Edit" menu. ...
NanoCAD-master
cad/src/ne1_ui/menus/Ui_EditMenu.py
# Copyright 2004-2007 Nanorex, Inc. See LICENSE file for details. """ $Id$ """ from PyQt4 import QtGui from utilities.icon_utilities import geticon from utilities.debug_prefs import debug_pref, Choice_boolean_False def setupUi(win): """ Populates the "Simulation" menu (incuding its "Measurement" submenu) ...
NanoCAD-master
cad/src/ne1_ui/menus/Ui_SimulationMenu.py
# Copyright 2004-2007 Nanorex, Inc. See LICENSE file for details. """ $Id$ """ from PyQt4 import QtGui from utilities.debug_prefs import debug_pref, Choice_boolean_False def setupUi(win): """ Populates the "Insert" menu (incuding its "Reference Geometry" submenu) which appears in the main window menu bar...
NanoCAD-master
cad/src/ne1_ui/menus/Ui_InsertMenu.py
# Copyright 2004-2007 Nanorex, Inc. See LICENSE file for details. """ $Id$ """ from PyQt4 import QtGui def setupUi(win): """ Populates the "Build Tools" menu, a submenu of the "Tools" menu. @param win: NE1's main window object. @type win: Ui_MainWindow """ # Populate the "Build Structures"...
NanoCAD-master
cad/src/ne1_ui/menus/Ui_BuildToolsMenu.py
# Copyright 2004-2007 Nanorex, Inc. See LICENSE file for details. """ $Id$ """ from PyQt4 import QtGui def setupUi(win): """ Populates the "File" menu which appears in the main window menu bar. @param win: NE1's main window object. @type win: Ui_MainWindow """ # Populate the "Import" subme...
NanoCAD-master
cad/src/ne1_ui/menus/Ui_FileMenu.py
# Copyright 2004-2007 Nanorex, Inc. See LICENSE file for details. """ $Id$ """ from PyQt4 import QtGui def setupUi(win): """ Populates the "Dimensions" menu, a submenu of the "Tools" menu. @param win: NE1's main window object. @type win: Ui_MainWindow """ # Populate the "Dimensions" menu. ...
NanoCAD-master
cad/src/ne1_ui/menus/Ui_DimensionsMenu.py
# Copyright 2004-2007 Nanorex, Inc. See LICENSE file for details. """ $Id$ """ from PyQt4 import QtGui def setupUi(win): """ Populates the "Selection" menu, a submenu of the "Tools" menu. @param win: NE1's main window object. @type win: Ui_MainWindow """ # Populate the "Select" menu. w...
NanoCAD-master
cad/src/ne1_ui/menus/Ui_SelectMenu.py
# Copyright 2004-2007 Nanorex, Inc. See LICENSE file for details. """ $Id$ """ from PyQt4 import QtGui from foundation.wiki_help import QToolBar_WikiHelp def setupUi(win, toolbarArea): """ Create and populate the "Select" toolbar. @param win: NE1's main window object. @type win: U{B{QMainWindow}<ht...
NanoCAD-master
cad/src/ne1_ui/toolbars/Ui_SelectToolBar.py
# Copyright 2004-2007 Nanorex, Inc. See LICENSE file for details. """ Ui_RenderingToolBar.py - Toolbar for Rendering plug-ins like QuteMolX and POV-Ray. @author: Mark @version: $Id$ @copyright: 2005-2007 Nanorex, Inc. See LICENSE file for details. """ from PyQt4 import QtGui from foundation.wiki_help import QToolBa...
NanoCAD-master
cad/src/ne1_ui/toolbars/Ui_RenderingToolBar.py
# Copyright 2008 Nanorex, Inc. See LICENSE file for details. """ This class provides the flyout toolbar for ExtrudeMode @author: Ninad @copyright: 2008 Nanorex, Inc. See LICENSE file for details. @version:$Id$ History: 2008-09-19: Created during command stack refactoring project TODO: """ from ne1_ui.toolbars.Ui_A...
NanoCAD-master
cad/src/ne1_ui/toolbars/Ui_ExtrudeFlyout.py
# Copyright 2004-2007 Nanorex, Inc. See LICENSE file for details. """ $Id$ TODO: (list copied and kept from Ui_DnaFlyout.py --Mark) - Does the parentWidget for the NanotubeFlyout always needs to be a propertyManager The parentWidget is the propertyManager object of the currentCommand on the commandSequencer. What...
NanoCAD-master
cad/src/ne1_ui/toolbars/Ui_NanotubeFlyout.py
# Copyright 2007 Nanorex, Inc. See LICENSE file for details. """ Ui_CommandToolbar.py - UI and hardcoded content for the Command Toolbar @author: Ninad @version: $Id$ @copyright: 2007 Nanorex, Inc. See LICENSE file for details. Module classification: [bruce 071228] At present, this hardcodes the set of main toolb...
NanoCAD-master
cad/src/ne1_ui/toolbars/Ui_CommandToolbar.py
NanoCAD-master
cad/src/ne1_ui/toolbars/__init__.py
# Copyright 2008 Nanorex, Inc. See LICENSE file for details. """ @author: Ninad @copyright: 2008 Nanorex, Inc. See LICENSE file for details. @version:$Id$ History: Ninad 2008-07-15: Created during an initial refactoring of class CommandToolbar Moved the common code out of Ui_CommandToolBar and CommandToolbar into ...
NanoCAD-master
cad/src/ne1_ui/toolbars/FlyoutToolbar.py
# Copyright 2008 Nanorex, Inc. See LICENSE file for details. """ @author: Ninad @copyright: 2008 Nanorex, Inc. See LICENSE file for details. @version:$Id$ History: Ninad 2008-08-04: Created during the command stack refactoring project TODO: 2008-08-04 - See the superclass """ from ne1_ui.toolbars.Ui_AbstractFlyout...
NanoCAD-master
cad/src/ne1_ui/toolbars/Ui_PartLibraryFlyout.py
# Copyright 2008 Nanorex, Inc. See LICENSE file for details. """ @author: Ninad @copyright: 2008 Nanorex, Inc. See LICENSE file for details. @version:$Id$ History: 2008-08-05: Created during command stack refactoring project TODO: see the superclass """ from ne1_ui.toolbars.Ui_AbstractFlyout import Ui_AbstractFlyo...
NanoCAD-master
cad/src/ne1_ui/toolbars/Ui_MoveFlyout.py
# Copyright 2004-2007 Nanorex, Inc. See LICENSE file for details. """ $Id$ TODO: - Does the parentWidget for the DnaFlyout always needs to be a propertyManager The parentWidget is the propertyManager object of the currentCommand on the commandSequencer. What if the currentCommand doesn't have a PM but it wants ...
NanoCAD-master
cad/src/ne1_ui/toolbars/Ui_DnaFlyout.py
# Copyright 2008 Nanorex, Inc. See LICENSE file for details. """ This class provides the flyout toolbar for movieMode (Play Movie command) @author: Ninad @copyright: 2008 Nanorex, Inc. See LICENSE file for details. @version:$Id$ History: 2008-08-21: Created during command stack refactoring project TODO: """ from n...
NanoCAD-master
cad/src/ne1_ui/toolbars/Ui_PlayMovieFlyout.py
# Copyright 2008 Nanorex, Inc. See LICENSE file for details. """ This class provides the flyout toolbar for BuildCrystals command @author: Ninad @copyright: 2008 Nanorex, Inc. See LICENSE file for details. @version:$Id$ History: 2008-08-11: Created during command stack refactoring project TODO: """ from ne1_ui.too...
NanoCAD-master
cad/src/ne1_ui/toolbars/Ui_BuildCrystalFlyout.py
# Copyright 2008 Nanorex, Inc. See LICENSE file for details. """ This class provides the flyout toolbar for Graphene command. @author: Ninad @copyright: 2008 Nanorex, Inc. See LICENSE file for details. @version:$Id$ History: 2008-08-26: Created during command stack refactoring project TODO: """ from ne1_ui.toolbar...
NanoCAD-master
cad/src/ne1_ui/toolbars/Ui_GrapheneFlyout.py
# Copyright 2004-2007 Nanorex, Inc. See LICENSE file for details. """ $Id$ """ from PyQt4 import QtGui from PyQt4.Qt import Qt from foundation.wiki_help import QToolBar_WikiHelp def setupUi(win, toolbarArea): """ Create and populate the "Display Styles" toolbar. @param win: NE1's main window object. ...
NanoCAD-master
cad/src/ne1_ui/toolbars/Ui_DisplayStylesToolBar.py
# Copyright 2004-2007 Nanorex, Inc. See LICENSE file for details. """ $Id$ """ from PyQt4 import QtGui from foundation.wiki_help import QToolBar_WikiHelp def setupUi(win, toolbarArea): """ Creates and populates the "Standard" toolbar in the main window. @param win: NE1's main window object. @type wi...
NanoCAD-master
cad/src/ne1_ui/toolbars/Ui_StandardToolBar.py
# Copyright 2008 Nanorex, Inc. See LICENSE file for details. """ @author: Ninad @copyright: 2008 Nanorex, Inc. See LICENSE file for details. @version:$Id$ History: - 2008-07-29 created. Moved related code from BuildAtoms_Command to this new class NOTE THAT THIS CLASS IS NOT YET USED ANYWHERE. As of 2008-07-29, Buil...
NanoCAD-master
cad/src/ne1_ui/toolbars/Ui_BuildAtomsFlyout.py
# Copyright 2008 Nanorex, Inc. See LICENSE file for details. """ @author: Ninad @copyright: 2008 Nanorex, Inc. See LICENSE file for details. @version:$Id$ History: Ninad 2008-08-04: Created during the command stack refactoring project TODO: 2008-08-04 - See the superclass """ from ne1_ui.toolbars.Ui_AbstractFlyout...
NanoCAD-master
cad/src/ne1_ui/toolbars/Ui_PasteFromClipboardFlyout.py
# Copyright 2008 Nanorex, Inc. See LICENSE file for details. """ @author: Urmi @copyright: 2008 Nanorex, Inc. See LICENSE file for details. @version: $Id$ History: - 2008-08-05 created by Urmi. - The motivation was to include all protein modeling and simulation features in one place. - Based on the original prote...
NanoCAD-master
cad/src/ne1_ui/toolbars/Ui_ProteinFlyout.py
# Copyright 2004-2007 Nanorex, Inc. See LICENSE file for details. """ $Id$ """ from PyQt4 import QtGui from foundation.wiki_help import QToolBar_WikiHelp def setupUi(win, toolbarArea): """ Creates and populates the "Build Tools" toolbar in the main window. @param win: NE1's main window object. @type...
NanoCAD-master
cad/src/ne1_ui/toolbars/Ui_BuildToolsToolBar.py
# Copyright 2004-2007 Nanorex, Inc. See LICENSE file for details. """ $Id$ """ from PyQt4 import QtGui from foundation.wiki_help import QToolBar_WikiHelp def setupUi(win, toolbarArea): """ Create and populate the "Standard Views" toolbar. @param win: NE1's main window object. @type win: U{B{QMainWi...
NanoCAD-master
cad/src/ne1_ui/toolbars/Ui_StandardViewsToolBar.py
# Copyright 2008 Nanorex, Inc. See LICENSE file for details. """ This class provides the flyout toolbar for FuseChunks_Command. @author: Ninad @copyright: 2008 Nanorex, Inc. See LICENSE file for details. @version:$Id$ History: 2008-08-11: Created during command stack refactoring project TODO: """ from ne1_ui.toolb...
NanoCAD-master
cad/src/ne1_ui/toolbars/Ui_FuseFlyout.py
# Copyright 2004-2007 Nanorex, Inc. See LICENSE file for details. """ $Id$ """ from PyQt4 import QtGui from foundation.wiki_help import QToolBar_WikiHelp def setupUi(win, toolbarArea): """ Create and populate the "View" toolbar. @param win: NE1's main window object. @type win: U{B{QMainWindow}<http...
NanoCAD-master
cad/src/ne1_ui/toolbars/Ui_ViewToolBar.py
# Copyright 2008 Nanorex, Inc. See LICENSE file for details. """ @author: Ninad @copyright: 2008 Nanorex, Inc. See LICENSE file for details. @version:$Id$ History: 2008-08-04 Created to aid command stack refactoring. TODO: 2008-08-04 - cleanup after command toolbar refactoring. - more documentation, - have more f...
NanoCAD-master
cad/src/ne1_ui/toolbars/Ui_AbstractFlyout.py
# Copyright 2004-2007 Nanorex, Inc. See LICENSE file for details. """ $Id$ """ from PyQt4 import QtGui from foundation.wiki_help import QToolBar_WikiHelp from utilities.debug_prefs import debug_pref, Choice_boolean_True def setupUi(win, toolbarArea): """ Creates and populates the "Build Structures" toolbar i...
NanoCAD-master
cad/src/ne1_ui/toolbars/Ui_BuildStructuresToolBar.py
# Copyright 2004-2007 Nanorex, Inc. See LICENSE file for details. """ $Id$ """ from PyQt4 import QtGui from foundation.wiki_help import QToolBar_WikiHelp def setupUi(win, toolbarArea): """ Creates and populates the "Simulation" toolbar in the main window. @param win: NE1's main window object. @type ...
NanoCAD-master
cad/src/ne1_ui/toolbars/Ui_SimulationToolBar.py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'HelpDialog.ui' # # Created: Tue Mar 04 16:01:31 2008 # by: PyQt4 UI code generator 4.2 # # WARNING! All changes made in this file will be lost! from PyQt4 import QtCore, QtGui class Ui_HelpDialog(object): def setupUi(self, HelpDia...
NanoCAD-master
cad/src/ne1_ui/help/HelpDialog.py
NanoCAD-master
cad/src/ne1_ui/help/__init__.py
# Copyright 2004-2007 Nanorex, Inc. See LICENSE file for details. """ help.py - help dialog used for mouse controls and keyboard shortcuts $Id$ History: Rewritten by Mark as a minimal help facility for Alpha 6. bruce 071214 renamed class Help -> Ne1HelpDialog, so uses are findable by text search. The name HelpDial...
NanoCAD-master
cad/src/ne1_ui/help/help.py
# Copyright 2004-2007 Nanorex, Inc. See LICENSE file for details. """ $Id$ """ from PyQt4 import QtGui def setupUi(win): """ Populates the "Help" menu which appears in the main window menu bar. @param win: NE1's main window object. @type win: Ui_MainWindow """ # Populate the "Help" menu. ...
NanoCAD-master
cad/src/ne1_ui/help/Ui_HelpMenu.py
NanoCAD-master
cad/src/commands/__init__.py
# Copyright 2005-2009 Nanorex, Inc. See LICENSE file for details. """ movieMode.py -- movie player mode. @author: Mark @version: $Id$ @copyright: 2005-2009 Nanorex, Inc. See LICENSE file for details. History: By Mark. bruce 050426 revising it, for Alpha5, mostly to fix bugs and perhaps to generalize it. Adding va...
NanoCAD-master
cad/src/commands/PlayMovie/movieMode.py
NanoCAD-master
cad/src/commands/PlayMovie/__init__.py
# Copyright 2007-2008 Nanorex, Inc. See LICENSE file for details. """ The Ui_MoviePropertyManager class defines UI elements for the Property Manager of the B{Movie mode}. @author: Mark, Ninad @copyright: 2007-2008 Nanorex, Inc. See LICENSE file for details. @version:$Id$ History: ninad 2007-05-07 : Converted movie...
NanoCAD-master
cad/src/commands/PlayMovie/Ui_MoviePropertyManager.py
# Copyright 2007-2008 Nanorex, Inc. See LICENSE file for details. """ MoviePropertyManager.py @author: Ninad, Bruce, Mark, Huaicai @version: $Id$ @copyright: 2007-2008 Nanorex, Inc. All rights reserved. History: ninad20070507 : Converted movie dashboard into movie Property manager (authors: various) """ from PyQt4...
NanoCAD-master
cad/src/commands/PlayMovie/MoviePropertyManager.py
NanoCAD-master
cad/src/commands/PartProperties/__init__.py
# -*- coding: utf-8 -*- # Copyright 2004-2007 Nanorex, Inc. See LICENSE file for details. # Form implementation generated from reading ui file 'PartPropDialog.ui' # # Created: Wed Sep 20 08:20:23 2006 # by: PyQt4 UI code generator 4.0.1 # # WARNING! All changes made in this file will be lost! from PyQt4 import ...
NanoCAD-master
cad/src/commands/PartProperties/PartPropDialog.py
# Copyright 2004-2007 Nanorex, Inc. See LICENSE file for details. """ PartProp.py $Id$ """ from PyQt4.Qt import QDialog, SIGNAL from commands.PartProperties.PartPropDialog import Ui_PartPropDialog class PartProp(QDialog, Ui_PartPropDialog): def __init__(self, assy): QDialog.__init__(self) self.s...
NanoCAD-master
cad/src/commands/PartProperties/PartProp.py
# Copyright 2009 Nanorex, Inc. See LICENSE file for details. """ GraphicsTestCase.py - abstract class for a test case for Test Graphics Performance @author: Bruce @version: $Id$ @copyright: 2009 Nanorex, Inc. See LICENSE file for details. todo: refile some or all of this out of this specific command? """ class Gra...
NanoCAD-master
cad/src/commands/TestGraphics/GraphicsTestCase.py
NanoCAD-master
cad/src/commands/TestGraphics/__init__.py
# Copyright 2009 Nanorex, Inc. See LICENSE file for details. """ test_selection_redraw.py - test case for frequent moving of CSDLs between DrawingSets @author: Bruce @version: $Id$ @copyright: 2009 Nanorex, Inc. See LICENSE file for details. Results, as of 090106: WARNING; these are measured while running Wing IDE...
NanoCAD-master
cad/src/commands/TestGraphics/test_selection_redraw.py
# Copyright 2008-2009 Nanorex, Inc. See LICENSE file for details. """ TestGraphics_Command.py -- command to "Test Graphics Performance" (for now, available from the debug menu -> 'other' submenu) @author: Bruce @version: $Id$ @copyright: 2008-2009 Nanorex, Inc. See LICENSE file for details. """ # python librar...
NanoCAD-master
cad/src/commands/TestGraphics/TestGraphics_Command.py
# Copyright 2008 Nanorex, Inc. See LICENSE file for details. """ TestGraphics_PropertyManager.py @author: Bruce @version: $Id$ @copyright: 2008 Nanorex, Inc. See LICENSE file for details. """ import foundation.env as env from PyQt4.Qt import SIGNAL from PM.PM_GroupBox import PM_GroupBox from PM.PM_ComboBox import PM...
NanoCAD-master
cad/src/commands/TestGraphics/TestGraphics_PropertyManager.py
# Copyright 2004-2009 Nanorex, Inc. See LICENSE file for details. """ @version: $Id$ @copyright: 2004-2009 Nanorex, Inc. See LICENSE file for details. History: Ninad 2008-01-25: Split modifyMode into Command and GraphicsMode classes and also refactored the GraphicsMode to create individual ...
NanoCAD-master
cad/src/commands/Move/Move_GraphicsMode.py
NanoCAD-master
cad/src/commands/Move/__init__.py
# Copyright 2004-2009 Nanorex, Inc. See LICENSE file for details. """ Move_Command.py The 'Command' part of the Move Mode (Move_Command and Move_GraphicsMode are the two split classes of the old modifyMode) It provides the command object for its GraphicsMode class. The Command class defines anything related to the '...
NanoCAD-master
cad/src/commands/Move/Move_Command.py
# Copyright 2004-2008 Nanorex, Inc. See LICENSE file for details. """ @author: Ninad @copyright: 2004-2008 Nanorex, Inc. See LICENSE file for details. @version: $Id$ History: ninad 2007-02-07: Created to implement new UI for Move and Rotate chunks mode. ninad 2007-08-20: Code cleanup to use new PM module classes. ...
NanoCAD-master
cad/src/commands/Move/MovePropertyManager.py
# Copyright 2004-2008 Nanorex, Inc. See LICENSE file for details. """ Ui_MovePropertyManager.py @author: Ninad @copyright: 2004-2008 Nanorex, Inc. See LICENSE file for details. $Id$ History: ninad 2007-08-20: code cleanup to use new PM module classes. """ from PyQt4.Qt import Qt from PM.PM_GroupBox import ...
NanoCAD-master
cad/src/commands/Move/Ui_MovePropertyManager.py
# Copyright 2008 Nanorex, Inc. See LICENSE file for details. """ LightingScheme_PropertyManager.py The LightingScheme_PropertyManager class provides a Property Manager for controlling light settings and creating favorites. @author: Kyle @version: $Id$ @copyright: 2008 Nanorex, Inc. See LICENSE file for details. "...
NanoCAD-master
cad/src/commands/LightingScheme/LightingScheme_PropertyManager.py
# Copyright 2008 Nanorex, Inc. See LICENSE file for details. """ @author: Urmi @version: $Id$ @copyright: 2008 Nanorex, Inc. See LICENSE file for details. """ import foundation.changes as changes from commands.SelectChunks.SelectChunks_GraphicsMode import SelectChunks_GraphicsMode from command_support.EditComma...
NanoCAD-master
cad/src/commands/LightingScheme/LightingScheme_Command.py
NanoCAD-master
cad/src/commands/LightingScheme/__init__.py
# Copyright 2004-2009 Nanorex, Inc. See LICENSE file for details. """ @version: $Id$ @copyright: 2004-2009 Nanorex, Inc. See LICENSE file for details. History: Ninad 2008-01-25: Split the former 'modifyMode ' into Commmand and GraphicsMode classes and also refactored the GraphicsM...
NanoCAD-master
cad/src/commands/Rotate/RotateChunks_GraphicsMode.py
# Copyright 2008 Nanorex, Inc. See LICENSE file for details. """ RotateChunks_Command.py @author: Ninad @copyright: 2008 Nanorex, Inc. See LICENSE file for details. @version: $Id$ History: Created while splitting class modifyMode into Command and GraphicsMode. NOTE: As of 2008-01-25, this command is not yet used, ...
NanoCAD-master
cad/src/commands/Rotate/RotateChunks_Command.py
NanoCAD-master
cad/src/commands/Rotate/__init__.py
# Copyright 2004-2008 Nanorex, Inc. See LICENSE file for details. """ SelectAtoms_Command.py The 'Command' part of the SelectAtoms Mode (SelectAtoms_basicCommand and SelectAtoms_basicGraphicsMode are the two split classes of the old selectAtomsMode) It provides the command object for its GraphicsMode class. The Comm...
NanoCAD-master
cad/src/commands/SelectAtoms/SelectAtoms_Command.py
NanoCAD-master
cad/src/commands/SelectAtoms/__init__.py
# Copyright 2004-2009 Nanorex, Inc. See LICENSE file for details. """ SelectAtoms_GraphicsMode.py The GraphicsMode part of the SelectAtoms_Command. It provides the graphicsMode object for its Command class. The GraphicsMode class defines anything related to the *3D Graphics Area* -- For example: - Anything related t...
NanoCAD-master
cad/src/commands/SelectAtoms/SelectAtoms_GraphicsMode.py
# Copyright 2004-2009 Nanorex, Inc. See LICENSE file for details. """ BuildAtoms_GraphicsMode.py The GraphicsMode part of the BuildAtoms_Command. It provides the graphicsMode object for its Command class. The GraphicsMode class defines anything related to the *3D Graphics Area* -- For example: - Anything related to ...
NanoCAD-master
cad/src/commands/BuildAtoms/BuildAtoms_GraphicsMode.py
# Copyright 2008 Nanorex, Inc. See LICENSE file for details. """ @author: Ninad @copyright: 2008 Nanorex, Inc. See LICENSE file for details. @version: $Id$ History: 2008-07-30: Created to refactor Build Atoms command (currently called BuildAtoms_Command). TODO: - Classes created to refactor BuildAtoms_Command to ...
NanoCAD-master
cad/src/commands/BuildAtoms/AtomsTool_Command.py
# Copyright 2004-2007 Nanorex, Inc. See LICENSE file for details. """ Ui_BuildAtomsPropertyManager.py The Ui_BuildAtomsPropertyManager class defines UI elements for the Property Manager of the B{Build Atoms mode}. @author: Ninad @copyright: 2004-2007 Nanorex, Inc. See LICENSE file for details. @version:$Id$ Histor...
NanoCAD-master
cad/src/commands/BuildAtoms/Ui_BuildAtomsPropertyManager.py
from commands.BuildAtoms.BuildAtoms_GraphicsMode import BuildAtoms_GraphicsMode ##from commands.SelectAtoms.SelectAtoms_GraphicsMode import SelectAtoms_GraphicsMode from model.bond_constants import V_SINGLE from utilities.prefs_constants import buildModeHighlightingEnabled_prefs_key import foundation.env as env _super...
NanoCAD-master
cad/src/commands/BuildAtoms/BondTool_GraphicsMode.py
# Copyright 2007 Nanorex, Inc. See LICENSE file for details. """ BuildAtomsPropertyManager.py The BuildAtomsPropertyManager class provides the Property Manager for the B{Build Atoms mode}. The UI is defined in L{Ui_BuildAtomsPropertyManager} @author: Bruce, Huaicai, Mark, Ninad @version: $Id$ @copyright: 2007 Nanor...
NanoCAD-master
cad/src/commands/BuildAtoms/BuildAtomsPropertyManager.py
NanoCAD-master
cad/src/commands/BuildAtoms/__init__.py
# Copyright 2008 Nanorex, Inc. See LICENSE file for details. """ @author: Ninad @copyright: 2008 Nanorex, Inc. See LICENSE file for details. @version: $Id$ History: 2008-07-30: Created to refactor Build Atoms command (currently called BuildAtoms_Command). TODO: - Classes created to refactor BuildAtoms_Command (ra...
NanoCAD-master
cad/src/commands/BuildAtoms/BondTool_Command.py
# Copyright 2004-2009 Nanorex, Inc. See LICENSE file for details. """ build_utils.py -- some utilities for Build mode. @author: Josh @version: $Id$ @copyright: 2004-2009 Nanorex, Inc. See LICENSE file for details. History: Original code written by Josh in depositMode.py. Bruce moved it into this separate file, 05...
NanoCAD-master
cad/src/commands/BuildAtoms/build_utils.py
# Copyright 2004-2009 Nanorex, Inc. See LICENSE file for details. """ BuildAtoms_Command.py @version: $Id$ @copyright: 2004-2009 Nanorex, Inc. See LICENSE file for details. The 'Command' part of the BuildAtoms Mode (BuildAtoms_Command and BuildAtoms_basicGraphicsMode are the two split classes of the old depositMode...
NanoCAD-master
cad/src/commands/BuildAtoms/BuildAtoms_Command.py
# Copyright 2004-2009 Nanorex, Inc. See LICENSE file for details. """ elementSelector.py $Id$ """ from PyQt4.Qt import QDialog from PyQt4.Qt import SIGNAL from PyQt4.Qt import QVBoxLayout from commands.ElementSelector.ElementSelectorDialog import Ui_ElementSelectorDialog from graphics.widgets.ThumbView import Eleme...
NanoCAD-master
cad/src/commands/ElementSelector/elementSelector.py
NanoCAD-master
cad/src/commands/ElementSelector/__init__.py
# -*- coding: utf-8 -*- # Copyright 2004-2007 Nanorex, Inc. See LICENSE file for details. # Form implementation generated from reading ui file 'ElementSelectorDialog.ui' # # Created: Wed Sep 20 10:12:41 2006 # by: PyQt4 UI code generator 4.0.1 # # WARNING! All changes made in this file will be lost! from PyQt4 ...
NanoCAD-master
cad/src/commands/ElementSelector/ElementSelectorDialog.py
# -*- coding: utf-8 -*- # Copyright 2005-2007 Nanorex, Inc. See LICENSE file for details. # Form implementation generated from reading ui file 'ThermoPropDialog.ui' # # Created: Wed Sep 20 08:56:21 2006 # by: PyQt4 UI code generator 4.0.1 # # WARNING! All changes made in this file will be lost! from PyQt4 impor...
NanoCAD-master
cad/src/commands/ThermometerProperties/ThermoPropDialog.py
NanoCAD-master
cad/src/commands/ThermometerProperties/__init__.py
# Copyright 2004-2007 Nanorex, Inc. See LICENSE file for details. """ ThermoProp.py - edit properties of Thermometer jig $Id$ """ from PyQt4 import QtGui from PyQt4.Qt import QDialog from PyQt4.Qt import SIGNAL from PyQt4.Qt import QColorDialog from commands.ThermometerProperties.ThermoPropDialog import Ui_ThermoPro...
NanoCAD-master
cad/src/commands/ThermometerProperties/ThermoProp.py
# -*- coding: utf-8 -*- # Copyright 2005-2007 Nanorex, Inc. See LICENSE file for details. # Form implementation generated from reading ui file 'PlotToolDialog.ui' # # Created: Wed Sep 20 07:07:09 2006 # by: PyQt4 UI code generator 4.0.1 # # WARNING! All changes made in this file will be lost! from PyQt4 import ...
NanoCAD-master
cad/src/commands/Plot/PlotToolDialog.py
NanoCAD-master
cad/src/commands/Plot/__init__.py
# Copyright 2005-2007 Nanorex, Inc. See LICENSE file for details. """ PlotTool.py @author: Mark @version: $Id$ @copyright: 2005-2007 Nanorex, Inc. See LICENSE file for details. bruce 060105 revised trace file header parsing to fix bug 1266 and make it more likely to keep working with future revisions to trace file ...
NanoCAD-master
cad/src/commands/Plot/PlotTool.py