Talk:Directory Structure: Difference between revisions

From ParaQ Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 2: Line 2:


--[[User:Mark|Mark Richardson]] 12:25, 17 Mar 2006 (EST)
--[[User:Mark|Mark Richardson]] 12:25, 17 Mar 2006 (EST)
:: You are correct, any classes in the GUI/Widgets directory don't depend on ParaView/ServerManager/VTK at all. There are pure Qt dependent classes.
::--[[User:Utkarsh|Utkarsh]] 16:53, 17 Mar 2006 (EST)


I don't think we want all *.ui files in the Resources directory.  I'd generally only consider files processed by Qt's resource compiler belonging there.  Most *.ui files aren't resource files.
I don't think we want all *.ui files in the Resources directory.  I'd generally only consider files processed by Qt's resource compiler belonging there.  Most *.ui files aren't resource files.


--[[User:Clinton|Clinton]] 16:40, 17 Mar 2006 (EST)
--[[User:Clinton|Clinton]] 16:40, 17 Mar 2006 (EST)
:: If that's the case, then we should create another directory of Qt resorce compiler files -- may be '''QtResources''' as a sibiling (or may be a child) of every '''Resources''' directory. The '''Resources''' directory can then contain all the xml/ui files. Since we will be having xmls for filters/filter grouping etc etc it's best to keep them separate from the rest of C++ code.
::--[[User:Utkarsh|Utkarsh]] 16:53, 17 Mar 2006 (EST)

Revision as of 16:53, 17 March 2006

I think the directory structure looks good. I noticed that the chart is underneath the widgets directory. Does this mean it doesn't depend on any paraview code? I think this would be a good idea to keep it separate. Doing so would allow the chart to be reused in other Qt applications. It would be easy to put the default context menu and PGraph interface in a separate library.

--Mark Richardson 12:25, 17 Mar 2006 (EST)

You are correct, any classes in the GUI/Widgets directory don't depend on ParaView/ServerManager/VTK at all. There are pure Qt dependent classes.
--Utkarsh 16:53, 17 Mar 2006 (EST)

I don't think we want all *.ui files in the Resources directory. I'd generally only consider files processed by Qt's resource compiler belonging there. Most *.ui files aren't resource files.

--Clinton 16:40, 17 Mar 2006 (EST)

If that's the case, then we should create another directory of Qt resorce compiler files -- may be QtResources as a sibiling (or may be a child) of every Resources directory. The Resources directory can then contain all the xml/ui files. Since we will be having xmls for filters/filter grouping etc etc it's best to keep them separate from the rest of C++ code.
--Utkarsh 16:53, 17 Mar 2006 (EST)