File: kcharselecttest.cpp

package info (click to toggle)
kwidgetsaddons 5.116.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 32,836 kB
  • sloc: cpp: 32,526; python: 677; sh: 14; makefile: 7
file content (19 lines) | stat: -rw-r--r-- 486 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include <QApplication>

#include "kcharselect.h"

int main(int argc, char **argv)
{
    QApplication::setApplicationName(QStringLiteral("kcharselecttest"));

    QApplication app(argc, argv);
    app.setAttribute(Qt::AA_UseHighDpiPixmaps, true);

    KCharSelect selector(nullptr, nullptr);
    selector.setAllPlanesEnabled(true);
    selector.resize(selector.sizeHint());
    selector.show();
    selector.setWindowTitle(QStringLiteral("KCharSelect Test"));

    return app.exec();
}