29 lines
809 B
Python
29 lines
809 B
Python
#!/usr/bin/env python
|
|
#coding: utf-8
|
|
|
|
import os
|
|
import platform
|
|
import sys
|
|
from PyQt4.QtCore import *
|
|
from PyQt4.QtGui import *
|
|
from assignment import *
|
|
from assignmentDlg import *
|
|
|
|
class EditAssignmentDlg(AssignmentDlg):
|
|
|
|
def __init__(self, parent=None):
|
|
super(EditAssignmentDlg, self).__init__(parent)
|
|
self.setAttribute(Qt.WA_DeleteOnClose)
|
|
|
|
buttonBox = QDialogButtonBox(QDialogButtonBox.Apply|QDialogButtonBox.Close)
|
|
|
|
self.layout.addWidget(buttonBox, 7, 0, 1, 2)
|
|
|
|
self.connect(buttonBox.button(QDialogButtonBox.Apply), SIGNAL("clicked()"), self.apply)
|
|
self.connect(buttonBox, SIGNAL("rejected()"), self, SLOT("reject()"))
|
|
|
|
self.setWindowTitle(self.trUtf8("Edit assignment"))
|
|
|
|
def apply(self):
|
|
pass
|