Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(21)  |  Call(8)  |  Derive(4)  |  Import(9)

src/a/c/acq4-0.9.2/acq4/pyqtgraph/canvas/Canvas.py   acq4(Download)
import weakref
from .CanvasManager import CanvasManager
from .CanvasItem import CanvasItem, GroupCanvasItem
 
class Canvas(QtGui.QWidget):
 
        grid = GridItem()
        self.grid = CanvasItem(grid, name='Grid', movable=False)
        self.addItem(self.grid)
 
    def addGraphicsItem(self, item, **opts):
        """Add a new GraphicsItem to the scene at pos.
        Common options are name, pos, scale, and z
        """
        citem = CanvasItem(item, **opts)

src/b/i/binwalk-HEAD/src/binwalk/pyqtgraph/canvas/Canvas.py   binwalk(Download)
from .CanvasManager import CanvasManager
#import items
from .CanvasItem import CanvasItem, GroupCanvasItem
 
class Canvas(QtGui.QWidget):
 
        grid = GridItem()
        self.grid = CanvasItem(grid, name='Grid', movable=False)
        self.addItem(self.grid)
 
    def addGraphicsItem(self, item, **opts):
        """Add a new GraphicsItem to the scene at pos.
        Common options are name, pos, scale, and z
        """
        citem = CanvasItem(item, **opts)

src/p/y/pyqtgraph-0.9.8/pyqtgraph/canvas/Canvas.py   pyqtgraph(Download)
from .CanvasManager import CanvasManager
#import items
from .CanvasItem import CanvasItem, GroupCanvasItem
 
class Canvas(QtGui.QWidget):
 
        grid = GridItem()
        self.grid = CanvasItem(grid, name='Grid', movable=False)
        self.addItem(self.grid)
 
    def addGraphicsItem(self, item, **opts):
        """Add a new GraphicsItem to the scene at pos.
        Common options are name, pos, scale, and z
        """
        citem = CanvasItem(item, **opts)

src/p/y/pyqtgraph-HEAD/pyqtgraph/canvas/Canvas.py   pyqtgraph(Download)
import weakref
from .CanvasManager import CanvasManager
from .CanvasItem import CanvasItem, GroupCanvasItem
 
class Canvas(QtGui.QWidget):
 
        grid = GridItem()
        self.grid = CanvasItem(grid, name='Grid', movable=False)
        self.addItem(self.grid)
 
    def addGraphicsItem(self, item, **opts):
        """Add a new GraphicsItem to the scene at pos.
        Common options are name, pos, scale, and z
        """
        citem = CanvasItem(item, **opts)

src/a/c/acq4-0.9.2/acq4/util/Canvas/items/SvgCanvasItem.py   acq4(Download)
# -*- coding: utf-8 -*-
from acq4.pyqtgraph.Qt import QtCore, QtGui, QtSvg
from CanvasItem import CanvasItem
 
class SvgCanvasItem(CanvasItem):

src/a/c/acq4-0.9.2/acq4/util/Canvas/items/ScanCanvasItem.py   acq4(Download)
# -*- coding: utf-8 -*-
from PyQt4 import QtCore, QtGui
from CanvasItem import CanvasItem
from ImageCanvasItem import ImageCanvasItem
import ScanCanvasItemTemplate
class ScanCanvasItem(CanvasItem):
    def __init__(self, **opts):
        """
        Create a new CanvasItem representing a scan.
        Options:

src/a/c/acq4-0.9.2/acq4/util/Canvas/items/ImageCanvasItem.py   acq4(Download)
# -*- coding: utf-8 -*-
from acq4.pyqtgraph.Qt import QtCore, QtGui
from CanvasItem import CanvasItem
import numpy as np
import scipy.ndimage as ndimage
import acq4.pyqtgraph as pg
import acq4.util.DataManager as DataManager
import acq4.util.debug as debug
 
class ImageCanvasItem(CanvasItem):

src/a/c/acq4-0.9.2/acq4/util/Canvas/items/CellCanvasItem.py   acq4(Download)
# -*- coding: utf-8 -*-
from CanvasItem import CanvasItem
from PyQt4 import QtCore, QtGui
import acq4.pyqtgraph as pg
import acq4.Manager
 
class CellCanvasItem(CanvasItem):

src/a/c/acq4-0.9.2/acq4/util/Canvas/items/__init__.py   acq4(Download)
# -*- coding: utf-8 -*-
import os, inspect
from .CanvasItem import CanvasItem
#import acq4.pyqtgraph.canvas.items as items