Evgenii Legotckoi
Evgenii LegotckoiNov. 25, 2018, 5:11 p.m.

QtQt/C++ Tutorial 087. Get the maximum number of multiple input fields QLineEdit

QLineEdit, max, Qt

Напишем небольшое приложение для получения максимального числа из нескольких полей QLineEdit.

This means that we will have several QLineEdit fields, let's say 4 pieces into which numbers will be entered. And there will be the fifth field QLineEdit in which …

Read
Ruslan Polupan
Ruslan PolupanNov. 20, 2018, 7:42 a.m.

QtQt - Selecting data from a QSqlQuery database in a QThread stream and creating a QAbstractTableModel model based on it

QThread, Qt, QAbstractTableModel, QSqlQuery

There was a need to obtain a large amount of data from the database for the subsequent work of the user with them (Reference book of goods in a particular store).

For the code do not kick much. Programming for …

Read
Evgenii Legotckoi
Evgenii LegotckoiNov. 18, 2018, 9:52 a.m.

QtQt/C++ - Tutorial 086. Using QSequentialAnimationGroup and QPropertyAnimation to move a button

QSequentialAnimationGroup, cpp, Qt, C++, QPropertyAnimation

Let's write a small example of an application in which a button will be moved using property animations. To do this, we use the QSequentialAnimationGroup and QPropertyAnimation classes.

QSequentialAnimationGroup is a class that combines several animations into one group, which …

Read
Evgenii Legotckoi
Evgenii LegotckoiNov. 18, 2018, 5:57 a.m.

BoostBoost - Console program menu using boost::program_options

cpp, Boost, Menu, C++

And here is an article on the boost of my some accumulated materials. I offer you the option of writing a console program with support for the console menu, which is implemented using boost::program_options .

boost::program_options is responsible for processing …

Read
Evgenii Legotckoi
Evgenii LegotckoiNov. 6, 2018, 5:13 p.m.

EVILEGEVILEG - change policy regarding advertising on the site

EVILEG, Развитие, News

After talking with one of the users, I decided to change the policy regarding advertising on the site, although I am not sure about that.

I myself am not pleased with the abundance of advertising banners, but I would like …

Read
Evgenii Legotckoi
Evgenii LegotckoiOct. 27, 2018, 7:36 p.m.

DjangoDjango - Tutorial 040. How to add authentication through social networks. Facebook

Django, Facebook, Social

I added authorization on the site through Facebook.

At the same time collected a couple of pitfalls.

Before Facebook , I already added in authorization through the social network VKontakte and Google . And here I needed to create a …

Read
Evgenii Legotckoi
Evgenii LegotckoiOct. 26, 2018, 5:35 p.m.

QtQt/C++ - Tutorial 085. Work with QJsonObject, QJsonArray, QJsonDocument. Save and load JSON from files

Qt5, QJsonArray, QJsonObject, QJsonDocument, JSON, Qt

Consider a small example of the formation of a JSON document from, for example, the text and the title of this text.

For example, the text has:

  • Title - First Title
  • Content - First Content

And so on

We will …

Read
Evgenii Legotckoi
Evgenii LegotckoiOct. 25, 2018, 2:47 a.m.

DjangoDjango - Tutorial 039. Adding private messages and chats on the site - Part 2 (Dialogue and chat counter with unread messages)

django, сообщение, Python, чат

Gave free time to correct private messages on the site. This functionality is not used very often, so I do not make great efforts to improve it, although it is time to bring this functionality to adequate work.

Previously, there …

Read
Evgenii Legotckoi
Evgenii LegotckoiOct. 24, 2018, 2:38 a.m.

DjangoDjango - Tutorial 038. Use BeatifulSoup 4 to clean up the published content from unwanted html tags

BeaftifulSoup4, Django, Python, HTML, Python 3

When developing a web site that adds the ability to write comments or publish articles that allow html layout, the mechanism for clearing unwanted html tags, in particular script and style tags, is important, since malicious scripts on a quality …

Read
Evgenii Legotckoi
Evgenii LegotckoiOct. 23, 2018, 6:11 a.m.

C++C++ 17 - [[fallthrough]] attribute

cpp, C++17, fallthrough

Start at work to use a compiler that supports the standard C++17.

Actively we begin to use various features from this standard..

I was pleased with the [[fallthrough]] attribute for switch case constructions.


The essence of this attribute is that …

Read
Evgenii Legotckoi
Evgenii LegotckoiOct. 11, 2018, 2:04 p.m.

QtQt/C++ - Tutorial 084. How to run JavaScript code in a C ++ application using the example of working with two variables

Qt, QScriptEngine, QScriptValue, JavaScript, QScriptContext

Suppose you are faced with the task of executing JavaScript code in a C++ application. For example, there is a set of output data or variables whose names are known in advance, and there are pieces of JavaScript code that …

Read
Evgenii Legotckoi
Evgenii LegotckoiOct. 10, 2018, 9:32 a.m.

C++C ++ - Does the #pragma once build speed up?

C++, once, pragma

Work on a large project allows in some cases to test some theories concerning a programming language.

It was always interesting if the build is really accelerated by using the #pragma once directive instead of the classic #ifndef #define #endif …

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, 10:51 p.m.
Django - Tutorial 017. Customize the login page to Django Добрый вечер Евгений! Я сделал себе авторизацию аналогичную вашей, все работает, кроме возврата к предидущей странице. Редеректит всегда на главную, хотя в логах сервера вижу запросы на правильн…
Evgenii Legotckoi
Evgenii LegotckoiNov. 1, 2024, 12:37 a.m.
Django - Lesson 064. How to write a Python Markdown extension Добрый день. Да, можно. Либо через такие же плагины, либо с постобработкой через python библиотеку Beautiful Soup
A
ALO1ZEOct. 19, 2024, 6:19 p.m.
Fb3 file reader on Qt Creator Подскажите как это запустить? Я не шарю в программировании и кодинге. Скачал и установаил Qt, но куча ошибок выдается и не запустить. А очень надо fb3 переконвертировать в html
ИМ
Игорь МаксимовOct. 5, 2024, 5:51 p.m.
Django - Lesson 064. How to write a Python Markdown extension Приветствую Евгений! У меня вопрос. Можно ли вставлять свои классы в разметку редактора markdown? Допустим имея стандартную разметку: <ul> <li></li> <li></l…
d
dblas5July 5, 2024, 9: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, 6: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 25, 2024, 1:11 a.m.
добавить qlineseries в функции Я тут. Работы оень много. Отправил его в бан.
t
tonypeachey1Nov. 15, 2024, 5:04 p.m.
google domain [url=https://google.com/]domain[/url] domain [http://www.example.com link title]
NSProject
NSProjectJune 4, 2022, 1:49 p.m.
Всё ещё разбираюсь с кешем. В следствии прочтения данной статьи. Я принял для себя решение сделать кеширование свойств менеджера модели LikeDislike. И так как установка evileg_core для меня не была возможна, ибо он писался…

Follow us in social networks