Re: [Avogadro-devel] subclass QColumnView

2015-06-03 Thread Defusco III, Albert A
Dave and Marcus, Thanks for your help. I needed to set the correct .h file in the promoted widget using QtCreator. I also needed to add include_directories(${CMAKE_CURRENT_SOURCE_DIR}) to my CMakeLists.txt for the space group dialog. Albert

[Avogadro-devel] subclass QColumnView

2015-06-03 Thread Defusco III, Albert A
Hi everyone, I am nearing completion of my space group dialog. You can see the current state on GitHub https://github.com/AlbertDeFusco/avogadrolibs/tree/spg-rw The next thing I need to do is remove the final preview widget from my QColumnView. I believe I can subclass it as follows in

Re: [Avogadro-devel] subclass QColumnView

2015-06-03 Thread David Lonie
Have you tried using QtDesigner to add it as a promoted widget, instead of modifying the ui file directly? I suggest that approach as there may be some non-obvious bits of the ui file that need to change as well. On Wed, Jun 3, 2015 at 10:55 AM, Defusco III, Albert A defu...@pitt.edu wrote: Hi

Re: [Avogadro-devel] subclass QColumnView

2015-06-03 Thread Marcus D. Hanwell
On Wed, Jun 3, 2015 at 10:55 AM, Defusco III, Albert A defu...@pitt.edu wrote: Hi everyone, I am nearing completion of my space group dialog. You can see the current state on GitHub https://github.com/AlbertDeFusco/avogadrolibs/tree/spg-rw The next thing I need to do is remove the final