Results 1 to 13 of 13

Thread: Freezing text controls when I try to modify text from c++

Hybrid View

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

    Default Re: Freezing text controls when I try to modify text from c++

    Ok, very strange.

    Can you provide/attach a minimal program that shows the problem?

    Cheers,
    _

  2. #2
    Join Date
    Jan 2016
    Posts
    81
    Qt products
    Qt5
    Platforms
    Windows
    Thanks
    31

    Default Re: Freezing text controls when I try to modify text from c++

    Quote Originally Posted by anda_skoa View Post
    Ok, very strange.

    Can you provide/attach a minimal program that shows the problem?

    _
    Thank you.
    I figure out my problem.

    This problem will happen when I open th file name is not English..
    Is there a way to solve this problem?
    Last edited by neda; 24th February 2016 at 10:08.

  3. #3
    Join Date
    Dec 2015
    Location
    Austria
    Posts
    23
    Qt products
    Qt5 Qt/Embedded
    Platforms
    Windows Android
    Thanks
    7
    Thanked 1 Time in 1 Post

    Default Re: Freezing text controls when I try to modify text from c++

    What is a "non-English name" ???

  4. #4
    Join Date
    Jan 2016
    Posts
    81
    Qt products
    Qt5
    Platforms
    Windows
    Thanks
    31

    Default Re: Freezing text controls when I try to modify text from c++

    I mean the file name is not English.

  5. #5
    Join Date
    Dec 2015
    Location
    Austria
    Posts
    23
    Qt products
    Qt5 Qt/Embedded
    Platforms
    Windows Android
    Thanks
    7
    Thanked 1 Time in 1 Post

    Default Re: Freezing text controls when I try to modify text from c++

    Thats no serious answer.... A german or italian or french filename will work too.
    Do you mean a filename with another charset?

    You may try the "decodeName" method on the QFile class
    Last edited by ChriD; 24th February 2016 at 11:34.

  6. The following user says thank you to ChriD for this useful post:

    neda (24th February 2016)

  7. #6
    Join Date
    Jan 2016
    Posts
    81
    Qt products
    Qt5
    Platforms
    Windows
    Thanks
    31

    Default Re: Freezing text controls when I try to modify text from c++

    Quote Originally Posted by ChriD View Post

    You may try the "decodeName" method on the QFile class
    Yes,Thank you. my problem is solved.
    Last edited by neda; 24th February 2016 at 11:53.

Similar Threads

  1. modify a QML Text from C++
    By neda in forum Qt Quick
    Replies: 7
    Last Post: 16th February 2016, 09:04
  2. Replies: 1
    Last Post: 11th May 2014, 08:29
  3. Replies: 1
    Last Post: 24th April 2010, 15:31
  4. How to modify the content of text file
    By grsandeep85 in forum Qt Programming
    Replies: 3
    Last Post: 31st July 2009, 10:23
  5. how to modify the text of node in xml docment?
    By GChen in forum Qt Programming
    Replies: 5
    Last Post: 26th February 2009, 10:48

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
  •  
Qt is a trademark of The Qt Company.