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. Create a custom widget class as described by the attached image
Forum Updated to NodeBB v4.3 + New Features

Create a custom widget class as described by the attached image

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 248 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.
  • M Offline
    M Offline
    Melsbacksfriend
    wrote on last edited by
    #1

    Hello, I created a file format and a parser library for it that is intended to be used for storing a database of tags to put on files for searching purposes. This system is inspired by "danbooru" and thus has an inheritance feature. I want to make a Qt-based WYSIWYG editor for this database format, but I'll need a widget class that allows me to do something like in the attached image. Inheritance Diagram Widget Concept.png
    For those who don't understand, the black things on the right and bottom are dynamically-sized scroll bars and the arrows point child to parent (Umbreon is an Eeveelution, Charizard is a Gen 1 Pokémon and Vaporeon is both).

    Pl45m4P 1 Reply Last reply
    0
    • M Melsbacksfriend

      Hello, I created a file format and a parser library for it that is intended to be used for storing a database of tags to put on files for searching purposes. This system is inspired by "danbooru" and thus has an inheritance feature. I want to make a Qt-based WYSIWYG editor for this database format, but I'll need a widget class that allows me to do something like in the attached image. Inheritance Diagram Widget Concept.png
      For those who don't understand, the black things on the right and bottom are dynamically-sized scroll bars and the arrows point child to parent (Umbreon is an Eeveelution, Charizard is a Gen 1 Pokémon and Vaporeon is both).

      Pl45m4P Offline
      Pl45m4P Offline
      Pl45m4
      wrote on last edited by Pl45m4
      #2

      @Melsbacksfriend

      Ok, but what is your question?

      I want to make a Qt-based WYSIWYG editor for this database format

      If you want to make a Qt Designer Plugin, start here
      An example can be found here

      Edit:

      Or should your app itself be the WYSIWYG editor?!
      Then check this example out.
      It's some kind of UML/Flowchart diagram modelling example with some drawing features...
      Of course you can extend it further and add everything you like and need for your Pokemon model to work.
      But this might be a good start.


      If debugging is the process of removing software bugs, then programming must be the process of putting them in.

      ~E. W. Dijkstra

      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