home *** CD-ROM | disk | FTP | other *** search
- # Source Generated with Decompyle++
- # File: in.pyc (Python 2.4)
-
- import sys
- from qt import *
-
- class FaxAddrBookGroupsForm_base(QDialog):
-
- def __init__(self, parent = None, name = None, modal = 0, fl = 0):
- QDialog.__init__(self, parent, name, modal, fl)
- if not name:
- self.setName('FaxAddrBookGroupsForm_base')
-
- FaxAddrBookGroupsForm_baseLayout = QGridLayout(self, 1, 1, 11, 6, 'FaxAddrBookGroupsForm_baseLayout')
- self.groupListView = QListView(self, 'groupListView')
- self.groupListView.addColumn(self._FaxAddrBookGroupsForm_base__tr('Group Name'))
- self.groupListView.addColumn(self._FaxAddrBookGroupsForm_base__tr('Group Members'))
- self.groupListView.setAllColumnsShowFocus(1)
- FaxAddrBookGroupsForm_baseLayout.addMultiCellWidget(self.groupListView, 1, 1, 0, 4)
- self.newButton = QPushButton(self, 'newButton')
- FaxAddrBookGroupsForm_baseLayout.addWidget(self.newButton, 2, 0)
- self.deleteButton = QPushButton(self, 'deleteButton')
- FaxAddrBookGroupsForm_baseLayout.addWidget(self.deleteButton, 2, 2)
- self.editButton = QPushButton(self, 'editButton')
- FaxAddrBookGroupsForm_baseLayout.addWidget(self.editButton, 2, 1)
- spacer35 = QSpacerItem(120, 20, QSizePolicy.Expanding, QSizePolicy.Minimum)
- FaxAddrBookGroupsForm_baseLayout.addItem(spacer35, 2, 3)
- self.pushButton42 = QPushButton(self, 'pushButton42')
- FaxAddrBookGroupsForm_baseLayout.addWidget(self.pushButton42, 2, 4)
- self.textLabel10 = QLabel(self, 'textLabel10')
- FaxAddrBookGroupsForm_baseLayout.addMultiCellWidget(self.textLabel10, 0, 0, 0, 1)
- self.languageChange()
- self.resize(QSize(376, 359).expandedTo(self.minimumSizeHint()))
- self.clearWState(Qt.WState_Polished)
- self.connect(self.newButton, SIGNAL('clicked()'), self.newButton_clicked)
- self.connect(self.editButton, SIGNAL('clicked()'), self.editButton_clicked)
- self.connect(self.deleteButton, SIGNAL('clicked()'), self.deleteButton_clicked)
- self.connect(self.pushButton42, SIGNAL('clicked()'), self.close)
- self.connect(self.groupListView, SIGNAL('currentChanged(QListViewItem*)'), self.groupListView_currentChanged)
- self.connect(self.groupListView, SIGNAL('doubleClicked(QListViewItem*)'), self.groupListView_doubleClicked)
- self.connect(self.groupListView, SIGNAL('rightButtonClicked(QListViewItem*,const QPoint&,int)'), self.groupListView_rightButtonClicked)
-
-
- def languageChange(self):
- self.setCaption(self._FaxAddrBookGroupsForm_base__tr('HP Device Manager - Fax Address Book Groups'))
- self.groupListView.header().setLabel(0, self._FaxAddrBookGroupsForm_base__tr('Group Name'))
- self.groupListView.header().setLabel(1, self._FaxAddrBookGroupsForm_base__tr('Group Members'))
- self.newButton.setText(self._FaxAddrBookGroupsForm_base__tr('New...'))
- self.deleteButton.setText(self._FaxAddrBookGroupsForm_base__tr('Delete...'))
- self.editButton.setText(self._FaxAddrBookGroupsForm_base__tr('Edit...'))
- self.pushButton42.setText(self._FaxAddrBookGroupsForm_base__tr('OK'))
- self.textLabel10.setText(self._FaxAddrBookGroupsForm_base__tr('<b>Groups:</b>'))
-
-
- def newButton_clicked(self):
- print 'FaxAddrBookGroupsForm_base.newButton_clicked(): Not implemented yet'
-
-
- def editButton_clicked(self):
- print 'FaxAddrBookGroupsForm_base.editButton_clicked(): Not implemented yet'
-
-
- def deleteButton_clicked(self):
- print 'FaxAddrBookGroupsForm_base.deleteButton_clicked(): Not implemented yet'
-
-
- def groupListView_currentChanged(self, a0):
- print 'FaxAddrBookGroupsForm_base.groupListView_currentChanged(QListViewItem*): Not implemented yet'
-
-
- def groupListView_doubleClicked(self, a0):
- print 'FaxAddrBookGroupsForm_base.groupListView_doubleClicked(QListViewItem*): Not implemented yet'
-
-
- def groupListView_rightButtonClicked(self, a0, a1, a2):
- print 'FaxAddrBookGroupsForm_base.groupListView_rightButtonClicked(QListViewItem*,const QPoint&,int): Not implemented yet'
-
-
- def __tr(self, s, c = None):
- return qApp.translate('FaxAddrBookGroupsForm_base', s, c)
-
-
- if __name__ == '__main__':
- a = QApplication(sys.argv)
- QObject.connect(a, SIGNAL('lastWindowClosed()'), a, SLOT('quit()'))
- w = FaxAddrBookGroupsForm_base()
- a.setMainWidget(w)
- w.show()
- a.exec_loop()
-
-