Evgenii Legotckoi
March 30, 2017, 11:47 p.m.

QtQt/C++ - Lesson 061. Adding images to the application using the Drag And Drop method from the file manager

QDropEvent, QStyledDelegate, QListView, QStandardItemModel

Let's write a small application that will allow Drag and Drop to drag and drop images from the file manager into the application itself. In this application, there will be an image preview area and a list of all the …

Read
Evgenii Legotckoi
March 27, 2017, 11:20 p.m.

QtQt/C++ - Lesson 060. Configuring the appearance of the application in runtime

QStyle, QStyleFactory, Fusion, QPalette

Suppose there is a task to change the appearance of the application written on QWidget. To change the style of the application application, you can use both the QPalette classes, and install the style through QStyleSheet for specific elements, and …

Read
Evgenii Legotckoi
March 26, 2017, 11:45 a.m.

DjangoDjango - Tutorial 021. Model Inheritance, Abstract Model

model, Django, наследование

After refactoring on the site, four main entities were identified, in which common properties were identified, namely:

  • Article - articles
  • Comment - comments
  • ForumTopic - Forum themes (questions)
  • ForumPost - Answers to forum topics

Of course, and so it was …

Read
Evgenii Legotckoi
March 16, 2017, 12:12 a.m.

DjangoDjango - Tutorial 020. Adding articles pagination to the site using ListView and django-bootstrap3

Pagination, Django, django-bootstrap3, ListView

In one of the previous articles , the option of introducing a page with articles pagination was shown, which can be the main page of the site, for example. In this case, django-bootstrap3 was used.

But if the page does …

Read
Evgenii Legotckoi
March 15, 2017, 11:10 p.m.

PyQt5PyQt5 - Lesson 006. Work with QTableWidget

PyQt5, Python, QTableWidget

For initial acquaintance with QTableWidget in PyQt5 we will create a table with three columns and one row. When you hover over the table headings, a pop-up message will be displayed. The text in the headers will be aligned to …

Read
Evgenii Legotckoi
March 15, 2017, 10:12 p.m.

PyQt5PyQt5 - Lesson 005. Autocompletion for an input field using QCompleter

PyQt5, QCompleter, Python, QLineEdit

The Qt library has a QCompleter class, which allows you to offer autocompletion to the input word in the input fields. This class is also supported by the PyQt5 library.

In the minimum, the application of this class might look …

Read
Evgenii Legotckoi
Feb. 3, 2017, 10:55 p.m.

QMLQML - Lesson 027. Adding QML in project based on QWidget

QQuickWidget, QML, C++, QWidget

When developing your application to Qt may happen a situation where required in an application written in QWidgets implement functional written in QML. To solve such a problem can be used QQuickWidget class that is used to render QML . …

Read
Evgenii Legotckoi
Jan. 27, 2017, 6:53 p.m.

QtQPainter OpenGL Core Profile Context Support

Qt 5.9, qtbase, OpenGL, QOpenGLWindow, QOpenGLWidget

As many people know, QPainter has a multi-backend architecture and has two main rendering implementations under the hood of Qt 5: The raster rendering engine and an OpenGL2 engine that targets OpenGL ES 2.0.

GL Paint Engine

While the bitmap …

Read
Evgenii Legotckoi
Jan. 26, 2017, 11:07 p.m.

QtConnecting your Qt application to Google services using OAuth 2.0

OAuth2, Qt, Google API, QtNetworkAuth

With the release of Qt 5.8, the QtNetworkAuth module has been added as a technology pending. It's focused on helping developers with their authentication frenzy. Currently OAuth1 and OAuth2 are supported. More authorization methods will be included in the future. …

Read
Evgenii Legotckoi
Jan. 25, 2017, 9:07 p.m.

QtQt 5.8 released

Qt Lite, Qt 5.8, QML, Charts, Wayland, CAN, Modbus, Quick

On January 23, Qt Company announced the release of Qt 5.8, with a number of innovations that are quite global in nature. Let's get to know them.

Qt Lite

One of the main themes of Qt 5.8 is to make …

Read
  • Last comments
  • ИМ
    Nov. 22, 2024, 9:51 p.m.
    Добрый вечер Евгений! Я сделал себе авторизацию аналогичную вашей, все работает, кроме возврата к предидущей странице. Редеректит всегда на главную, хотя в логах сервера вижу запросы на правильн…
  • Evgenii Legotckoi
    Oct. 31, 2024, 11:37 p.m.
    Добрый день. Да, можно. Либо через такие же плагины, либо с постобработкой через python библиотеку Beautiful Soup
  • A
    Oct. 19, 2024, 5:19 p.m.
    Подскажите как это запустить? Я не шарю в программировании и кодинге. Скачал и установаил Qt, но куча ошибок выдается и не запустить. А очень надо fb3 переконвертировать в html
  • ИМ
    Oct. 5, 2024, 4:51 p.m.
    Приветствую Евгений! У меня вопрос. Можно ли вставлять свои классы в разметку редактора markdown? Допустим имея стандартную разметку: <ul> <li></li> <li></l…
  • d
    July 5, 2024, 8:02 p.m.
    Здравствуйте, возникает такая проблема (я новичок): ApplicationWindow неизвестный элемент. (М300) для TextField и Button аналогично. Могу предположить, что из-за более новой верси…