Skip to content

seanngpack/qt-collapsible-section

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QT: Collapsible Section

This is a fork from https://github.com/MichaelVoelkel/qt-collapsible-section

This fork adds functionality to export this widget to QT Designer and also enables autoUI compiling of this widget.

You'll see that the constructor of Section has changed to acces no arguments. This is because when you use autoUIC to compile from a .ui file to ui_.h file, it only uses the default constructor, so you will have a nasty compiletime error if your constructor is not default. There will also be a couple macros in the Section.h header that allow for widget exporting. And in the CmakeLists.txt, the Section is compiled as a shared library and installed to your Qt/designer folder as a plugin.

Instructions:

$ git clone https://github.com/seanngpack/qt-collapsible-section
$ cd qt-collapsible-section
$ mkdir build
$ cd build
$ cmake ..
$ sudo make install  # this step is essential installs the widget to your QT plugins folder

Sample Animation

section opening and closing

About

Basic collapsible section for Qt with Qt Designer support

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 92.5%
  • CMake 7.5%