Page 2 of 2 FirstFirst 12
Results 21 to 27 of 27

Thread: QDropEvent

  1. #21
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: QDropEvent

    Quote Originally Posted by addu View Post
    Qt Code:
    1. class MainWindow : public QMainWindow,public QTreeWidget
    To copy to clipboard, switch view to plain text mode 
    Ah man.... did you even try to compile this code?

    At moments like this I'm beginning to think if we're even remotely close to managing to educate people here...

    Maybe we should get some programming certification scheme here or something...
    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.


  2. #22
    Join Date
    Jun 2007
    Location
    India
    Posts
    1,042
    Thanks
    8
    Thanked 133 Times in 128 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: QDropEvent

    what i found is many ppl know c++ but do not know one of these concepts 1. inheritance 2. virtual 3. pointers. And they jump into Qt. This where all starts to mess up.

  3. #23
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: QDropEvent

    Quote Originally Posted by MrDeath View Post
    what i found is many ppl know c++ but do not know one of these concepts 1. inheritance 2. virtual 3. pointers.
    It's like "they know how to drive but only on the first gear and only straight ahead". It's hard to call it "knowing how to drive" then... But that you don't know how to program is not a big deal. It starts to be a deal when you're not learning and still continue to bang your head against the wall.
    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.


  4. #24
    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: QDropEvent

    Quote Originally Posted by MrDeath View Post
    ...but do not know one of these concepts...
    and sometimes not only one :P
    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.

  5. #25
    Join Date
    Jun 2007
    Location
    India
    Posts
    1,042
    Thanks
    8
    Thanked 133 Times in 128 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: QDropEvent

    i have seen ppl make very good/fast newbiew programs in c++ ... but they seem to take ages to get into inheritance thing...

  6. #26
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: QDropEvent

    Quote Originally Posted by MrDeath View Post
    i have seen ppl make very good/fast newbiew programs in c++
    So was it c++ or c?

    Ok, we're getting offtopic here.
    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.


  7. #27
    Join Date
    Jun 2007
    Location
    India
    Posts
    1,042
    Thanks
    8
    Thanked 133 Times in 128 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: QDropEvent

    Quote Originally Posted by wysota View Post
    So was it c++ or c?
    they used cout<< and cin>> .. so i think it was c++

    Quote Originally Posted by wysota View Post
    Ok, we're getting offtopic here.
    ya.. just like to share one incident (which i remembered by reading this thread) if you permit.....
    once i was taking interview of a candidate who had 5+ years of programming exp in Qt. I asked, "If i inherit QPushButton and QCombobox in my class, how would the widget will look like?".

    He replied: "If You inherit QPushButton first (like class w : public QPushbutton, QCombobox) then the widget will have the appearance of a button and vice versa".
    REJECTED.

    I thought then that he was a masterpiece and i will never find someone like him again. Guess i was wrong

Similar Threads

  1. May I get XEvent from QDropEvent?
    By alfa_wu in forum Qt Programming
    Replies: 4
    Last Post: 19th March 2007, 01:43

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.