Skip to content

Shoker2/TS2-Simple-Keyboard

Repository files navigation

TS2 Simple Keyboard

image

How to use

First open TS2_SimpleKeyboard.exe

  • Side buttons are needed to switch letters between

image

  • When you click on the button in the middle, it is printed in a line.

image

  • Space - Space

  • Backspace - Erase a letter

  • Shift - Use capital/small letters

  • Change language - Change language

image

  • Copy - Copy typed text
  • Paste - Paste copied text
  • Clear - Clear input line

image

How to setup

There are 3 files in the application root folder:

  • langs.yml
  • langs_settings.yml
  • style.css
  • config.ini

image

How to add a language

  1. Open langs.yml
  2. At the very bottom, add the line "<Language name>:"
  3. Under the added line, add all the letters of the alphabet in the format "- "<letter>" "
  4. Ready

How to set the language

  1. Open langs_settings.yml
  2. Copy the existing language settings in the file.
  3. Instead of the name of the language of the copied language, indicate the language you need
  4. Now you can change the font and also adjust its size. You can also change the button text.

image

How to set the style sheet

  1. Open style.css
  2. Now you can specify the styles sheet you need

You can use the following classes:

  • .QWidget - styles sheet for window

  • .QPushButton - styles sheet for buttons

  • .QLineEdit - styles sheet for line edit