crapp / qaccordion Goto Github PK
View Code? Open in Web Editor NEWAn Accordion Widget for the Qt application framework
Home Page: http://crapp.github.io/qaccordion
License: GNU General Public License v3.0
An Accordion Widget for the Qt application framework
Home Page: http://crapp.github.io/qaccordion
License: GNU General Public License v3.0
At least in qt6, this is happening. When you click on the clickable frame the first time, single click registers like it should. If you click a second time, the double click handler catches the event instead of the single click, and it's not propagated to mousePressEvent
at all. It doesn't matter how long you wait, the double click handler still catches the second click. The only time it doesn't is if you move the mouse off of the clickable frame.
The fix is to call the base implementation of mouseDoubleClickEvent
instead of just ignoring the event.
Appears to be compatible with qt5 anyways.
It might be useful to have this on inqlude.
Would you consider releasing this under the LGPL v2.1, MIT, or Apache license? I'd like to use it (or at least try it out), but its current license of GPLv3 is incompatible with using it in a commercial context.
CMakeLists does not support MSVC compiler
in
# Compiler-specific C++11 activation.
if ("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU")
execute_process(
COMMAND ${CMAKE_CXX_COMPILER} -dumpversion OUTPUT_VARIABLE GCC_VERSION)
if (NOT (GCC_VERSION VERSION_GREATER 4.7 OR GCC_VERSION VERSION_EQUAL 4.7))
message(FATAL_ERROR "${PROJECT_NAME} requires g++ 4.7 or greater.")
endif ()
elseif ("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang")
if (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libstdc++")
elseif (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++")
endif()
else ()
message(FATAL_ERROR "Your C++ compiler does not support C++11.")
endif ()
add an else for MSVC (also I think you need to unquote the variables), it needs no additional flags.
second thing:
add the configuration of the output to NMake Makefiles otherwise it will generate unusable project files instead of makefiles
In alternative, include the classic .pro files that can be used with qmake
As the title states, although the library and the example build successfully with QT 5.9 (x64 Windows 10), upon running it and selecting to add a new pane it causes the demo application to crash.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.