All Projects → Megaxela → Qcodeeditor

Megaxela / Qcodeeditor

Licence: mit
Qt Code Editor widget.

Projects that are alternatives of or similar to Qcodeeditor

Qt Advanced Docking System
Advanced Docking System for Qt
Stars: ✭ 422 (+210.29%)
Mutual labels:  qt, qt5, widget
Qmarkdowntextedit
A C++ Qt QPlainTextEdit widget with markdown highlighting support and a lot of other extras
Stars: ✭ 182 (+33.82%)
Mutual labels:  qt, qt5, widget
Versatile
A simple 3D model editor based on simple quads and a sprite set.
Stars: ✭ 132 (-2.94%)
Mutual labels:  qt, qt5
Awesome Kde
A curated list of awesome apps, extensions, modules, themes and tools for the KDE Desktop Environment.
Stars: ✭ 101 (-25.74%)
Mutual labels:  qt, qt5
Qhttpengine
HTTP server for Qt applications
Stars: ✭ 112 (-17.65%)
Mutual labels:  qt, qt5
Reader
Reader for PDF,use Qt5 and Poppler
Stars: ✭ 89 (-34.56%)
Mutual labels:  qt, qt5
Tidal Discord Rich Presence Unofficial
UNOFFICIAL Tidal Discord Rich Presence
Stars: ✭ 93 (-31.62%)
Mutual labels:  qt, qt5
Telegram Qt
Qt-based library for Telegram network
Stars: ✭ 105 (-22.79%)
Mutual labels:  qt, qt5
Otter Browser
Otter Browser aims to recreate the best aspects of the classic Opera (12.x) UI using Qt5
Stars: ✭ 1,289 (+847.79%)
Mutual labels:  qt, qt5
Embedded Ide
IDE for C embedded development centered on bare-metal ARM systems
Stars: ✭ 127 (-6.62%)
Mutual labels:  qt, qt5
Qgnomeplatform
QPlatformTheme for a better Qt application inclusion in GNOME
Stars: ✭ 126 (-7.35%)
Mutual labels:  qt, qt5
Simple Mail
An SMTP library written in C++ for Qt. Allows applications to send emails (MIME with text, html, attachments, inline files, etc.) via SMTP. Supports SSL and SMTP authentication.
Stars: ✭ 134 (-1.47%)
Mutual labels:  qt, qt5
Qtbase
Qt Base (Core, Gui, Widgets, Network, ...)
Stars: ✭ 1,298 (+854.41%)
Mutual labels:  qt, qt5
Bitsofbytes
Code and projects from my blog posts.
Stars: ✭ 89 (-34.56%)
Mutual labels:  qt, qt5
Notepanda
📃 A simple cross-platform notepad. Based on Qt and C++.
Stars: ✭ 134 (-1.47%)
Mutual labels:  qt, qt5
Linuxdeployqt
Makes Linux applications self-contained by copying in the libraries and plugins that the application uses, and optionally generates an AppImage. Can be used for Qt and other applications
Stars: ✭ 1,287 (+846.32%)
Mutual labels:  qt, qt5
Apk Icon Editor
APK editor to easily change APK icons, name and version.
Stars: ✭ 104 (-23.53%)
Mutual labels:  qt, qt5
Tabtoolbar
A small library for creating tabbed toolbars
Stars: ✭ 129 (-5.15%)
Mutual labels:  qt, widget
Borg Backup Gui
BORG BackUP GUI is a simple GUI for managing Borg backups. Currently I am developing some extensions.
Stars: ✭ 77 (-43.38%)
Mutual labels:  qt, qt5
Xi Qt
A Qt front-end for xi-editor. Experimental (WIP)
Stars: ✭ 85 (-37.5%)
Mutual labels:  qt, qt5

Qt Code Editor Widget

It's a widget for editing/viewing code.

This project uses a resource named qcodeeditor_resources.qrc. The main application must not use a resource file with the same name.

(It's not a project from a Qt example.)

Requirements

  1. C++11 featured compiler.
  2. Qt 5.

Abilities

  1. Auto parentheses.
  2. Different highlight rules.
  3. Auto indentation.
  4. Replace tabs with spaces.
  5. GLSL completion rules.
  6. GLSL highlight rules.
  7. C++ highlight rules.
  8. XML highlight rules.
  9. JSON highligh rules.
  10. Frame selection.
  11. Qt Creator styles.

Build

It's a CMake-based library, so it can be used as a submodule (see the example). But here are the steps to build it as a static library (for external use for example).

  1. Clone the repository: git clone https://github.com/Megaxela/QCodeEditor
  2. Go into the repository: cd QCodeEditor
  3. Create a build folder: mkdir build
  4. Go into the build folder: cd build
  5. Generate a build file for your compiler: cmake ..
    1. If you need to build the example, specify -DBUILD_EXAMPLE=On on this step.
  6. Build the library: cmake --build .

Example

By default, QCodeEditor uses the standard QtCreator theme. But you may specify your own by parsing it with QSyntaxStyle. The example uses Dracula theme. (See the example for more.)

LICENSE

Library is licensed under the MIT License

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].