tirilane
/
egon
Archived
1
0
Fork 0
This repository has been archived on 2024-07-04. You can view files and clone it, but cannot push or open issues or pull requests.
egon/AssignmentTab.pyw

34 lines
854 B
Python

#!/usr/bin/env python
#coding: utf-8
import os
import platform
import sys
from PyQt4.QtCore import *
from PyQt4.QtGui import *
class AssignmentTab(QWidget):
def __init__(self, parent=None):
super(AssignmentTab, self).__init__(parent)
assignmentsTable = QTableWidget()
addAssignmentButton = QPushButton("Add assignment")
editAssignmentButton = QPushButton("Edit assignment")
assignmentDoneButton = QPushButton("Done")
vlayout = QVBoxLayout()
hlayout = QHBoxLayout()
hlayout.addWidget(addAssignmentButton)
hlayout.addWidget(editAssignmentButton)
hlayout.addWidget(assignmentDoneButton)
vlayout.addWidget(assignmentsTable)
vlayout.addLayout(hlayout)
self.setLayout(vlayout)