Evgenii Legotckoi
Evgenii LegotckoiApril 8, 2017, 7:52 a.m.

DjangoDjango - Tutorial 022. Adding a bookmark system (favorites) to the site

bookmark, AJAX, favorite, Django, jQuery

The site has the ability to mark articles, comments, topics and answers on the forum as favorites. However, marking as favorites does not provide a reload of the page, because for these actions the mechanism of AJAX-requests is used.

In …

Read
Evgenii Legotckoi
Evgenii LegotckoiApril 7, 2017, 3:22 a.m.

QtQt/C++ - Lesson 062. Comparator for sorting QList

QList, sort, сортировка

When working with simple types, you can use standard sorting tools. If you want to sort complex objects, by a set of parameters, then you need to write a special comparator, which will perform a comparison on the required parameters. …

Read
Evgenii Legotckoi
Evgenii LegotckoiApril 2, 2017, 2:22 p.m.

PyQt5PyQt5 - Lesson 007. Works with QML QtQuick (Signals and slots)

PyQt5, QML, QtQuick, Signal, Slot

And now we will go deeper into the work with Qt using PyQt5, taking advantage of modern Qt features. By such possibilities I mean QtQuick and QML. PyQt5 allows you to use Qt classes that can process QML code, and …

Read
Evgenii Legotckoi
Evgenii LegotckoiApril 1, 2017, 12:16 p.m.

QtQt Linux - Lesson 003. Checking the battery level of the laptop using libacpi

Qt, Battery, libacpi

On the forum we to talk about checking the battery level of the laptop under Linux using the Qt library. In fact, Qt does not currently provide a class that would allow you to check the battery charge. But such …

Read
Evgenii Legotckoi
Evgenii LegotckoiMarch 30, 2017, 1: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
Evgenii LegotckoiMarch 27, 2017, 1: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
Evgenii LegotckoiMarch 26, 2017, 1: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
Evgenii LegotckoiMarch 15, 2017, 2:12 p.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
Evgenii LegotckoiMarch 15, 2017, 1: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
Evgenii LegotckoiMarch 15, 2017, 12: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
Evgenii LegotckoiFeb. 3, 2017, 11:55 a.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
Evgenii LegotckoiJan. 27, 2017, 7:53 a.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
AD

C ++ - Test 004. Pointers, Arrays and Loops

  • Result:50points,
  • Rating points-4
m

C ++ - Test 004. Pointers, Arrays and Loops

  • Result:80points,
  • Rating points4
m

C ++ - Test 004. Pointers, Arrays and Loops

  • Result:20points,
  • Rating points-10
Last comments
ИМ
Игорь МаксимовNov. 22, 2024, 5:51 p.m.
Django - Tutorial 017. Customize the login page to Django Добрый вечер Евгений! Я сделал себе авторизацию аналогичную вашей, все работает, кроме возврата к предидущей странице. Редеректит всегда на главную, хотя в логах сервера вижу запросы на правильн…
Evgenii Legotckoi
Evgenii LegotckoiOct. 31, 2024, 7:37 p.m.
Django - Lesson 064. How to write a Python Markdown extension Добрый день. Да, можно. Либо через такие же плагины, либо с постобработкой через python библиотеку Beautiful Soup
A
ALO1ZEOct. 19, 2024, 2:19 p.m.
Fb3 file reader on Qt Creator Подскажите как это запустить? Я не шарю в программировании и кодинге. Скачал и установаил Qt, но куча ошибок выдается и не запустить. А очень надо fb3 переконвертировать в html
ИМ
Игорь МаксимовOct. 5, 2024, 1:51 p.m.
Django - Lesson 064. How to write a Python Markdown extension Приветствую Евгений! У меня вопрос. Можно ли вставлять свои классы в разметку редактора markdown? Допустим имея стандартную разметку: <ul> <li></li> <li></l…
d
dblas5July 5, 2024, 5:02 p.m.
QML - Lesson 016. SQLite database and the working with it in QML Qt Здравствуйте, возникает такая проблема (я новичок): ApplicationWindow неизвестный элемент. (М300) для TextField и Button аналогично. Могу предположить, что из-за более новой верси…
Now discuss on the forum
m
moogoNov. 22, 2024, 1:17 p.m.
Mosquito Spray System Effective Mosquito Systems for Backyard | Eco-Friendly Misting Control Device & Repellent Spray - Moogo ; Upgrade your backyard with our mosquito-repellent device! Our misters conce…
Evgenii Legotckoi
Evgenii LegotckoiJune 24, 2024, 9:11 p.m.
добавить qlineseries в функции Я тут. Работы оень много. Отправил его в бан.
t
tonypeachey1Nov. 15, 2024, 12:04 p.m.
google domain [url=https://google.com/]domain[/url] domain [http://www.example.com link title]
NSProject
NSProjectJune 4, 2022, 9:49 a.m.
Всё ещё разбираюсь с кешем. В следствии прочтения данной статьи. Я принял для себя решение сделать кеширование свойств менеджера модели LikeDislike. И так как установка evileg_core для меня не была возможна, ибо он писался…

Follow us in social networks