Re: [Interest] QMainWindow state resetting

2015-07-23 Thread Berkay Elbir
Hi, Thanks for your answer. I thought like that and implemented it. But after restoring default state, mainwindow turns small size and I have to click fullscreen button to be a fullscreen window. I think I have to do something to be a fullscreeen windows again after restoring state. On Thu, Jul

Re: [Interest] QMainWindow state resetting

2015-07-23 Thread Bo Thorsen
Den 23-07-2015 kl. 07:51 skrev Berkay Elbir: > I'm searching is there a way to reset to default state of QMainWindow at > runtime? > I have a QMainWindow that has some widgets, user can customize their > locations and save them. > But I want to put a button that resets window states and reverts bac

[Interest] QMainWindow state resetting

2015-07-22 Thread Berkay Elbir
Hi, I'm searching is there a way to reset to default state of QMainWindow at runtime? I have a QMainWindow that has some widgets, user can customize their locations and save them. But I want to put a button that resets window states and reverts back to default mode at runtime like "reset window la