2012-03-02 02:55:32 +00:00
# -*- coding: utf-8 -*-
2012-09-09 23:07:36 +00:00
# Form implementation generated from reading ui file './canvas/CanvasTemplate.ui'
2012-03-02 02:55:32 +00:00
#
2012-09-09 23:07:36 +00:00
# Created: Sun Sep 9 14:41:30 2012
# by: pyside-uic 0.2.13 running on PySide 1.1.0
2012-03-02 02:55:32 +00:00
#
# WARNING! All changes made in this file will be lost!
2012-09-09 23:07:36 +00:00
from PySide import QtCore , QtGui
2012-03-02 02:55:32 +00:00
class Ui_Form ( object ) :
def setupUi ( self , Form ) :
2012-09-09 23:07:36 +00:00
Form . setObjectName ( " Form " )
2012-04-21 19:54:17 +00:00
Form . resize ( 490 , 414 )
2012-03-02 02:55:32 +00:00
self . gridLayout = QtGui . QGridLayout ( Form )
2012-09-09 23:07:36 +00:00
self . gridLayout . setContentsMargins ( 0 , 0 , 0 , 0 )
2012-03-02 02:55:32 +00:00
self . gridLayout . setSpacing ( 0 )
2012-09-09 23:07:36 +00:00
self . gridLayout . setObjectName ( " gridLayout " )
2012-03-02 02:55:32 +00:00
self . splitter = QtGui . QSplitter ( Form )
self . splitter . setOrientation ( QtCore . Qt . Horizontal )
2012-09-09 23:07:36 +00:00
self . splitter . setObjectName ( " splitter " )
2012-03-02 02:55:32 +00:00
self . view = GraphicsView ( self . splitter )
2012-09-09 23:07:36 +00:00
self . view . setObjectName ( " view " )
2012-03-02 02:55:32 +00:00
self . layoutWidget = QtGui . QWidget ( self . splitter )
2012-09-09 23:07:36 +00:00
self . layoutWidget . setObjectName ( " layoutWidget " )
2012-03-02 02:55:32 +00:00
self . gridLayout_2 = QtGui . QGridLayout ( self . layoutWidget )
2012-09-09 23:07:36 +00:00
self . gridLayout_2 . setContentsMargins ( 0 , 0 , 0 , 0 )
self . gridLayout_2 . setObjectName ( " gridLayout_2 " )
2012-04-21 19:54:17 +00:00
self . storeSvgBtn = QtGui . QPushButton ( self . layoutWidget )
2012-09-09 23:07:36 +00:00
self . storeSvgBtn . setObjectName ( " storeSvgBtn " )
2012-04-21 19:54:17 +00:00
self . gridLayout_2 . addWidget ( self . storeSvgBtn , 1 , 0 , 1 , 1 )
self . storePngBtn = QtGui . QPushButton ( self . layoutWidget )
2012-09-09 23:07:36 +00:00
self . storePngBtn . setObjectName ( " storePngBtn " )
2012-04-21 19:54:17 +00:00
self . gridLayout_2 . addWidget ( self . storePngBtn , 1 , 1 , 1 , 1 )
2012-03-02 02:55:32 +00:00
self . autoRangeBtn = QtGui . QPushButton ( self . layoutWidget )
sizePolicy = QtGui . QSizePolicy ( QtGui . QSizePolicy . Minimum , QtGui . QSizePolicy . Fixed )
sizePolicy . setHorizontalStretch ( 0 )
sizePolicy . setVerticalStretch ( 1 )
sizePolicy . setHeightForWidth ( self . autoRangeBtn . sizePolicy ( ) . hasHeightForWidth ( ) )
self . autoRangeBtn . setSizePolicy ( sizePolicy )
2012-09-09 23:07:36 +00:00
self . autoRangeBtn . setObjectName ( " autoRangeBtn " )
2012-03-02 02:55:32 +00:00
self . gridLayout_2 . addWidget ( self . autoRangeBtn , 3 , 0 , 1 , 2 )
2012-04-21 19:54:17 +00:00
self . horizontalLayout = QtGui . QHBoxLayout ( )
self . horizontalLayout . setSpacing ( 0 )
2012-09-09 23:07:36 +00:00
self . horizontalLayout . setObjectName ( " horizontalLayout " )
2012-04-21 19:54:17 +00:00
self . redirectCheck = QtGui . QCheckBox ( self . layoutWidget )
2012-09-09 23:07:36 +00:00
self . redirectCheck . setObjectName ( " redirectCheck " )
2012-04-21 19:54:17 +00:00
self . horizontalLayout . addWidget ( self . redirectCheck )
self . redirectCombo = CanvasCombo ( self . layoutWidget )
2012-09-09 23:07:36 +00:00
self . redirectCombo . setObjectName ( " redirectCombo " )
2012-04-21 19:54:17 +00:00
self . horizontalLayout . addWidget ( self . redirectCombo )
self . gridLayout_2 . addLayout ( self . horizontalLayout , 6 , 0 , 1 , 2 )
2012-03-02 02:55:32 +00:00
self . itemList = TreeWidget ( self . layoutWidget )
sizePolicy = QtGui . QSizePolicy ( QtGui . QSizePolicy . Expanding , QtGui . QSizePolicy . Expanding )
sizePolicy . setHorizontalStretch ( 0 )
sizePolicy . setVerticalStretch ( 100 )
sizePolicy . setHeightForWidth ( self . itemList . sizePolicy ( ) . hasHeightForWidth ( ) )
self . itemList . setSizePolicy ( sizePolicy )
self . itemList . setHeaderHidden ( True )
2012-09-09 23:07:36 +00:00
self . itemList . setObjectName ( " itemList " )
self . itemList . headerItem ( ) . setText ( 0 , " 1 " )
2012-03-02 02:55:32 +00:00
self . gridLayout_2 . addWidget ( self . itemList , 7 , 0 , 1 , 2 )
self . ctrlLayout = QtGui . QGridLayout ( )
self . ctrlLayout . setSpacing ( 0 )
2012-09-09 23:07:36 +00:00
self . ctrlLayout . setObjectName ( " ctrlLayout " )
2012-04-21 19:54:17 +00:00
self . gridLayout_2 . addLayout ( self . ctrlLayout , 11 , 0 , 1 , 2 )
2012-03-02 02:55:32 +00:00
self . resetTransformsBtn = QtGui . QPushButton ( self . layoutWidget )
2012-09-09 23:07:36 +00:00
self . resetTransformsBtn . setObjectName ( " resetTransformsBtn " )
2012-04-21 19:54:17 +00:00
self . gridLayout_2 . addWidget ( self . resetTransformsBtn , 8 , 0 , 1 , 1 )
self . mirrorSelectionBtn = QtGui . QPushButton ( self . layoutWidget )
2012-09-09 23:07:36 +00:00
self . mirrorSelectionBtn . setObjectName ( " mirrorSelectionBtn " )
2012-04-21 19:54:17 +00:00
self . gridLayout_2 . addWidget ( self . mirrorSelectionBtn , 4 , 0 , 1 , 1 )
self . reflectSelectionBtn = QtGui . QPushButton ( self . layoutWidget )
2012-09-09 23:07:36 +00:00
self . reflectSelectionBtn . setObjectName ( " reflectSelectionBtn " )
2012-04-21 19:54:17 +00:00
self . gridLayout_2 . addWidget ( self . reflectSelectionBtn , 4 , 1 , 1 , 1 )
2012-03-02 02:55:32 +00:00
self . gridLayout . addWidget ( self . splitter , 0 , 0 , 1 , 1 )
self . retranslateUi ( Form )
QtCore . QMetaObject . connectSlotsByName ( Form )
def retranslateUi ( self , Form ) :
Form . setWindowTitle ( QtGui . QApplication . translate ( " Form " , " Form " , None , QtGui . QApplication . UnicodeUTF8 ) )
self . storeSvgBtn . setText ( QtGui . QApplication . translate ( " Form " , " Store SVG " , None , QtGui . QApplication . UnicodeUTF8 ) )
self . storePngBtn . setText ( QtGui . QApplication . translate ( " Form " , " Store PNG " , None , QtGui . QApplication . UnicodeUTF8 ) )
2012-04-21 19:54:17 +00:00
self . autoRangeBtn . setText ( QtGui . QApplication . translate ( " Form " , " Auto Range " , None , QtGui . QApplication . UnicodeUTF8 ) )
2012-03-02 02:55:32 +00:00
self . redirectCheck . setToolTip ( QtGui . QApplication . translate ( " Form " , " Check to display all local items in a remote canvas. " , None , QtGui . QApplication . UnicodeUTF8 ) )
self . redirectCheck . setText ( QtGui . QApplication . translate ( " Form " , " Redirect " , None , QtGui . QApplication . UnicodeUTF8 ) )
self . resetTransformsBtn . setText ( QtGui . QApplication . translate ( " Form " , " Reset Transforms " , None , QtGui . QApplication . UnicodeUTF8 ) )
2012-04-21 19:54:17 +00:00
self . mirrorSelectionBtn . setText ( QtGui . QApplication . translate ( " Form " , " Mirror Selection " , None , QtGui . QApplication . UnicodeUTF8 ) )
self . reflectSelectionBtn . setText ( QtGui . QApplication . translate ( " Form " , " MirrorXY " , None , QtGui . QApplication . UnicodeUTF8 ) )
2012-03-02 02:55:32 +00:00
from pyqtgraph . widgets . GraphicsView import GraphicsView
2012-09-09 23:07:36 +00:00
from CanvasManager import CanvasCombo
2012-03-02 02:55:32 +00:00
from pyqtgraph . widgets . TreeWidget import TreeWidget