opcua-client-gui icon indicating copy to clipboard operation
opcua-client-gui copied to clipboard

How to reset all windows

Open wengcunzhong opened this issue 6 years ago • 2 comments

Hi, first of all, great job! I use the mac client. Close the windows on the right: Attributes, Events, References, Subscriptions. How can i back to the default settings? I tryed right click in many places but no menu to show. Thank you in advance.

wengcunzhong avatar Aug 21 '19 13:08 wengcunzhong

Hey @wengcunzhong,

This question has already been answered: https://github.com/FreeOpcUa/opcua-client-gui/issues/28

You have to click on the grey line. image

I hope I was able to help you.

TheJojoHoney avatar Dec 10 '19 13:12 TheJojoHoney

there's no obvious UI element to allow for resetting the windows. I had to edit the installation source code that controls this auto-save functionality by going to /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/uaclient/mainwindow.py and adding self.settings.clear() on line 238 to clear the auto-saved window settings right after the QSettings() class is instantiated. Load up the client again and all the windows should be reset. Don't forget to remove self.settings.clear() afterwards.

saizen408 avatar Apr 28 '20 07:04 saizen408