Results 1 to 3 of 3

Thread: What is the difference between setCurrentFile() and setWindowTitle()

  1. #1
    Join Date
    Jul 2014
    Posts
    95
    Thanks
    67

    Default What is the difference between setCurrentFile() and setWindowTitle()

    Hello
    What is the difference between setCurrentFile() and setWindowTitle()?? Because they have similar behavior.
    thanks.

  2. #2
    Join Date
    Jan 2008
    Location
    Poland
    Posts
    687
    Thanks
    4
    Thanked 140 Times in 132 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: What is the difference between setCurrentFile() and setWindowTitle()

    Quote Originally Posted by rezas1000 View Post
    setCurrentFile()
    To what class does this method belong as I could not find it in docs.
    I would like to be a "Guru"

    Useful hints (try them before asking):
    1. Use Qt Assistant
    2. Search the forum

    If you haven't found solution yet then create new topic with smart question.

  3. #3
    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: What is the difference between setCurrentFile() and setWindowTitle()

    Quote Originally Posted by faldzip View Post
    To what class does this method belong as I could not find it in docs.
    I think OP meant QWidget::windowFilePath. And docs for QWidget::windowTitle clearly indicate the relation between the two properties.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. What's the difference?
    By Atomic_Sheep in forum Newbie
    Replies: 3
    Last Post: 6th September 2012, 11:36
  2. setwindowtitle.
    By sonuani in forum Qt Programming
    Replies: 5
    Last Post: 7th March 2008, 12:01
  3. setWindowTitle
    By JeanC in forum Qt Programming
    Replies: 1
    Last Post: 19th January 2008, 10:01
  4. setWindowTitle and last compile date/time
    By jcr in forum Qt Programming
    Replies: 1
    Last Post: 8th April 2006, 23:59
  5. setWindowTitle() with nice font
    By Dwarf007 in forum Qt Programming
    Replies: 15
    Last Post: 19th March 2006, 15:31

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.