mirror of
https://github.com/pbek/QOwnNotes.git
synced 2025-06-28 21:09:52 +00:00
20 lines
606 B
QML
20 lines
606 B
QML
import QtQml 2.0
|
|
|
|
/**
|
|
* This script adds custom styles to the application
|
|
*
|
|
* You can get the object names from the *.ui files, for example
|
|
* https://github.com/pbek/QOwnNotes/blob/main/src/mainwindow.ui
|
|
*
|
|
* Take a look at http://doc.qt.io/qt-5/stylesheet-reference.html for
|
|
* a reference of what styles are available.
|
|
*/
|
|
QtObject {
|
|
/**
|
|
* Adds custom styles
|
|
*/
|
|
function init() {
|
|
// add a custom stylesheet to increase font size in the note list and set a font
|
|
script.addStyleSheet("QTreeWidget#noteTreeWidget {font-family: Pacifico; font-size: 28px;}");
|
|
}
|
|
}
|