Esempio n. 1
0
    def __init__(self, titleItem, parent, item, surveyList):
        QtGui.QWidget.__init__(self, None)

        self.ui = Ui_SurveyItemWidget()
        self.ui.setupUi(self)

        self.root = parent
        self.item = item
        self.titleItem = titleItem
        self.surveyList = surveyList
        self.ui.label.setText(titleItem)
Esempio n. 2
0
class SurveyItemWidget(QtGui.QWidget):
    def __init__(self, titleItem, parent, item, surveyList):
        QtGui.QWidget.__init__(self, None)

        self.ui = Ui_SurveyItemWidget()
        self.ui.setupUi(self)

        self.root = parent
        self.item = item
        self.titleItem = titleItem
        self.surveyList = surveyList
        self.ui.label.setText(titleItem)

    def showDescription(self):
        self.surveyList.setCurrentItem(self.item)
        self.root.showDescription(self.item.url)
Esempio n. 3
0
class SurveyItemWidget(QtGui.QWidget):

    def __init__(self, titleItem, parent, item, surveyList):
        QtGui.QWidget.__init__(self, None)

        self.ui = Ui_SurveyItemWidget()
        self.ui.setupUi(self)
        
        self.root = parent
        self.item = item
        self.titleItem = titleItem
        self.surveyList = surveyList
        self.ui.label.setText(titleItem)
        
    def showDescription(self):
	self.surveyList.setCurrentItem(self.item)
	self.root.showDescription(self.item.url)
    
        
Esempio n. 4
0
    def __init__(self, titleItem, parent, item, surveyList):
        QtGui.QWidget.__init__(self, None)

        self.ui = Ui_SurveyItemWidget()
        self.ui.setupUi(self)
        
        self.root = parent
        self.item = item
        self.titleItem = titleItem
        self.surveyList = surveyList
        self.ui.label.setText(titleItem)