diff options
author | jblum | 2008-09-18 16:56:25 +0000 |
---|---|---|
committer | jblum | 2008-09-18 16:56:25 +0000 |
commit | 7fa03f371fb3244a5d6a8cb3cd510fef5f97cdfe (patch) | |
tree | 9320e01832a3928a1ef6d0b06b63d1ad08d8e935 /grc/src/gui/Constants.py | |
parent | d601eb214a5c5e647134f7a43c5d0fa83c3488a4 (diff) | |
download | gnuradio-7fa03f371fb3244a5d6a8cb3cd510fef5f97cdfe.tar.gz gnuradio-7fa03f371fb3244a5d6a8cb3cd510fef5f97cdfe.tar.bz2 gnuradio-7fa03f371fb3244a5d6a8cb3cd510fef5f97cdfe.zip |
moved some constants
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9601 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'grc/src/gui/Constants.py')
-rw-r--r-- | grc/src/gui/Constants.py | 36 |
1 files changed, 2 insertions, 34 deletions
diff --git a/grc/src/gui/Constants.py b/grc/src/gui/Constants.py index 2f6af9a1f..804fff4c9 100644 --- a/grc/src/gui/Constants.py +++ b/grc/src/gui/Constants.py @@ -17,66 +17,34 @@ along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA """ -################################################## -## Global Titles -################################################## - -##The name to appear in the main window for a flow graph that has not been saved to file. +##The name for new/unsaved flow graphs NEW_FLOGRAPH_TITLE = 'untitled' -##The prefix title on the main window. -MAIN_WINDOW_PREFIX = "GRC" - -################################################## -## Signal block rotations -################################################## - -##direction of rotation left. +##Rotation constants DIR_LEFT = 'left' - -##direction of rotation right. DIR_RIGHT = 'right' -################################################## -## Dimension constraints for the various windows (in pixels) -################################################## - ##main window constraints MIN_WINDOW_WIDTH = 600 MIN_WINDOW_HEIGHT = 400 - ##dialog constraints MIN_DIALOG_WIDTH = 500 MIN_DIALOG_HEIGHT = 500 - ##static height of reports window REPORTS_WINDOW_HEIGHT = 100 - ##static width of block selection window BLOCK_SELECTION_WINDOW_WIDTH = 200 -################################################## -## Dragging, scrolling, and redrawing constants for the flow graph window in pixels -################################################## - ##How close can the mouse get to the window border before mouse events are ignored. BORDER_PROXIMITY_SENSITIVITY = 50 - ##How close the mouse can get to the edge of the visible window before scrolling is invoked. SCROLL_PROXIMITY_SENSITIVITY = 30 - ##When the window has to be scrolled, move it this distance in the required direction. SCROLL_DISTANCE = 15 - ##The redrawing sensitivity, how many seconds must pass between motion events before a redraw? MOTION_DETECT_REDRAWING_SENSITIVITY = .02 - ##How close the mouse click can be to a connection and register a connection select. CONNECTION_SELECT_SENSITIVITY = 5 -################################################## -# A state is recorded for each change to the flow graph, the size dictates how many states we can record -################################################## - ##The size of the state saving cache in the flow graph (for undo/redo functionality) STATE_CACHE_SIZE = 42 |