We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
when adding calendar is not "add color " to selected date simple code with only calendar widget
from PyQt5 import QtCore, QtGui, QtWidgets import qdarktheme from qdarktheme.qtpy.QtWidgets import QApplication class Ui_MainWindow(object): def setupUi(self, MainWindow): MainWindow.setObjectName("MainWindow") MainWindow.resize(800, 600) self.centralwidget = QtWidgets.QWidget(MainWindow) self.centralwidget.setObjectName("centralwidget") self.verticalLayout = QtWidgets.QVBoxLayout(self.centralwidget) self.verticalLayout.setObjectName("verticalLayout") MainWindow.setCentralWidget(self.centralwidget) self.menubar = QtWidgets.QMenuBar(MainWindow) self.menubar.setGeometry(QtCore.QRect(0, 0, 800, 26)) self.menubar.setObjectName("menubar") MainWindow.setMenuBar(self.menubar) self.statusbar = QtWidgets.QStatusBar(MainWindow) self.statusbar.setObjectName("statusbar") MainWindow.setStatusBar(self.statusbar) self.retranslateUi(MainWindow) QtCore.QMetaObject.connectSlotsByName(MainWindow) # add calendar to centralwidget self.calendar = QtWidgets.QCalendarWidget(self.centralwidget) self.calendar.setObjectName("calendar") self.verticalLayout.addWidget(self.calendar) def retranslateUi(self, MainWindow): _translate = QtCore.QCoreApplication.translate MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow")) if __name__ == "__main__": import sys qdarktheme.enable_hi_dpi() app = QApplication(sys.argv) qdarktheme.setup_theme("auto") MainWindow = QtWidgets.QMainWindow() ui = Ui_MainWindow() ui.setupUi(MainWindow) MainWindow.show() sys.exit(app.exec_())
The text was updated successfully, but these errors were encountered:
Hi @thiva7. Thank you for your report. I could replicate this problem on Windows, but Mac cannot. Recently I only tested on Mac. I will try to fix it.
Sorry, something went wrong.
Hi this is fix on #209.
This change has been released on v2.0.0.
Successfully merging a pull request may close this issue.
when adding calendar is not "add color " to selected date
simple code with only calendar widget
The text was updated successfully, but these errors were encountered: