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/ReadingTab.pyw

35 lines
825 B
Python

#!/usr/bin/env python
#coding: utf-8
import os
import platform
import sys
from PyQt4.QtCore import *
from PyQt4.QtGui import *
class ReadingTab(QWidget):
def __init__(self, parent=None):
super(ReadingTab, self).__init__(parent)
readingTable = QTableWidget()
addReadingButton = QPushButton("Add pages to read")
editReadingButton = QPushButton("Edit pages")
readingDoneButton = QPushButton("Done")
vlayout = QVBoxLayout()
hlayout = QHBoxLayout()
hlayout.addWidget(addReadingButton)
hlayout.addWidget(editReadingButton)
hlayout.addWidget(readingDoneButton)
vlayout.addWidget(readingTable)
vlayout.addLayout(hlayout)
self.setLayout(vlayout)