Giter Site home page Giter Site logo

qlightterminal's Introduction

QLightTerminal

Current Version

A simple lightweight terminal widget for Qt6.

Terminal Preview

Usage

Download the latest QLightTerminal-Pri source and include all files in a sub folder of your project. The widget can be included into your project by adding following line to your .pro file.

include(<path-to-subdir>/QLightTerminal/QLightTerminal.pri);

Afterwards it can be used as followed:

File: main.cpp

#include "libs/QLightTerminal/qlightterminal.h"

MainWindow::MainWindow(QWidget *parent)
    : QMainWindow(parent), ui(new Ui::MainWindow)
{
    ui->setupUi(this);

    QLightTerminal* terminal = new QLightTerminal();
    
    // optional style options
    terminal->setFontSize(10, 500);
    terminal->setBackground(QColor(24, 24, 24));
    terminal->setPadding(8,0);
    terminal->setLineHeightScale(1.25);
    
    setCentralWidget(terminal);
}

Testing

✅ Linux Ubuntu (Ubuntu, ZorinOS)
✅ Arch (Manjaro)
❓ Windows


License

You can check out the full license here

As stated by the Qt open source premise this project is license under LGPL v3. Since some parts of the project are based on the Suckless Simple Terminal the following files fall under the Mit-License: st.cpp, st.h,st-utils.h.

qlightterminal's People

Contributors

chargein avatar

Stargazers

 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  avatar

qlightterminal's Issues

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.