Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Functions of QWidgets used for QTableWidgets
Qt 6.11 is out! See what's new in the release blog

Functions of QWidgets used for QTableWidgets

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 350 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Swati777999S Offline
    Swati777999S Offline
    Swati777999
    wrote on last edited by
    #1

    Hi All,

    QTableWidgets class is a subclass of QtWidgets. The functions of QWidgets can be used for QTableWidgets objects. I have found some functions not working in my program.

    I have another doubt, can public slots be used as public member functions of a class?

    Thanks.

    “ In order to be irreplaceable, one must always be different” – Coco Chanel

    JonBJ 1 Reply Last reply
    0
    • Swati777999S Swati777999

      Hi All,

      QTableWidgets class is a subclass of QtWidgets. The functions of QWidgets can be used for QTableWidgets objects. I have found some functions not working in my program.

      I have another doubt, can public slots be used as public member functions of a class?

      Thanks.

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by
      #2

      @Swati777999 said in Functions of QWidgets used for QTableWidgets:

      QTableWidgets class is a subclass of QtWidgets. The functions of QWidgets can be used for QTableWidgets objects.

      Yup.

      I have found some functions not working in my program.

      Like what? Yes you can call methods of QWidget on, say, QTableWidget.

      I have another doubt, can public slots be used as public member functions of a class?

      ? Yes, public slots are just public methods.

      1 Reply Last reply
      4

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved