Results 1 to 4 of 4

Thread: Popup window explorer

  1. #1

    Question Popup window explorer

    Hi all,

    Is there any way to popup window explorer( in standard interface ). For example may I open "My Computer" window from program?

    Thank you in advance.

  2. #2
    Join Date
    Nov 2009
    Location
    Internet
    Posts
    11
    Thanks
    9
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Popup window explorer

    It works:

    Qt Code:
    1. QString program = "explorer.exe";
    2. QStringList arguments;
    3. arguments << "file:///";
    4.  
    5. QProcess *myProcess = new QProcess(parent);
    6. myProcess->start(program, arguments);
    To copy to clipboard, switch view to plain text mode 

  3. #3

    Default Re: Popup window explorer

    OK thanks, but is there cross platform way to do this? Could you please say me "explorer.exe" equivalents on Ubuntu and MacOS?

    Thank you in advance

  4. #4
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Thanks
    8
    Thanked 334 Times in 317 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Popup window explorer

    If you are simply interested in browsing folders, why dont you look at QFileSystemModel

Similar Threads

  1. Popup notification window issues on Mac
    By alexandersv in forum Qt Programming
    Replies: 2
    Last Post: 20th April 2012, 11:15
  2. Replies: 2
    Last Post: 10th December 2009, 07:01
  3. Replies: 0
    Last Post: 9th October 2009, 10:22
  4. Replies: 3
    Last Post: 17th May 2009, 20:17
  5. Popup window with round borders
    By anderssonj in forum Qt Programming
    Replies: 1
    Last Post: 16th September 2007, 19:45

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.