Results 1 to 2 of 2

Thread: Plugin Arch Questions

  1. #1
    Join Date
    Mar 2008
    Location
    Houston, Texas, USA
    Posts
    277
    Thanks
    9
    Thanked 17 Times in 17 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Maemo/MeeGo

    Default Plugin Arch Questions

    I recently add my plugin manager and plugin to my application. But I'm having trouble integrating the plugin system. Well to exact. I have the application locating my plugins and adding them and unloading fine. The only problem is trying to decide on how to do it correctly.

    The way the application is design is a little complicated due to the feature I have.

    Main Window -> Server View -> ServerView Tab -> ChannelView -> Channel.

    Where as ServerView can have many ServerTab's. And each ServerTab can have a ChannelView and many tabs for it. The problem I have right now is trying to figure out how to get the input from all the channels in each Server and make it available to the plugin without complicating anything and make it easier so the user writting the plugin doesn't have to do much work to manipulate the stuff.
    Qt-4.7.3 | Gentoo ~amd64 | KDE-4.7
    Aki IRC Client for KDE4 | Qt Documentation

  2. #2
    Join Date
    Jan 2006
    Location
    travelling
    Posts
    1,116
    Thanks
    8
    Thanked 127 Times in 121 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Plugin Arch Questions

    signals and slots? either define relevant slot names as part of your plugin API/guidelines and connect everything for each plugin you load (the slots may or may not be defined in the plugins but it doesn't really matter...) or pass an object to plugin and let them make the connections they deem interesting.
    Current Qt projects : QCodeEdit, RotiDeCode

Similar Threads

  1. Replies: 11
    Last Post: 13th July 2009, 17:05
  2. Problem with plugin signals/slots
    By DiamonDogX in forum Qt Programming
    Replies: 8
    Last Post: 5th June 2009, 17:01
  3. Trouble with plugin system's documentation
    By niklas in forum Qt Programming
    Replies: 8
    Last Post: 6th March 2009, 23:07
  4. Plugin implementation question
    By JPNaude in forum Qt Programming
    Replies: 12
    Last Post: 27th August 2008, 21:24
  5. QPluginLoader not recognizing a plugin
    By KShots in forum Qt Programming
    Replies: 3
    Last Post: 29th June 2007, 15:13

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.