Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Brainstorm
  4. Database Plugin for Qt Designer
Qt 6.11 is out! See what's new in the release blog

Database Plugin for Qt Designer

Scheduled Pinned Locked Moved Brainstorm
2 Posts 2 Posters 3.2k Views 1 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.
  • A Offline
    A Offline
    Agroni
    wrote on last edited by
    #1

    In 1993 (almost 20 years ago), in IBM Visual Age I could drag a column name (of a DB/2 database) and put in a dialog it would automatically create a Label and an Line Edit, associate signals and slots.

    I could see database signals and slots and I could VISUALLY link them to the widgets on the form or to the menu items.

    What I want Qt Designer initially to do through a new plugin, is to provide a means to navigate to a certain table in a database so that the user (programmer) can pick what columns to appear on the dialog. The plugin would generate UI and C++ code and update the dialog in the designer with new Labels, Line Edits all using the QDataWidgetMapper.

    If there is a group working on something like this I would like to join. Please let me know. Otherwise, I will start doing something like this myself and I would welcome anyone to join me.

    //Agron

    1 Reply Last reply
    0
    • M Offline
      M Offline
      msx_br
      wrote on last edited by
      #2

      Very good !!!

      If there is a group working on this, I would like to join.

      I think using QSqlRelationalModel -> QDataWidgetMapper -> UI is a good approach.

      msx_br - Brazil (Netherlands)

      1 Reply Last reply
      0

      • Login

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