Results 1 to 2 of 2

Thread: QFileDialog Issue

  1. #1
    Join Date
    Dec 2006
    Posts
    211
    Thanks
    27
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Question QFileDialog Issue

    Hi All,

    I am using Qt 4.2.2 on my Intel Mac.
    I m using the following code....

    QString FileName= QFileDialog::getSaveFileName(this,"Creating Media Image to Save","StellarPhoenixMediaImage","");

    In this I m giving the Default name StellarPhoenixImage to save but the user can not change the Name from It.

    what I want that it shows the name by default but If user want to change the Name then he/she should be able to change the name of the Saved file name.

    If any body knows then plz help me.

    Thanks.

  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: QFileDialog Issue

    The code you mention should allow one to change the name. Are you sure it really can't be changed?

Similar Threads

  1. qt3 to qt4 - uic issue
    By hvengel in forum Qt Programming
    Replies: 10
    Last Post: 4th March 2007, 02:59
  2. QFileDialog Issue
    By vishal.chauhan in forum Qt Programming
    Replies: 2
    Last Post: 28th February 2007, 13:47
  3. Auto resolve in QFileDialog
    By Levon Nikoghosyan in forum Qt Programming
    Replies: 1
    Last Post: 29th November 2006, 11:15
  4. Replies: 5
    Last Post: 22nd September 2006, 08:04
  5. copy file/s from QFileDialog
    By raphaelf in forum Newbie
    Replies: 4
    Last Post: 4th July 2006, 14:26

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.