Giter Site home page Giter Site logo

qtadditions's Introduction

QtAdditions

A group of additional classes and functions that are useful when creating user interfaces in Qt.

Contents

These are the classes a functions found in the include and src folders.

QWidgetListWidget

A Qt list widget containing complex sub-widgets.

The QWidgetListWidget class is a list widget that can contain a list of arbitrary widgets as items. The items can have any control put into them. The list widget supports scrolling, selection and drag-and-drop.

Here is an example showing how the widget looks:

example app

QTableWidgetWithComboBox

Allow putting a comb-box widget inside a multi-column list widget.

QHeaderViewWithWidgets

Allow putting widgets in the header row of a table view.

QtUtilities

Various functions to create toolbar buttons, create actions, use the open or save dialogs, ask questions, create pixmap from Windows bitmap resources.

Examples

The examples folder contains multiple simple example application for many of these classes. They also contain more extensive documentation about the design of each Qt utility classes.

Dependencies and Build

The project requires Qt. It was built using Qt 5.15. It uses CMake to build the project. CMake 3.7 was used.

A script to generate a Visual-Studio solution is provided. In order for CMake to find Qt, the environment variable QT5_DIR must be defined and must point to the Qt 5.15 directory. For example:

    QT5_DIR=C:\Tools\Qt\5.15.0\msvc2019_64

Alternatively, to invoke cmake directly, it needs to be told where to find Qt. It needs the environment variable CMAKE_PREFIX_PATH set to the location of Qt. For example:

    CMAKE_PREFIX_PATH=C:\Tools\Qt\5.15.0\msvc2019_64

qtadditions's People

Contributors

acracan avatar danielpopax avatar pierrebai avatar

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.