Results 1 to 3 of 3

Thread: Qt equivalent of .Xdefaults?

  1. #1
    Join Date
    Apr 2008
    Posts
    5
    Qt products
    Qt3
    Platforms
    Unix/X11 Windows

    Default Qt equivalent of .Xdefaults?

    Hi,

    is there an equivalent of using the .Xdefaults file to specify a Qt program's start up window size and location?

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Qt equivalent of .Xdefaults?

    You should do that storing settings of your application in a file using QSettings and restoring the saved geometry upon application startup.

  3. #3
    Join Date
    Apr 2008
    Posts
    5
    Qt products
    Qt3
    Platforms
    Unix/X11 Windows

    Default Re: Qt equivalent of .Xdefaults?

    thank you!

Similar Threads

  1. Replies: 4
    Last Post: 21st February 2008, 20:51
  2. setRasterOp Equivalent
    By vermarajeev in forum Qt Programming
    Replies: 22
    Last Post: 31st March 2007, 13:13
  3. Replies: 2
    Last Post: 23rd April 2006, 01:02
  4. what's the equivalent with DPtoLP in windows
    By cocalele in forum Qt Programming
    Replies: 6
    Last Post: 1st March 2006, 06:57
  5. PostMessage() across process boundaries equivalent
    By TheKedge in forum Qt Programming
    Replies: 9
    Last Post: 27th January 2006, 00:02

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.