2013-06-14 06:44:34 +00:00
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'ConductivityGroupBox.ui'
#
2014-09-24 14:25:58 +00:00
# Created: Tue Sep 23 21:38:12 2014
# by: PyQt4 UI code generator 4.11.1
2013-06-14 06:44:34 +00:00
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore , QtGui
try :
_fromUtf8 = QtCore . QString . fromUtf8
except AttributeError :
2014-09-24 14:25:58 +00:00
def _fromUtf8 ( s ) :
2013-06-14 06:44:34 +00:00
return s
try :
_encoding = QtGui . QApplication . UnicodeUTF8
2014-09-24 14:25:58 +00:00
def _translate ( context , text , disambig ) :
2013-06-14 06:44:34 +00:00
return QtGui . QApplication . translate ( context , text , disambig , _encoding )
except AttributeError :
2014-09-24 14:25:58 +00:00
def _translate ( context , text , disambig ) :
2013-06-14 06:44:34 +00:00
return QtGui . QApplication . translate ( context , text , disambig )
class Ui_ConductivityGroupBox ( object ) :
2014-09-24 14:25:58 +00:00
def setupUi ( self , ConductivityGroupBox ) :
2013-06-14 06:44:34 +00:00
ConductivityGroupBox . setObjectName ( _fromUtf8 ( " ConductivityGroupBox " ) )
2014-04-03 18:56:50 +00:00
ConductivityGroupBox . resize ( 253 , 156 )
2014-03-19 18:48:15 +00:00
sizePolicy = QtGui . QSizePolicy ( QtGui . QSizePolicy . Preferred , QtGui . QSizePolicy . Preferred )
2013-06-14 06:44:34 +00:00
sizePolicy . setHorizontalStretch ( 0 )
sizePolicy . setVerticalStretch ( 0 )
sizePolicy . setHeightForWidth ( ConductivityGroupBox . sizePolicy ( ) . hasHeightForWidth ( ) )
ConductivityGroupBox . setSizePolicy ( sizePolicy )
2014-03-19 18:48:15 +00:00
ConductivityGroupBox . setMinimumSize ( QtCore . QSize ( 0 , 0 ) )
2013-06-14 06:44:34 +00:00
self . gridLayout_2 = QtGui . QGridLayout ( ConductivityGroupBox )
self . gridLayout_2 . setObjectName ( _fromUtf8 ( " gridLayout_2 " ) )
self . gridLayout = QtGui . QGridLayout ( )
self . gridLayout . setSizeConstraint ( QtGui . QLayout . SetFixedSize )
2014-02-25 13:55:29 +00:00
self . gridLayout . setSpacing ( 1 )
2013-06-14 06:44:34 +00:00
self . gridLayout . setContentsMargins ( 0 , 0 , - 1 , - 1 )
self . gridLayout . setObjectName ( _fromUtf8 ( " gridLayout " ) )
2014-04-11 07:29:32 +00:00
self . pwrSigma_sd = QtGui . QLabel ( ConductivityGroupBox )
self . pwrSigma_sd . setObjectName ( _fromUtf8 ( " pwrSigma_sd " ) )
self . gridLayout . addWidget ( self . pwrSigma_sd , 3 , 2 , 1 , 1 )
2014-03-19 23:35:07 +00:00
self . checkBox_2 = QtGui . QCheckBox ( ConductivityGroupBox )
sizePolicy = QtGui . QSizePolicy ( QtGui . QSizePolicy . Minimum , QtGui . QSizePolicy . Minimum )
sizePolicy . setHorizontalStretch ( 0 )
sizePolicy . setVerticalStretch ( 0 )
sizePolicy . setHeightForWidth ( self . checkBox_2 . sizePolicy ( ) . hasHeightForWidth ( ) )
self . checkBox_2 . setSizePolicy ( sizePolicy )
self . checkBox_2 . setText ( _fromUtf8 ( " " ) )
self . checkBox_2 . setObjectName ( _fromUtf8 ( " checkBox_2 " ) )
2014-04-03 18:56:50 +00:00
self . gridLayout . addWidget ( self . checkBox_2 , 2 , 3 , 1 , 1 , QtCore . Qt . AlignHCenter )
self . checkBox_3 = QtGui . QCheckBox ( ConductivityGroupBox )
sizePolicy = QtGui . QSizePolicy ( QtGui . QSizePolicy . Minimum , QtGui . QSizePolicy . Minimum )
sizePolicy . setHorizontalStretch ( 0 )
sizePolicy . setVerticalStretch ( 0 )
sizePolicy . setHeightForWidth ( self . checkBox_3 . sizePolicy ( ) . hasHeightForWidth ( ) )
self . checkBox_3 . setSizePolicy ( sizePolicy )
self . checkBox_3 . setText ( _fromUtf8 ( " " ) )
self . checkBox_3 . setChecked ( True )
self . checkBox_3 . setObjectName ( _fromUtf8 ( " checkBox_3 " ) )
2014-09-24 14:25:58 +00:00
self . gridLayout . addWidget ( self . checkBox_3 , 3 , 3 , 1 , 1 , QtCore . Qt . AlignHCenter | QtCore . Qt . AlignVCenter )
2014-04-03 18:56:50 +00:00
self . label_2 = QtGui . QLabel ( ConductivityGroupBox )
sizePolicy = QtGui . QSizePolicy ( QtGui . QSizePolicy . Minimum , QtGui . QSizePolicy . Preferred )
sizePolicy . setHorizontalStretch ( 0 )
sizePolicy . setVerticalStretch ( 0 )
sizePolicy . setHeightForWidth ( self . label_2 . sizePolicy ( ) . hasHeightForWidth ( ) )
self . label_2 . setSizePolicy ( sizePolicy )
self . label_2 . setAlignment ( QtCore . Qt . AlignCenter )
self . label_2 . setObjectName ( _fromUtf8 ( " label_2 " ) )
self . gridLayout . addWidget ( self . label_2 , 2 , 0 , 1 , 1 )
2014-03-19 18:48:15 +00:00
self . label = QtGui . QLabel ( ConductivityGroupBox )
sizePolicy = QtGui . QSizePolicy ( QtGui . QSizePolicy . Minimum , QtGui . QSizePolicy . Minimum )
2013-06-14 06:44:34 +00:00
sizePolicy . setHorizontalStretch ( 0 )
sizePolicy . setVerticalStretch ( 0 )
2014-03-19 18:48:15 +00:00
sizePolicy . setHeightForWidth ( self . label . sizePolicy ( ) . hasHeightForWidth ( ) )
self . label . setSizePolicy ( sizePolicy )
self . label . setAlignment ( QtCore . Qt . AlignCenter )
self . label . setObjectName ( _fromUtf8 ( " label " ) )
self . gridLayout . addWidget ( self . label , 0 , 3 , 1 , 1 )
self . removeButton = QtGui . QPushButton ( ConductivityGroupBox )
self . removeButton . setObjectName ( _fromUtf8 ( " removeButton " ) )
self . gridLayout . addWidget ( self . removeButton , 0 , 1 , 1 , 1 )
2014-04-03 18:56:50 +00:00
self . label_4 = QtGui . QLabel ( ConductivityGroupBox )
2013-06-14 06:44:34 +00:00
sizePolicy = QtGui . QSizePolicy ( QtGui . QSizePolicy . Minimum , QtGui . QSizePolicy . Preferred )
sizePolicy . setHorizontalStretch ( 0 )
sizePolicy . setVerticalStretch ( 0 )
2014-04-03 18:56:50 +00:00
sizePolicy . setHeightForWidth ( self . label_4 . sizePolicy ( ) . hasHeightForWidth ( ) )
self . label_4 . setSizePolicy ( sizePolicy )
self . label_4 . setAlignment ( QtCore . Qt . AlignCenter )
self . label_4 . setObjectName ( _fromUtf8 ( " label_4 " ) )
self . gridLayout . addWidget ( self . label_4 , 3 , 0 , 1 , 1 )
2014-04-11 07:29:32 +00:00
self . rSigma_sd = QtGui . QLabel ( ConductivityGroupBox )
self . rSigma_sd . setObjectName ( _fromUtf8 ( " rSigma_sd " ) )
self . gridLayout . addWidget ( self . rSigma_sd , 2 , 2 , 1 , 1 )
self . pwrSigma = QtGui . QDoubleSpinBox ( ConductivityGroupBox )
2014-03-19 18:48:15 +00:00
sizePolicy = QtGui . QSizePolicy ( QtGui . QSizePolicy . Minimum , QtGui . QSizePolicy . Preferred )
2013-06-14 06:44:34 +00:00
sizePolicy . setHorizontalStretch ( 0 )
sizePolicy . setVerticalStretch ( 0 )
2014-04-11 07:29:32 +00:00
sizePolicy . setHeightForWidth ( self . pwrSigma . sizePolicy ( ) . hasHeightForWidth ( ) )
self . pwrSigma . setSizePolicy ( sizePolicy )
self . pwrSigma . setSingleStep ( 0.05 )
self . pwrSigma . setProperty ( " value " , 1.0 )
self . pwrSigma . setObjectName ( _fromUtf8 ( " pwrSigma " ) )
self . gridLayout . addWidget ( self . pwrSigma , 3 , 1 , 1 , 1 )
self . rSigma = QtGui . QDoubleSpinBox ( ConductivityGroupBox )
2014-03-19 18:48:15 +00:00
sizePolicy = QtGui . QSizePolicy ( QtGui . QSizePolicy . Minimum , QtGui . QSizePolicy . Preferred )
2013-06-14 06:44:34 +00:00
sizePolicy . setHorizontalStretch ( 0 )
sizePolicy . setVerticalStretch ( 0 )
2014-04-11 07:29:32 +00:00
sizePolicy . setHeightForWidth ( self . rSigma . sizePolicy ( ) . hasHeightForWidth ( ) )
self . rSigma . setSizePolicy ( sizePolicy )
self . rSigma . setObjectName ( _fromUtf8 ( " rSigma " ) )
self . gridLayout . addWidget ( self . rSigma , 2 , 1 , 1 , 1 )
2014-04-03 18:56:50 +00:00
self . subtractConductivityButton = QtGui . QPushButton ( ConductivityGroupBox )
self . subtractConductivityButton . setObjectName ( _fromUtf8 ( " subtractConductivityButton " ) )
self . gridLayout . addWidget ( self . subtractConductivityButton , 0 , 2 , 1 , 1 )
self . label_3 = QtGui . QLabel ( ConductivityGroupBox )
self . label_3 . setObjectName ( _fromUtf8 ( " label_3 " ) )
self . gridLayout . addWidget ( self . label_3 , 1 , 0 , 1 , 1 , QtCore . Qt . AlignHCenter )
2014-04-11 07:29:32 +00:00
self . iSigma = QtGui . QDoubleSpinBox ( ConductivityGroupBox )
self . iSigma . setObjectName ( _fromUtf8 ( " iSigma " ) )
self . gridLayout . addWidget ( self . iSigma , 1 , 1 , 1 , 1 )
self . iSigma_sd = QtGui . QLabel ( ConductivityGroupBox )
self . iSigma_sd . setObjectName ( _fromUtf8 ( " iSigma_sd " ) )
self . gridLayout . addWidget ( self . iSigma_sd , 1 , 2 , 1 , 1 )
2014-04-03 18:56:50 +00:00
self . checkBox_1 = QtGui . QCheckBox ( ConductivityGroupBox )
self . checkBox_1 . setText ( _fromUtf8 ( " " ) )
self . checkBox_1 . setObjectName ( _fromUtf8 ( " checkBox_1 " ) )
self . gridLayout . addWidget ( self . checkBox_1 , 1 , 3 , 1 , 1 , QtCore . Qt . AlignHCenter )
2013-06-14 06:44:34 +00:00
self . gridLayout_2 . addLayout ( self . gridLayout , 0 , 0 , 1 , 1 )
self . retranslateUi ( ConductivityGroupBox )
QtCore . QObject . connect ( self . removeButton , QtCore . SIGNAL ( _fromUtf8 ( " clicked() " ) ) , ConductivityGroupBox . hide )
QtCore . QMetaObject . connectSlotsByName ( ConductivityGroupBox )
2014-09-24 14:25:58 +00:00
def retranslateUi ( self , ConductivityGroupBox ) :
2013-06-14 06:44:34 +00:00
ConductivityGroupBox . setWindowTitle ( _translate ( " ConductivityGroupBox " , " GroupBox " , None ) )
2014-03-19 18:48:15 +00:00
ConductivityGroupBox . setTitle ( _translate ( " ConductivityGroupBox " , " Conductivity " , None ) )
2014-04-11 07:29:32 +00:00
self . pwrSigma_sd . setText ( _translate ( " ConductivityGroupBox " , " TextLabel " , None ) )
2014-09-24 14:25:58 +00:00
self . label_2 . setText ( _translate ( " ConductivityGroupBox " , " <html><head/><body><p>σ \' <span style= \" vertical-align:sub; \" >(DC)</span></p></body></html> " , None ) )
2013-06-14 06:44:34 +00:00
self . label . setText ( _translate ( " ConductivityGroupBox " , " Fix " , None ) )
self . removeButton . setText ( _translate ( " ConductivityGroupBox " , " Remove " , None ) )
2014-04-03 18:56:50 +00:00
self . label_4 . setText ( _translate ( " ConductivityGroupBox " , " α " , None ) )
2014-04-11 07:29:32 +00:00
self . rSigma_sd . setText ( _translate ( " ConductivityGroupBox " , " TextLabel " , None ) )
2014-09-24 14:25:58 +00:00
self . rSigma . setToolTip ( _translate ( " ConductivityGroupBox " , " <html><head/><body><p>DC conductivity, should only be seen in the imaginary permitivity. If there is a Jonscher type of U<span style= \" font-style:italic; \" >niversal Dielectric Response, </span>the ratio of σ "/σ \' <span style= \" vertical-align:sub; \" >(DC)</span> is a constant</p></body></html> " , None ) )
2014-04-03 18:56:50 +00:00
self . subtractConductivityButton . setText ( _translate ( " ConductivityGroupBox " , " Hide " , None ) )
2014-09-24 14:25:58 +00:00
self . label_3 . setText ( _translate ( " ConductivityGroupBox " , " <html><head/><body><p>σ "</p></body></html> " , None ) )
self . iSigma . setToolTip ( _translate ( " ConductivityGroupBox " , " <html><head/><body><p>If there is a Jonscher type of U<span style= \" font-style:italic; \" >niversal Dielectric Response, </span>the ratio of σ "/σ \' <span style= \" vertical-align:sub; \" >(DC)</span> is a constant</p></body></html> " , None ) )
2014-04-11 07:29:32 +00:00
self . iSigma_sd . setText ( _translate ( " ConductivityGroupBox " , " TextLabel " , None ) )
2013-06-14 06:44:34 +00:00