21 lines
406 B
Python
21 lines
406 B
Python
|
#!/usr/bin/env python
|
||
|
#coding: utf-8
|
||
|
|
||
|
import os
|
||
|
import platform
|
||
|
import sys
|
||
|
from PyQt4.QtCore import *
|
||
|
from PyQt4.QtGui import *
|
||
|
|
||
|
class CalendarTab(QWidget):
|
||
|
|
||
|
def __init__(self, parent=None):
|
||
|
super(CalendarTab, self).__init__(parent)
|
||
|
|
||
|
calendar = QCalendarWidget()
|
||
|
|
||
|
layout = QVBoxLayout()
|
||
|
layout.addWidget(calendar)
|
||
|
self.setLayout(layout)
|
||
|
|