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. Dynamic layouts in Qt

Dynamic layouts in Qt

Scheduled Pinned Locked Moved Unsolved Brainstorm
1 Posts 1 Posters 524 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.
  • C Offline
    C Offline
    chihwah
    wrote on last edited by
    #1

    Hi All,

    I have been working on creating dynamic layouts (responds to user selections) for user inputs and writing the output of that to MySql.

    The problem is that every time I change something about my code (i.e. add a new widget to contain my input widgets or change something about the layout), I have to rewrite my functionality to incorporate that change, as it is quite custom. For example, I have undo and redo buttons that function differently for different types of widget types that I've subclassed, and different inputs write to different columns in SQL.

    I've been managing it based on finding specific object names within my layout so far. It's hard because a specific widget can be nested within multiple widgets.

    If anyone else has worked on projects with dynamic layouts before, I would appreciate some tips or advice on what I could be doing better and what has worked for you.

    Thanks!

    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