nymea / berrylan

Raspberry Pi WiFi setup
http://berrylan.org
GNU General Public License v3.0
335 stars 55 forks source link

Modify Spinner Color Scheme #15

Closed sparkhead95 closed 5 years ago

sparkhead95 commented 5 years ago

I've been racking my brain for a while trying to find where the colours for the red spinner around the icons are? And the same red when you click on each icon (bluetooth, wifi etc) like below? image

EDIT: never mind, the red is defined as the "Material.accent" in the main.qml. Still would like to know where the app icon is defined though!

Also, I'm fairly new to QT but from my Googling it seems that the app icon is not defined in any of the normal QT project locations? Where is this app icon defined?

Thanks guys

sparkhead95 commented 5 years ago

Furthermore, and more of an actual 'issue', I seem to be getting a couple of null pointers upon compilation, straight out of the box: qrc:/main.qml:241: TypeError: Cannot read property 'accessPointModeAvailable' of null qrc:/main.qml:350: TypeError: Cannot read property 'currentConnection' of null

mzanetti commented 5 years ago

The app icon is set in the packaging, depending on the platform you're building for.

About those TypeError warnings, might be that I didn't silence them correctly... Not really an issue as QML will update itself when it becomes available once the Bluetooth connection is established. Could be silenced with changing line 241 to

visible: networkManager.manager !== null && networkManager.manager.accessPointModeAvailable

Also, for generic questions, please use the forum at https://forum.nymea.io (There is a berrylan section available).

Br, Michael

mzanetti commented 5 years ago

Closing this as it is not an actual issue