- example how to change font size
This commit is contained in:
parent
fc0d501c05
commit
b76cba0d78
@ -1,2 +1,2 @@
|
|||||||
// Auto generated file ! Please do not edit !
|
// Auto generated file ! Please do not edit !
|
||||||
#define APP_BUILD_NUMBER 214
|
#define APP_BUILD_NUMBER 215
|
||||||
@ -8,9 +8,14 @@
|
|||||||
|
|
||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
QApplication a(argc, argv);
|
QApplication app(argc, argv);
|
||||||
helper::theme::applyCurrent(Settings::instance());
|
helper::theme::applyCurrent(Settings::instance());
|
||||||
|
|
||||||
|
/* QFont f = app.font();
|
||||||
|
f.setFamily("Monaco");
|
||||||
|
f.setPointSize(16);
|
||||||
|
app.setFont(f); */
|
||||||
|
|
||||||
// Path to database.
|
// Path to database.
|
||||||
QString path = Settings::instance().getDatabasePath();
|
QString path = Settings::instance().getDatabasePath();
|
||||||
|
|
||||||
@ -25,5 +30,5 @@ int main(int argc, char *argv[])
|
|||||||
w.setAttribute(Qt::WA_WState_Hidden, true);
|
w.setAttribute(Qt::WA_WState_Hidden, true);
|
||||||
w.show();
|
w.show();
|
||||||
|
|
||||||
return a.exec();
|
return app.exec();
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user