Results 1 to 9 of 9

Thread: Qt widget libraries/catalogs/etc

  1. #1
    Join Date
    Aug 2008
    Location
    Usa
    Posts
    12
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Qt widget libraries/catalogs/etc

    Hello all!

    I have spent a lot of time surfing the net and looking for ready Qt custom widget libraries/catalogs. However, I haven`t found anything except these to catalogs:
    1. http://www.qtcentre.org/links/14/28
    2. http://www.wysota.eu.org/wwwidgets/
    Those 2 libraries do not contain components I`ve been looking for: custom docking widgets like those ones in Microsoft Visual Studio 2005.
    It will be great if someone will explain me are there any libraries of Qt widgets, and, if they are, where I can find them.
    For now, my opinion is that any custom widgets you have to create manually (as opposed to .NET where there are a lot of 3rd party libraries such as devexpress.com)

  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: Qt widget libraries/catalogs/etc

    What do you mean by "custom docking widgets"? You mean the IDEAI interface? AFAIK there is no such component for Qt4, but it should be possible to implement it if one paid enough

  3. #3
    Join Date
    Aug 2008
    Location
    Usa
    Posts
    12
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt widget libraries/catalogs/etc

    wysota,

    Could you please describe what does IDEAI interface mean? In my initial post I wrote that I would like to implement some docking behavior like in Microsoft Visual Studio 2005: when you begin dock any window it shows where I can leave that window using blue areas and docking anchors.

  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: Qt widget libraries/catalogs/etc

    That's not IDEAI then. Well... it's part of it. I think you should be able to implement it (or something similar) by cleverly handling intercepted events from dock widgets. It needs some work so I doubt if anyone will implement it in his free time. Honestly I've never seen such a mechanism outside Visual Studio.

  5. #5
    Join Date
    Aug 2008
    Location
    Usa
    Posts
    12
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt widget libraries/catalogs/etc

    wysota,

    Ok, thank you very much. At this moment I have 2 more questions:
    1. Could you please describe generally which handlers I have to implement to accomplish such task (I do not have strong knowledge of Qt (for now ), so a little roadmap will be very appreciated).
    2. Are any libraries of components/widgets for Qt in the net? Or the most common approach is to create them by yourself when something is needed?

  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: Qt widget libraries/catalogs/etc

    Quote Originally Posted by erik View Post
    1. Could you please describe generally which handlers I have to implement to accomplish such task (I do not have strong knowledge of Qt (for now ), so a little roadmap will be very appreciated).
    You'll have to install an event filter for each dock widget you want to handle so that all their events are forwarded to the main window (which may already be the case, so maybe installing the filter for the second time is not required). Then you have to check when the dock widget is being undocked and when it is, tell your main window subclass to paint the possible locations (so you'll have to reimplement paintEvent). You also need to find out what locations are possible, but I guess this part is up to you.

    2. Are any libraries of components/widgets for Qt in the net? Or the most common approach is to create them by yourself when something is needed?
    Check out qtapps.org. There are different approaches to the case, for instance you can find many nice components by browsing this site (mostly in different threads on the forum but also in the wiki).

  7. #7
    Join Date
    Aug 2008
    Location
    Usa
    Posts
    12
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt widget libraries/catalogs/etc

    wysota,

    Thank you very much for your answers .

  8. #8
    Join Date
    Aug 2008
    Posts
    19
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt widget libraries/catalogs/etc

    Hi,

    In case you're interested in an IDEA dock widget after all there's a lib that has this functionally (among other things like SpellChecker, extra widgets, etc). It's called DLib and it's source is avaliable here:

    http://gitorious.org/projects/dlib

    The IDEA component is called ideality.

    One thing, the link above is for the source of the main tree. This tree:

    http://gitorious.org/projects/dlib/repos/netuno-sandbox

    Has several improvements on the spell checker (just in case you're interested).

    Hope this helps

  9. #9
    Join Date
    Aug 2008
    Location
    Usa
    Posts
    12
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt widget libraries/catalogs/etc

    netuno,

    Thank you very much for links, I`m going to take a look there.

Similar Threads

  1. Playbutton functionality
    By uchennaanyanwu in forum Qt Programming
    Replies: 5
    Last Post: 31st July 2008, 22:29
  2. How to Open & Close a Widget ?!!
    By Fatla in forum Qt Programming
    Replies: 6
    Last Post: 13th June 2008, 20:39
  3. Tricky problem with ARGB widget / UpdateLayeredWindow
    By nooky59 in forum Qt Programming
    Replies: 3
    Last Post: 21st February 2008, 10:35
  4. Controlling which widget on top layer?
    By JonathanForQT4 in forum Qt Programming
    Replies: 6
    Last Post: 22nd March 2007, 14:27
  5. [Qt 4.1.0] Split a widget on demand
    By Townk in forum Qt Programming
    Replies: 3
    Last Post: 17th February 2006, 14:16

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.