1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
from QtTextEditor import QtWidgets, QtGui, QtCore
from .statusBar import StatusBar


import os

PROJECT_ROOT = os.path.normpath(os.path.join(os.path.dirname(os.path.realpath(__file__)), '..')) #Projects path

class MyApp(QtWidgets.QMainWindow):
    '''
    Main TextEditor class
    '''

    def __init__(self):
        super(MyApp, self).__init__()

        self.fileBasename = "Untitled"
        self.filePath = None
        self._CHAR_MAX = 140
      
        self.settings = QtCore.QSettings("RomanVolodin", "QtTextEditor")

        self.setupUI()
        self.restoreSettings()

You’ll find this post in your `_posts` directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run `jekyll serve`, which launches a web server and auto-regenerates your site when a file is updated.

Sub Title

You’ll find this post in your `_posts` directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run `jekyll serve`, which launches a web server and auto-regenerates your site when a file is updated.