Results 1 to 2 of 2

Thread: QDockWidget store and Restore(QSettings) with Title name

  1. #1
    Join Date
    Jul 2021
    Posts
    1
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default QDockWidget store and Restore(QSettings) with Title name

    Hi Members,

    I have opened multiple QDockwidgets with renamed title bar and stored location with the help of Qsettings for QMainWindows. and i maintained tiltle bar also in a order as opened dockwidgets.
    But when i am restoring from config file, Dockwidgets and title bar mismatching

    Let me know what could be a problem.
    Last edited by Yours_Ashutosh; 12th July 2021 at 07:49.

  2. #2
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,230
    Thanks
    302
    Thanked 864 Times in 851 Posts
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: QDockWidget store and Restore(QSettings) with Title name

    Sorry, it is Monday morning and my browser for invisible code is not working.

    If you posted the code that shows where you save and restore the QSettings it might help in solving the problem. A screenshot of the dock windows before saving and after restoring would help, too.
    <=== The Great Pumpkin says ===>
    Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.

Similar Threads

  1. Store and load passwords via QSettings
    By ralfwickum in forum Qt Programming
    Replies: 1
    Last Post: 13th July 2015, 15:18
  2. Replies: 8
    Last Post: 22nd June 2015, 22:24
  3. store QSettings in XML for all platforms wanted
    By nilir in forum Qt Programming
    Replies: 4
    Last Post: 2nd July 2010, 10:50
  4. No restore button in QDockWidget title bar
    By trskel in forum Qt Programming
    Replies: 1
    Last Post: 21st September 2007, 10:59
  5. Store an custom enum in QSettings
    By Lykurg in forum Qt Programming
    Replies: 1
    Last Post: 14th March 2007, 21:06

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.