Git Product home page Git Product logo

zf_item_view's Introduction

zf_item_view

QTableView and QTreeView with hierarchical headers, frozen columns, dragged columns and more. Tested for Qt 5.9.9, 5.15.2, 6.2.1 screenshot

Dragged columns:
screenshot

zf_item_view's People

Contributors

n-r-w avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

zf_item_view's Issues

convert qmake to cmake failed!

thanks for the awesome program!
I tried to convert the pro file to cmakelists.txt .
the hyphenator lib success, but the zf_itemview lib failed!

below is my text:


project(zf_itemview)

find_package(Qt5 REQUIRED COMPONENTS Core Gui Widgets)

file(GLOB_RECURSE APP_SOURCES "*.h" "*.cpp")

include_directories(
  ${Qt5Core_INCLUDE_DIRS}
  ${Qt5Widgets_INCLUDE_DIRS}
  ${Qt5Widgets_INCLUDE_DIRS}/5.15.2/QtWidgets/private
)

include_directories(${CMAKE_CURRENT_SOURCE_DIR})
include_directories(${PROJECT_SOURCE_DIR}/private)
include_directories(../hyphenator)

include_directories(${CMAKE_BINARY_DIR}/bin)

set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)

aux_source_directory(${CMAKE_CURRENT_SOURCE_DIR} SRCS_LIST)

add_library(zf_itemview SHARED ${SRCS_LIST})

target_link_libraries(zf_itemview PRIVATE ${CMAKE_BINARY_DIR}/bin/libhyphenator.dll)
target_link_libraries(zf_itemview PRIVATE Qt5::Core Qt5::Widgets Qt5::Gui)
target_link_libraries(zf_itemview PRIVATE Qt5::CorePrivate Qt5::WidgetsPrivate Qt5::GuiPrivate)

if ( WIN32 AND NOT CYGWIN )
    target_compile_definitions(zf_itemview PRIVATE ZF_ITEMVIEW_DLL_EXPORTS)
endif ( )


for I am newbie. I am not have a clue about cmakelists.txt.

can you please help to pick out the mistakes for me ?

ENVIRONMENT:
QT CREATOR 5
QT 5.15.2 MinGW81-64
windows 10

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.