Results 1 to 2 of 2

Thread: directory creating

  1. #1
    Join Date
    May 2013
    Posts
    1
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11

    Default directory creating

    I have an "mainwindow" containing a "add_dir" button to create a new folder. When I push the button, it opens a new "dialog" window . "Dialog" window contains a "qtextedit" and "accept" button and a "cancel" button. I want to use text from "qtextedit" to create a directory with that name.
    Mainwindow and Dialog are two different classes.

    In Mainwindow class i have an Dialog object . "accept" button slot from "Dialog" class increment an private QString variable . I have a public method in "Dialog" class to return private variable but in that method private variable is empty. If i display private variable in slot it have the value with text tapped in "qtextedit" .

    How can i rezolve that problem ?

    Or you can give me another way to solve my problem?

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: directory creating

    Without seeing any code there is no way to determine what your actual problem is.

    Cheers,
    _

Similar Threads

  1. Replies: 0
    Last Post: 19th February 2013, 16:46
  2. Directory View
    By kamlmish in forum Newbie
    Replies: 1
    Last Post: 22nd December 2010, 10:04
  3. get .pro directory
    By Alnitak in forum Qt Programming
    Replies: 5
    Last Post: 14th October 2010, 18:43
  4. Filename -> directory
    By Persoontje in forum Newbie
    Replies: 2
    Last Post: 2nd December 2009, 22:54
  5. Specify the DLL directory
    By Nyphel in forum Newbie
    Replies: 6
    Last Post: 27th April 2007, 14:29

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.