tripji
1st October 2012, 08:35
Hi All,
I am very new to Qt, have worked in Eclipse plugin domain.
I've to design a GUI using Qt. I am planning to make use of Qt plugins as much as possible. I've following two main queries:
1- For non-ui plugins (like user profiles, pre-define date etc.) is it possible that I create one util plugin and other non-ui plugins a dependent on this plugin, So the once util plugin is loaded other plugins gets loaded and also MainWindow class should have the reference to the util plugin which will be used to access the functionalities of other non-ui plugins. (Find attached the diagram8268)
The other way is since MainWindow class already loading all plugins so we can use the reference of non-ui plugins in the main class, So in this case Util plugin is not required.
Please suggest which would be the best approach?
2- For using ui plugins is it good to have all plugin references in the MainWindow or the corresponding dock window (where plugins functionality shows) should take care of it?
Please let me know if you have any better approach for building GUI using Qt plugins.
I am very new to Qt, have worked in Eclipse plugin domain.
I've to design a GUI using Qt. I am planning to make use of Qt plugins as much as possible. I've following two main queries:
1- For non-ui plugins (like user profiles, pre-define date etc.) is it possible that I create one util plugin and other non-ui plugins a dependent on this plugin, So the once util plugin is loaded other plugins gets loaded and also MainWindow class should have the reference to the util plugin which will be used to access the functionalities of other non-ui plugins. (Find attached the diagram8268)
The other way is since MainWindow class already loading all plugins so we can use the reference of non-ui plugins in the main class, So in this case Util plugin is not required.
Please suggest which would be the best approach?
2- For using ui plugins is it good to have all plugin references in the MainWindow or the corresponding dock window (where plugins functionality shows) should take care of it?
Please let me know if you have any better approach for building GUI using Qt plugins.