Giter Club home page Giter Club logo

notessa's Introduction

Notessa

This application allows you to create notes of many types.

Table of contents

Note

Currently, version 3.0 is being developed locally. The application architecture has been completely redesigned. Due to health issues, development time is increasing.

Installing dependencies

To install dependencies you need to run the following command:

pip install -r requirements.txt

The version of Python for which the project was developed: 3.12

The entry point to applications is the app.py file, which is located in the Notessa directory.

You need to enter the command while above the directory!

Notessa
├── app.py
├── ...
└── ...

While in the directory above, you need to run the command:

for Windows

python -m Notessa.app

for Linux

python3 -m Notessa.app

Building the project

While in the directory with the app.py file, enter the command:

pyinstaller --name="Notessa" -w app.py

The application will be built, and a Notessa.spec file will be created in the same directory. Subsequently, you can build/rebuild the project using this manifest:

pyinstaller Notessa.spec

Creating a translation

While in the project directory, i.e. in "Notessa", to create a file for translation, you must enter the following command:

pyside6-lupdate ./ -ts ru.ts

This file can then be opened in Qt Linguist and the required parts can be translated. After the translation is completed, you need to convert the file from .ts to .qm format. This is done as follows:

pyside6-lrelease ru.ts -qm ru.qm

After successful conversion, the files must be placed in the project directory in the ./resource/translations/ directory Next, if a resource file with translations exists, you need to enter a line with a new translation file:

<RCC>
  <qresource>
    <file>translations/en.qm</file>
    <file>translations/ru.qm</file>
  </qresource>
</RCC>

Finally, you need to convert the resource file to a Python file as follows:

pyside6-rcc translations.qrc -o translations_rc.py

Known Issues

  • Sometimes, while in CreateVideoNoteWidget and after closing it, the application crashes. The reason is not clear.
  • Cannot find the correct canvas size in CreatePaintNoteWidget. There have been attempts to measure the height of widgets to calculate the correct size, but the attempts were unsuccessful.
  • Currently, it is not possible to resize the entire application window. This is because there is an issue with PaintNote canvas being sized correctly. In addition, at the moment it is not clear how to correctly resize the PaintNote canvas (not scaling, but the size, as in the Paint graphic editor in Windows).
  • The application window can be moved in Windows, but it doesn't work in Linux (tested only in Ubuntu 22.04). This is due to a Qt issue (Wayland relocation issue). In X11 (tested in Manjaro KDE kernel 6.1.31-2-Manjaro DE Plasma 5.27.5), the ability to move the window is available, but it does not work correctly (jerks, super-fast movement).
  • In the new version of the application (applies to Linux, tested on Ubuntu 22.04), it is not possible to get a preview from the webcam or record video, although sound is recorded. In Windows 10, recording and display occurs correctly. The triggering of the Webcam is also not clear, either this is due to the camera taking a long time to load, or a problem with the media classes.
  • There is no message about the need to manually restart the application after changing the language.

notessa's People

Contributors

eixini avatar

Stargazers

 avatar  avatar

Watchers

 avatar  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.