Results 1 to 2 of 2

Thread: Help needed to add custom slot to QGLWidget

  1. #1
    Join Date
    Dec 2011
    Posts
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default Help needed to add custom slot to QGLWidget

    I'm new to programming/Qt. I need help in adding my custom slot on a QGLwidget. Can anyone help pls

  2. #2
    Join Date
    Sep 2009
    Location
    Wroclaw, Poland
    Posts
    1,394
    Thanked 342 Times in 324 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: Help needed to add custom slot to QGLWidget

    Just create a subclass and add the slot there.
    I'm new to programming/Q
    Do you mean that you are new to programming with Qt, or new to both programming and Qt ?
    If its the second option, then I suggest you to get familiar with C++ first (until you get really comfortable with the language), otherwise you'll be copy-pasting the code without any idea of how it works.

Similar Threads

  1. suggestion needed for qglwidget performance timer
    By papillon in forum Qt Programming
    Replies: 4
    Last Post: 12th November 2012, 14:48
  2. Custom Container widget plugin help needed
    By JohnKustrin in forum Newbie
    Replies: 1
    Last Post: 14th May 2010, 10:01
  3. error when adding signal slot to a QGLWidget based class
    By john_god in forum Qt Programming
    Replies: 2
    Last Post: 11th April 2009, 23:31
  4. the simplest custom slot
    By tommy in forum Qt Programming
    Replies: 30
    Last Post: 12th November 2007, 11:18
  5. Can't compile custom class derived from QGLWidget
    By stealth86 in forum Qt Programming
    Replies: 1
    Last Post: 5th July 2007, 17:55

Tags for this Thread

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.