julianstar88 / Aphrodite

HomePage
GNU General Public License v3.0
0 stars 0 forks source link

develop a custom file dialog #15

Closed julianstar88 closed 4 years ago

julianstar88 commented 4 years ago

Reason

The QFileDialog uses a native dialog style that doesn´t allow us to use a custom window icon (according to the documentation custom icon lookup cause severe performance issues).

There are two approaches:

Especially the second approach is related which great effort. It's related to developing a customized FileModel, whose performance is poor on windows (at least to this point of my knowledge)

progress

julianstar88 commented 4 years ago

Solution

There is no need to create an own FileDialog. The solution was to call setWindowIcon in the MainWindow Class. Together with the Class CustomIcon in the CustomGuiComponentes Module, this is an easy way to provide icons in many sizes for the app