Results 1 to 2 of 2

Thread: How to save project file in our own extension?

  1. #1
    Join Date
    Nov 2011
    Location
    Bangalore
    Posts
    26
    Thanks
    2
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows Symbian S60

    Smile How to save project file in our own extension?

    I am new to Qt..I am working on a project in which i can open several files which will open new windows...
    whenever i close these window it will ask to SAVE the project...I need to save these project files with my own extension(*.pot)...
    my file will be containing one "icon editor" and one "scribble area". Whenever i open this file again for editing it should the previous
    changes made on that file.
    can anyone help me.........
    I tried with QSettings....But it working fine with geometry and states..........i want to know how can i use it to save my icon editor and scribble area status.
    (Both are of image type only..);

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: How to save project file in our own extension?

    You can call the files anything you like when you write anything you need to preserve the document into the file. What exactly is the problem?

Similar Threads

  1. QML C++ extension, qml project can not find a type
    By kornicameister in forum Qt Quick
    Replies: 5
    Last Post: 18th September 2011, 01:08
  2. QFileDialog and file extension
    By calhal in forum Qt Programming
    Replies: 3
    Last Post: 9th March 2010, 12:54
  3. Replies: 4
    Last Post: 16th February 2010, 17:42
  4. Automatic file extension is not added to saved file on mac os x
    By sanjayshelke in forum Qt Programming
    Replies: 0
    Last Post: 30th October 2009, 06:56
  5. Can I use QRegExp to remove the extension of a file?
    By ricardo in forum Qt Programming
    Replies: 3
    Last Post: 20th May 2009, 13:54

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.