Results 1 to 2 of 2

Thread: (Solved) Wrong case, sorry

  1. #1
    Join Date
    May 2006
    Posts
    55
    Thanks
    7
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default (Solved) Wrong case, sorry

    Hi
    qtdesigner seems to not handle QLabel shape ok.
    One can not set it properly to NoFrame/Plain.
    Property editor says it is NoFrame/Plain but
    display shows that it is not the case. A quick
    look at ui file confirm this.
    The weird thing is that shape is a QFrame part and
    the property editor works well for this part on QFrame.
    I guess this is because NoFrame/Plain is normally the
    default on QLabel...
    Same behaviour in 4.1.2 and 4.1.4
    Should I file a bug ?

    Edit: I misinterpreted a colleague's code and did not see that the Label where surrounded by a frame. Sorry again.
    Last edited by lauranger; 6th July 2006 at 12:04.

  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: (Solved) Wrong case, sorry

    Quote Originally Posted by lauranger
    Should I file a bug ?
    It's best to first assume that the error is in your code and is not a result of a buggy library code. Very often programmers are so vain they think they don't do any mistakes and everything that doesn't work has to be because someone else blew the job. Often also things which are considered bugs are really features and simply the programmer didn't understand the intention of the function author. Sometimes programmers are lazy enough not to take a closer look at the function and they cry that the function doesn't work, but they don't notice that a particular call returns a modified copy of the object without changing the original, etc.

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.