mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-06 10:18:42 +02:00
[ui] set font size at Application level
This commit is contained in:
parent
0e6fd0cb1a
commit
def7e6b634
2 changed files with 4 additions and 1 deletions
|
@ -72,6 +72,10 @@ if __name__ == "__main__":
|
||||||
app.setApplicationName('Meshroom')
|
app.setApplicationName('Meshroom')
|
||||||
app.setAttribute(Qt.AA_EnableHighDpiScaling)
|
app.setAttribute(Qt.AA_EnableHighDpiScaling)
|
||||||
|
|
||||||
|
font = app.font()
|
||||||
|
font.setPointSize(9)
|
||||||
|
app.setFont(font)
|
||||||
|
|
||||||
pwd = os.path.dirname(__file__)
|
pwd = os.path.dirname(__file__)
|
||||||
app.setWindowIcon(QIcon(os.path.join(pwd, "img/icon.png")))
|
app.setWindowIcon(QIcon(os.path.join(pwd, "img/icon.png")))
|
||||||
qmlDir = os.path.join(pwd, "qml")
|
qmlDir = os.path.join(pwd, "qml")
|
||||||
|
|
|
@ -17,7 +17,6 @@ ApplicationWindow {
|
||||||
height: 720
|
height: 720
|
||||||
visible: true
|
visible: true
|
||||||
title: (_reconstruction.graph.filepath ? _reconstruction.graph.filepath : "Untitled") + (_reconstruction.undoStack.clean ? "" : "*") + " - Meshroom"
|
title: (_reconstruction.graph.filepath ? _reconstruction.graph.filepath : "Untitled") + (_reconstruction.undoStack.clean ? "" : "*") + " - Meshroom"
|
||||||
font.pointSize: 9
|
|
||||||
|
|
||||||
property variant node: null
|
property variant node: null
|
||||||
// supported 3D files extensions
|
// supported 3D files extensions
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue