Results 1 to 8 of 8

Thread: Any way to integrate Qt Designer with a modeling tool ide I'm creating?

  1. #1
    Join Date
    Oct 2011
    Posts
    4
    Qt products
    Qt3 Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Any way to integrate Qt Designer with a modeling tool ide I'm creating?

    Hi --

    I'm putting together a modeling tool platform and would like to use Qt and OpenGl for all my graphics. I'm wondering if there might be a facility for integrating the Qt Designer into my IDE, along the lines of what is being done in the QT CREATOR? Has anyone done this?

    Any help would be greatly appreciated.

    regards,

    Mike

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Any way to integrate Qt Designer with a modeling tool ide I'm creating?

    What exactly from Qt Designer do you want to take?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Oct 2011
    Posts
    4
    Qt products
    Qt3 Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Any way to integrate Qt Designer with a modeling tool ide I'm creating?

    I was thinking it would be nice to be able to expose the toolbox, the designer surface and the logic behind it that generates a Qt form. Actually ideally I probably would want to integrate the toolbox icons into my own toolbox mechanism, but it would be nice if there were the designer surface and the drop functionality that would allow me to drop the QT widget icons onto the surface and have the same code generation happen that currently happens in the Designer.

    Don't know if it was designed this way, but I was hoping that because the QT Creatior has form design capability in it, that there might have been some reuse of the components within the Qt Designer and that they might be engineered to support this sort of thing.

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Any way to integrate Qt Designer with a modeling tool ide I'm creating?

    But do you want to design Qt forms or just any form (or some specific kind of form)? Because if the latter then Designer is not of much use to you, it is tailored for Qt forms only.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  5. #5
    Join Date
    Oct 2011
    Posts
    4
    Qt products
    Qt3 Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Any way to integrate Qt Designer with a modeling tool ide I'm creating?

    No, I have decided to use Qt for my cross-platform GUI needs. I am building my application on top of my own custom VM and a custom language built on top of this. I am in the process of adding Qt bindings to my language in much the same way that the Ruby folks have done, exposing the basic QT API through my platform's Foreign Function Interface. So I will be using Qt for my own platform's IDE GUI, but also as a way to include GUI elements in the models and domain-specific languages that are created using my tool.

    In this context, I would like to have the Qt Designer functionality as a quick way create forms -- whether it is me creating them for my IDE or my users creating them for GUI elements integrated into the models and DSLs they create.

    Ultimately, I will probably build my own designer functionality, so that Qt GUI generation can be integrated more closely with other visual element generation (like the visual graphs that will be part of some languages created with my tool, which I'm intending to implement with OpenGL). Ultimately, I would want the designer surface to accomodate mixtures of Qt widgets and other more custom (OpenGL-implemented) smart shapes, and I'm assuming this would exceed the capability of the existing QT Designer components. But in the interim it would be nice not to be completely without a UI design surface in my tool until I get to the point in the development plan where my more full-function GUI design surface will be completed (several other things have higher prioirty and need to be completed first).

  6. #6
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Any way to integrate Qt Designer with a modeling tool ide I'm creating?

    The simplest way would be to teach your VM to read Designer UI files and then to simply let your users use Designer (probably accompanied with some custom widget plugins) as a separate executable to build their UIs.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  7. #7
    Join Date
    Oct 2011
    Posts
    4
    Qt products
    Qt3 Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Any way to integrate Qt Designer with a modeling tool ide I'm creating?

    Thanks very much for your repsonses. I suspected this would be the ultimate answer, as this is indeed what is done for the Visual Studio Add-In. I'm thinking maybe I'll make Qt Widgets the first implementation of my own toolbox/drag-drop/designer-surface functionality and go ahead and code that up just to the point of being able to generate Qt code. I'm going to the need the functionality anyway, as I mentioned earlier, so I might as well push a minimal implementation of my general engine up in the development schedule just to have an integrated facility.

    Once again, thanks very much for your help.

  8. #8
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Any way to integrate Qt Designer with a modeling tool ide I'm creating?

    It's not that you can't cut the code out of Designer and integrate it with yours. It is just that it is really lots of work that might not be worth the trouble.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. How to add menu item in tool bar using designer
    By sudheer168 in forum Qt Programming
    Replies: 7
    Last Post: 13th November 2010, 11:38
  2. Integrate Designer into own Ui
    By NoRulez in forum Qt Programming
    Replies: 9
    Last Post: 14th July 2010, 14:48
  3. How to Integrate Qt Designer to a Qt project?
    By adamsakli in forum Qt Tools
    Replies: 1
    Last Post: 12th March 2010, 13:52

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.