Results 1 to 2 of 2

Thread: What is Type information when creating Class

  1. #1
    Join Date
    Nov 2014
    Posts
    23
    Thanks
    4

    Default What is Type information when creating Class

    When creating a new class , I see type information comboBox showing 4 options(QObject , QWidget , QDeclarativeItems, QSharedData)....

    What is the use of it...

  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: What is Type information when creating Class

    Each of these classes make use of a different syntax of the constructor. The wizard is trying to determine which constructor it should create for you. In doubt leave the box empty and fill the constructor data yourself.
    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.


Similar Threads

  1. Creating a new c++ class with QObject as a base class
    By toufic.dbouk in forum Qt Programming
    Replies: 11
    Last Post: 30th September 2013, 23:56
  2. 'CLASS' does not name a type
    By plopes21 in forum General Programming
    Replies: 4
    Last Post: 27th August 2013, 03:42
  3. Replies: 3
    Last Post: 1st April 2013, 14:26
  4. Print out graphics item type information
    By sajis997 in forum Qt Programming
    Replies: 1
    Last Post: 23rd January 2012, 19:53
  5. QGraphicsScene only creating one item of each type
    By Fallen_ in forum Qt Programming
    Replies: 1
    Last Post: 10th May 2011, 07:28

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.