cf12defd28
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
17 lines
395 B
C++
17 lines
395 B
C++
#include <QApplication>
|
|
|
|
#include "kdatetable_p.h"
|
|
#include <QDate>
|
|
|
|
int main(int argc, char **argv)
|
|
{
|
|
QApplication::setApplicationName(QStringLiteral("test"));
|
|
QApplication app(argc, argv);
|
|
|
|
KDateTable widget;
|
|
widget.setCustomDatePainting(QDate::currentDate().addDays(-3), QColor("green"), KDateTable::CircleMode, QColor("yellow"));
|
|
widget.show();
|
|
|
|
return app.exec();
|
|
}
|