PyQt table widget for showing date
Project description
pyqt-date-table-widget
PyQt table widget for showing date
Requirements
PyQt5 >= 5.8
Setup
python -m pip install pyqt-date-table-widget
Feature
-
Available to set date range to show (100 as default)
-
Available to set start date (current date as default)
-
Show different color for weekend
Example
Code Example
from PyQt5.QtCore import QDate
from PyQt5.QtWidgets import QApplication
from pyqt_date_table_widget import DateTableWidget
if __name__ == "__main__":
import sys
app = QApplication(sys.argv)
afterFifteenDaysFromToday = QDate.currentDate().addDays(15)
dateTableWidget = DateTableWidget(start_date=afterFifteenDaysFromToday, date_range=1000)
dateTableWidget.setColumnCount(2)
dateTableWidget.setHorizontalHeaderLabels(['Literature', 'Mathematics'])
dateTableWidget.show()
app.exec_()
Result
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pyqt-date-table-widget-0.0.1.tar.gz
.
File metadata
- Download URL: pyqt-date-table-widget-0.0.1.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/0.0.0 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47bd07c94ec5009529176d42df137d9ed50605aff5ceda8a5a43f7994cd208a8 |
|
MD5 | 12447b40ea96d339bf084e367abe7b41 |
|
BLAKE2b-256 | 74f6c08fc87aa9e3464ac31fc7ef0271d0bd7b854cfdd9e3e0f331cfb1091abd |
File details
Details for the file pyqt_date_table_widget-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: pyqt_date_table_widget-0.0.1-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/0.0.0 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65b1ff97488225757fc511a4de517b2e4a2aeed206f9d68c83ad62ccd3c72a17 |
|
MD5 | deffc78c7c026ae8226c241d7aa531f3 |
|
BLAKE2b-256 | fe752d67e84e68435110da4749c6c1846b1838cc409047fddbeb92b70655a83f |