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. How to add elements automatically in a window?
Forum Updated to NodeBB v4.3 + New Features

How to add elements automatically in a window?

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 286 Views 2 Watching
  • 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.
  • V Offline
    V Offline
    ViniciusSoares
    wrote on 18 Sept 2019, 18:24 last edited by
    #1

    I made a window where the user writes the size (number of rows and columns) of the matrix and would like to know how to make another window that generates the desired number of fields, so that the user can fill the matrix. I also wanted to know how to adjust the window size automatically according to the size of the matrix that the user types.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 18 Sept 2019, 18:26 last edited by
      #2

      Hi and welcome to devnet,

      Do you mean something like a QTableWidget ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      1/2

      18 Sept 2019, 18:24

      • Login

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