Code Monkey home page Code Monkey logo

ef.qt's Introduction

ef.qt

ef.js equivalent for Qt

Make Qt great again!

efqt-demo-min

Important Note

This project is still in development. This is only a preview version of ef.qt. Use it at your own risk.

What?

ef.qt is a simple mv* framework which greatly simplifies your Qt application development. With UI and program logic seperated completely, ef.qt gives you whole control of your app while still remains full flexibility.

Why do I need it?

Free you from the not very easy-to-use Qt Creator or creating tons of widgets and layouts manually, and mixing logic with UI heavily and has no chance to modify UI without touching the logic. With only the needed information exposed to your logic layer, you don't need to have UI and logic pasta together any more.

Start coding with modern design philosophy from NOW!

How?

Check out https://github.com/TheNeuronProject/efqt-hello-world for a very quick example!

image

image

Usage

Install node if not installed already. Personally I recommend using n-install. Node v10 or above is required.

Then

# If installed from elsewhere, first remove with
npm r -g ef.qt

# Install brand new or update
npm i -g ef.qt

# Init a new project in current directory
efqt init

# Scan and generate cpp code for ef templates
efqt generate

# Compile one template to one header
efqt compile

# Watch file changes and auto re-compile
efqt watch

# Generate auto completion for shells
efqt completion

For more usage please see efqt --help

Development

# If installed from elsewhere, first remove with
npm r -g ef.qt

# Clone the repository
git clone 'https://github.com/TheNeuronProject/ef.qt'

# Install locally
cd ef.qt
npm i -g .

# To update dependencies after a pull or branch switch, do
npm i

and you are good to go. No need for re-install after modification, it works out of the box.

Documentation

TBD, refer to created template for now. Also ef.js.org may help understanding the EFML language syntax and basic concept of ef frameworks.

License

MIT

ef.qt's People

Contributors

classicoldsong avatar

Watchers

James Cloos 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.