Classes | Functions | Variables
smach_viewer.xdot.xdot_qt Namespace Reference

Classes

class  Animation
 
class  BezierShape
 
class  CompoundShape
 
class  DotLexer
 
class  DotParser
 
class  DotScanner
 
class  DotWidget
 
class  DotWindow
 
class  DragAction
 
class  Edge
 
class  Element
 
class  EllipseShape
 
class  Graph
 
class  Jump
 
class  Lexer
 
class  LinearAnimation
 
class  LineShape
 
class  MoveToAnimation
 
class  NoAnimation
 
class  Node
 
class  NullAction
 
class  PanAction
 
class  ParseError
 
class  Parser
 
class  Pen
 
class  PolygonShape
 
class  Scanner
 
class  Shape
 
class  TextShape
 
class  Token
 
class  Url
 
class  XDotAttrParser
 
class  XDotParser
 
class  ZoomAction
 
class  ZoomAreaAction
 
class  ZoomToAnimation
 

Functions

def __init__ (self, parent=None)
 
def animate_to (self, x, y)
 
def closeEvent (self, event)
 
def get_current_pos (self)
 
def get_drag_action (self, event)
 
def get_jump (self, x, y)
 
def get_url (self, x, y)
 
def is_click (self, event, click_fuzz=4, click_timeout=1.0)
 
def keyPressEvent (self, event)
 
def main ()
 
def mouseMoveEvent (self, event)
 
def mousePressEvent (self, event)
 
def mouseReleaseEvent (self, event)
 
def on_area_scroll_event (self, area, event)
 
def on_area_size_allocate (self, area, allocation)
 
def on_zoom_100 (self)
 
def on_zoom_fit (self)
 
def on_zoom_in (self)
 
def on_zoom_out (self)
 
def paintEvent (self, event=None)
 
def register_select_callback (self, cb)
 User callbacks. More...
 
def reload (self)
 
def set_current_pos (self, x, y)
 
def set_dotcode (self, dotcode, filename='< stdin >', center=True)
 
def set_filter (self, filter)
 
def set_highlight (self, items)
 
def set_xdotcode (self, xdotcode, center=True)
 
def square_distance (x1, y1, x2, y2)
 
def stop (self)
 
def wheelEvent (self, event)
 
def window_to_graph (self, x, y)
 
def zoom_image (self, zoom_ratio, center=False, pos=None)
 
def zoom_to_area (self, x1, y1, x2, y2)
 
def zoom_to_fit (self)
 

Variables

string __author__ = "Jose Fonseca"
 
string __version__ = "0.4"
 
 animation
 
dictionary brewer_colors
 
int COLON = 9
 
int COMMA = 8
 
 ctx
 
 dc
 
int DIGRAPH = 15
 
 drag_action
 
int EDGE = 17
 
int EDGE_OP = 3
 
int EOF = -1
 
int EQUAL = 11
 
string filter = 'dot'
 
int GRAPH = 14
 
 graph
 
 highlight
 
int HTML_ID = 2
 
int ID = 0
 
 items_by_url
 
int LCURLY = 6
 
int LSQUARE = 4
 
int NODE = 16
 
 openfilename
 
int PLUS = 12
 
int POS_INCREMENT = 100
 
 presstime
 
 pressx
 
 pressy
 
int RCURLY = 7
 
int RSQUARE = 5
 
 select_cbs
 
int SEMI = 10
 
int SKIP = -2
 
int STR_ID = 1
 
int STRICT = 13
 
int SUBGRAPH = 18
 
 subgraph_shapes
 
 x
 
 y
 
float ZOOM_INCREMENT = 1.25
 
 zoom_ratio
 
int ZOOM_TO_FIT_MARGIN = 12
 
 zoom_to_fit_on_resize
 

Function Documentation

def smach_viewer.xdot.xdot_qt.__init__ (   self,
  parent = None 
)

Definition at line 1348 of file xdot_qt.py.

def smach_viewer.xdot.xdot_qt.animate_to (   self,
  x,
  y 
)

Definition at line 1688 of file xdot_qt.py.

def smach_viewer.xdot.xdot_qt.closeEvent (   self,
  event 
)

Definition at line 1870 of file xdot_qt.py.

def smach_viewer.xdot.xdot_qt.get_current_pos (   self)

Definition at line 1486 of file xdot_qt.py.

def smach_viewer.xdot.xdot_qt.get_drag_action (   self,
  event 
)

Definition at line 1598 of file xdot_qt.py.

def smach_viewer.xdot.xdot_qt.get_jump (   self,
  x,
  y 
)

Definition at line 1707 of file xdot_qt.py.

def smach_viewer.xdot.xdot_qt.get_url (   self,
  x,
  y 
)

Definition at line 1703 of file xdot_qt.py.

def smach_viewer.xdot.xdot_qt.is_click (   self,
  event,
  click_fuzz = 4,
  click_timeout = 1.0 
)

Definition at line 1625 of file xdot_qt.py.

def smach_viewer.xdot.xdot_qt.keyPressEvent (   self,
  event 
)

Definition at line 1568 of file xdot_qt.py.

def smach_viewer.xdot.xdot_qt.main ( )

Definition at line 1888 of file xdot_qt.py.

def smach_viewer.xdot.xdot_qt.mouseMoveEvent (   self,
  event 
)

Definition at line 1678 of file xdot_qt.py.

def smach_viewer.xdot.xdot_qt.mousePressEvent (   self,
  event 
)

Definition at line 1609 of file xdot_qt.py.

def smach_viewer.xdot.xdot_qt.mouseReleaseEvent (   self,
  event 
)

Definition at line 1636 of file xdot_qt.py.

def smach_viewer.xdot.xdot_qt.on_area_scroll_event (   self,
  area,
  event 
)

Definition at line 1667 of file xdot_qt.py.

def smach_viewer.xdot.xdot_qt.on_area_size_allocate (   self,
  area,
  allocation 
)

Definition at line 1684 of file xdot_qt.py.

def smach_viewer.xdot.xdot_qt.on_zoom_100 (   self)

Definition at line 1564 of file xdot_qt.py.

def smach_viewer.xdot.xdot_qt.on_zoom_fit (   self)

Definition at line 1560 of file xdot_qt.py.

def smach_viewer.xdot.xdot_qt.on_zoom_in (   self)

Definition at line 1552 of file xdot_qt.py.

def smach_viewer.xdot.xdot_qt.on_zoom_out (   self)

Definition at line 1556 of file xdot_qt.py.

def smach_viewer.xdot.xdot_qt.paintEvent (   self,
  event = None 
)

Definition at line 1450 of file xdot_qt.py.

def smach_viewer.xdot.xdot_qt.register_select_callback (   self,
  cb 
)

User callbacks.

Definition at line 1384 of file xdot_qt.py.

def smach_viewer.xdot.xdot_qt.reload (   self)

Definition at line 1441 of file xdot_qt.py.

def smach_viewer.xdot.xdot_qt.set_current_pos (   self,
  x,
  y 
)

Definition at line 1490 of file xdot_qt.py.

def smach_viewer.xdot.xdot_qt.set_dotcode (   self,
  dotcode,
  filename = '<stdin>',
  center = True 
)

Definition at line 1390 of file xdot_qt.py.

def smach_viewer.xdot.xdot_qt.set_filter (   self,
  filter 
)

Definition at line 1387 of file xdot_qt.py.

def smach_viewer.xdot.xdot_qt.set_highlight (   self,
  items 
)

Definition at line 1495 of file xdot_qt.py.

def smach_viewer.xdot.xdot_qt.set_xdotcode (   self,
  xdotcode,
  center = True 
)

Definition at line 1435 of file xdot_qt.py.

def smach_viewer.xdot.xdot_qt.square_distance (   x1,
  y1,
  x2,
  y2 
)

Definition at line 322 of file xdot_qt.py.

def smach_viewer.xdot.xdot_qt.stop (   self)

Definition at line 1305 of file xdot_qt.py.

def smach_viewer.xdot.xdot_qt.wheelEvent (   self,
  event 
)

Definition at line 1670 of file xdot_qt.py.

def smach_viewer.xdot.xdot_qt.window_to_graph (   self,
  x,
  y 
)

Definition at line 1692 of file xdot_qt.py.

def smach_viewer.xdot.xdot_qt.zoom_image (   self,
  zoom_ratio,
  center = False,
  pos = None 
)

Definition at line 1500 of file xdot_qt.py.

def smach_viewer.xdot.xdot_qt.zoom_to_area (   self,
  x1,
  y1,
  x2,
  y2 
)

Definition at line 1518 of file xdot_qt.py.

def smach_viewer.xdot.xdot_qt.zoom_to_fit (   self)

Definition at line 1532 of file xdot_qt.py.

Variable Documentation

string smach_viewer.xdot.xdot_qt.__author__ = "Jose Fonseca"
private

Definition at line 22 of file xdot_qt.py.

string smach_viewer.xdot.xdot_qt.__version__ = "0.4"
private

Definition at line 24 of file xdot_qt.py.

smach_viewer.xdot.xdot_qt.animation

Definition at line 1366 of file xdot_qt.py.

dictionary smach_viewer.xdot.xdot_qt.brewer_colors

Definition at line 1964 of file xdot_qt.py.

int smach_viewer.xdot.xdot_qt.COLON = 9

Definition at line 797 of file xdot_qt.py.

int smach_viewer.xdot.xdot_qt.COMMA = 8

Definition at line 796 of file xdot_qt.py.

smach_viewer.xdot.xdot_qt.ctx

Definition at line 1374 of file xdot_qt.py.

smach_viewer.xdot.xdot_qt.dc

Definition at line 1373 of file xdot_qt.py.

int smach_viewer.xdot.xdot_qt.DIGRAPH = 15

Definition at line 804 of file xdot_qt.py.

smach_viewer.xdot.xdot_qt.drag_action

Definition at line 1367 of file xdot_qt.py.

int smach_viewer.xdot.xdot_qt.EDGE = 17

Definition at line 806 of file xdot_qt.py.

int smach_viewer.xdot.xdot_qt.EDGE_OP = 3

Definition at line 790 of file xdot_qt.py.

int smach_viewer.xdot.xdot_qt.EOF = -1

Definition at line 618 of file xdot_qt.py.

int smach_viewer.xdot.xdot_qt.EQUAL = 11

Definition at line 799 of file xdot_qt.py.

smach_viewer.xdot.xdot_qt.filter = 'dot'
Qt widget that draws dot graphs.

Definition at line 1346 of file xdot_qt.py.

int smach_viewer.xdot.xdot_qt.GRAPH = 14

Definition at line 803 of file xdot_qt.py.

smach_viewer.xdot.xdot_qt.graph

Definition at line 1350 of file xdot_qt.py.

smach_viewer.xdot.xdot_qt.highlight

Definition at line 1369 of file xdot_qt.py.

int smach_viewer.xdot.xdot_qt.HTML_ID = 2

Definition at line 789 of file xdot_qt.py.

int smach_viewer.xdot.xdot_qt.ID = 0

Definition at line 787 of file xdot_qt.py.

smach_viewer.xdot.xdot_qt.items_by_url

Definition at line 1375 of file xdot_qt.py.

int smach_viewer.xdot.xdot_qt.LCURLY = 6

Definition at line 794 of file xdot_qt.py.

int smach_viewer.xdot.xdot_qt.LSQUARE = 4

Definition at line 792 of file xdot_qt.py.

int smach_viewer.xdot.xdot_qt.NODE = 16

Definition at line 805 of file xdot_qt.py.

smach_viewer.xdot.xdot_qt.openfilename

Definition at line 1351 of file xdot_qt.py.

int smach_viewer.xdot.xdot_qt.PLUS = 12

Definition at line 800 of file xdot_qt.py.

int smach_viewer.xdot.xdot_qt.POS_INCREMENT = 100

Definition at line 1381 of file xdot_qt.py.

smach_viewer.xdot.xdot_qt.presstime

Definition at line 1368 of file xdot_qt.py.

smach_viewer.xdot.xdot_qt.pressx

Definition at line 1621 of file xdot_qt.py.

smach_viewer.xdot.xdot_qt.pressy

Definition at line 1622 of file xdot_qt.py.

int smach_viewer.xdot.xdot_qt.RCURLY = 7

Definition at line 795 of file xdot_qt.py.

int smach_viewer.xdot.xdot_qt.RSQUARE = 5

Definition at line 793 of file xdot_qt.py.

smach_viewer.xdot.xdot_qt.select_cbs

Definition at line 1372 of file xdot_qt.py.

int smach_viewer.xdot.xdot_qt.SEMI = 10

Definition at line 798 of file xdot_qt.py.

int smach_viewer.xdot.xdot_qt.SKIP = -2

Definition at line 619 of file xdot_qt.py.

int smach_viewer.xdot.xdot_qt.STR_ID = 1

Definition at line 788 of file xdot_qt.py.

int smach_viewer.xdot.xdot_qt.STRICT = 13

Definition at line 802 of file xdot_qt.py.

int smach_viewer.xdot.xdot_qt.SUBGRAPH = 18

Definition at line 807 of file xdot_qt.py.

smach_viewer.xdot.xdot_qt.subgraph_shapes

Definition at line 1421 of file xdot_qt.py.

smach_viewer.xdot.xdot_qt.x

Definition at line 1491 of file xdot_qt.py.

smach_viewer.xdot.xdot_qt.y

Definition at line 1363 of file xdot_qt.py.

float smach_viewer.xdot.xdot_qt.ZOOM_INCREMENT = 1.25

Definition at line 1379 of file xdot_qt.py.

smach_viewer.xdot.xdot_qt.zoom_ratio

Definition at line 1364 of file xdot_qt.py.

int smach_viewer.xdot.xdot_qt.ZOOM_TO_FIT_MARGIN = 12

Definition at line 1380 of file xdot_qt.py.

smach_viewer.xdot.xdot_qt.zoom_to_fit_on_resize

Definition at line 1365 of file xdot_qt.py.



smach_viewer
Author(s): Jonathan Bohren
autogenerated on Mon Jun 10 2019 13:13:42