Git Product home page Git Product logo

qtpyeditor's Introduction

qtpyeditor

Description

What is qtpyeditor

qtpyeditor is an simple editor in pure Python-Qt binding for both PyQt5 and PySide2.

The in order to solve the problem that PySide2 lacks QScintilla bindings.

NOTE: This repository is just an EDITOR, not an Full-functional IDE !

Developers and License

This package is developed by PyMiner develop team to support the software of PyMiner, and the license should follow the qt-bindings' license.

if PyQt5, license should be GPL; or if PySide2, it should under LGPL License.

email:[email protected]

Functions

  • Line numbering

  • Code Highlighting and Style-Setting

  • Autocomplete with background QThread

  • Add Hints to code

    • For example, the editor could change background color to red if an undefined variable is found.

Functions not supported yet -- The items below are also TODOs

  • Find and Replace

  • Add Markers (especially the red dot for debugging)

  • Fold Code

  • Highlight Hyperlinks

Software Architecture

Coding on pure Python, calling the Qt-bindings.

Installation

  1. install dependencies
pip install -r requirements.txt

NOTE: qtpy is an upper interface on PyQt5/PySide2, which works only if either of PyQt5/PySide2 is installed. So please make sure you have one qt-python binding installed in the site-packages.

Run Editor

  1. run command:
python test.py
  1. And you will see an simple editor shown.

qtpyeditor's People

Contributors

hzyrc6011 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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.