Package qubx :: Module faces
[hide private]
[frames] | no frames]

Module faces

source code

Container widgets. Each has a name and knows if it's showing on screen. ToolsFace contains other Faces. Uses super (http://www.phyast.pitt.edu/~micheles/python/super.pdf).

Copyright 2008-2013 Research Foundation State University of New York This file is part of QUB Express.

QUB Express is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

QUB Express is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License, named LICENSE.txt, in the QUB Express program directory. If not, see <http://www.gnu.org/licenses/>.

Classes [hide private]
  Face
Base container class.
  PopInfo
Represents the embedded or windowed state of a Face inside ToolsFace or ToolsToggleFace.
  PopPrefs
Manages global, persistent state for all containers' pop-out states.
  SubLayer_PopIcon
Toggle graphic for pop-out/-in of sub-Face; shown in tabs of ToolsFace, ToolsToggleFace.
  ToolsFace
Shows one of a collection of Faces, chosen by tab.
  ToolsToggleFace
Shows one or more of a collection of Faces, toggled visible by left-hand tabs.
  TextFace
Shows a scrolling text area(s).
  FilesFace
Base class for a widget that manages multiple open files; e.g Data, Model.
Functions [hide private]
 
COLOR_TOOLTAB(showing) source code
 
make_nested_layout(faces, splits, notify_position, i=0) source code
 
read_nested_proportions(fractions, splits, i=0, k=1.0) source code
 
set_nested_proportions(fractions, splits, i=0, k=1.0) source code
Variables [hide private]
  COLOR_POPPED_TEXT = ('faces.popped.empty.text', (0.1, 0, 0, 1))
  COLOR_POPPED_BTN = ('faces.popped.btn', (0.7, 0, 0.1, 1))
  FILEMENU_WIDTH = 32
  RECENT_FILES_COUNT = 20
  POS_DROPDOWN = 'dropdown'
  REQUEST_SHOW_AS_WINDOW = False
  RESPONSE_NO_TO_ALL = 12345
  TOOLTOGGLE_WIDTH_EM = 2.0
  TOOLTOGGLE_MENUHEIGHT_EM = 3.0
  TOOLTOGGLE_TABHEIGHT_EM = 10.0
  TOOLTOGGLE_NAME_EM = 16.0
  TOOLTOGGLE_TAB_BORDER = 1.5
  COLOR_TOOLTAB_BG = ('faces.tooltab.bg', (0, 0, 0, 1))
  COLOR_TOOLTAB_CLOSE = ('faces.tooltoggle.close', (0.9, 0, 0, 1))
  COLOR_TOOLTAB_CLOSE_HOVER = ('faces.tooltoggle.close.hover', (...
  COLOR_TOOLTOGGLE_MENU = ('faces.tooltoggle.menu', (0.2, 1, 0.2...
  COLOR_TOOLTOGGLE_INFO = ('faces.tooltoggle.info', (1, 1, 1, 0....
  COLOR_MENU_TEXT = ('faces.menu.text', (0, 1, 0, 0.75))
  COLOR_MENU_FILE = ('faces.menu.file', (0, 1, 0, 1))
  FACE_POP_INSIDE = 0
  FACE_POP_MAXIMIZED = 3
  FACE_POP_MINIMIZED = 2
  FACE_POP_WINDOW = 1
  __package__ = 'qubx'
  e = 2.71828182846
  pi = 3.14159265359
  rdbk = 'Expired.'
  rdbreak = 'supporting'
  rdname = 'qubfast.txt'
Variables Details [hide private]

COLOR_TOOLTAB_CLOSE_HOVER

Value:
('faces.tooltoggle.close.hover', (1, 0.2, 0.2, 1))

COLOR_TOOLTOGGLE_MENU

Value:
('faces.tooltoggle.menu', (0.2, 1, 0.2, 1))

COLOR_TOOLTOGGLE_INFO

Value:
('faces.tooltoggle.info', (1, 1, 1, 0.76))