FET Forum

FET Development => Suggestions => Topic started by: vanyog on November 26, 2014, 10:45:58 AM

Title: Save and remember the tabWidget current page
Post by: vanyog on November 26, 2014, 10:45:58 AM
https://github.com/vanyog/FET/commit/9d06d2c0b832fcaea8839befdb3699056b010349
Title: Re: Save and remember the tabWidget current page
Post by: Liviu Lalescu on November 26, 2014, 11:24:45 AM
See the ChangeLog for FET-5.19.0: "- When starting FET, the first shortcuts tab section (File) is selected (suggested by a user)." Previously, I saved the main tab widget position (as you do), but a user suggested that it is better to start always with the File tab selected.

Anyway, I'll add this in the TODO, as your suggestion.
Title: Re: Save and remember the tabWidget current page
Post by: vanyog on November 26, 2014, 11:50:31 AM
May be there must be a setting: 'Remember current page' and each user to choose his own preference. I'll try to do so.
Title: Re: Save and remember the tabWidget current page
Post by: vanyog on November 26, 2014, 08:17:42 PM
Here is an implementation of another version of this suggestion:
https://github.com/vanyog/FET/commit/8bafe32fb5b3a691362c8319ce1a5c0649b82652

A new action was added to the Settings-Interface menu. If it is checked (by default it is not) the index of the current tabWidget is saved and restored at next start up.

It is more complex to implement, so you decide if your want this change in your code or not.
Title: Re: Save and remember the tabWidget current page
Post by: Liviu Lalescu on November 26, 2014, 08:39:56 PM
Thank you, I added this in the TODO, and the mention that you provided the necessary code. It is not a difficult change, but I prefer to keep the adjustable settings of FET to a minimum necessary, so the complexity of using the program is as little as possible.

Anyway, I'll keep this in my mind.