Qt → Qt/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 …
Qt → Qt/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 …
Django → Django - Tutorial 021. Model Inheritance, Abstract Model
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 …
Django → Django - 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 …
PyQt5 → PyQt5 - Lesson 006. Work with 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 …
PyQt5 → PyQt5 - 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 …
QML → QML - 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 . …
Qt → QPainter 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 …
Qt → Connecting 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. …
- Last passed tests
- Last comments
- ИМNov. 22, 2024, 9:51 p.m.Добрый вечер Евгений! Я сделал себе авторизацию аналогичную вашей, все работает, кроме возврата к предидущей странице. Редеректит всегда на главную, хотя в логах сервера вижу запросы на правильн…
- Подскажите как это запустить? Я не шарю в программировании и кодинге. Скачал и установаил Qt, но куча ошибок выдается и не запустить. А очень надо fb3 переконвертировать в html
- ИМOct. 5, 2024, 4:51 p.m.Приветствую Евгений! У меня вопрос. Можно ли вставлять свои классы в разметку редактора markdown? Допустим имея стандартную разметку: <ul> <li></li> <li></l…
- Здравствуйте, возникает такая проблема (я новичок): ApplicationWindow неизвестный элемент. (М300) для TextField и Button аналогично. Могу предположить, что из-за более новой верси…
- Now discuss on the forum
- fFeb. 15, 2025, 1:46 p.m.Подскажите, пожалуйста! Как данный класс можно дополнить, чтобы созданные объекты можно было перемещать мышкой по сцене?
- Не запускается компьютер (точнее работает блок , но сам монитор вообще жесть)В общем я ничего с интернета не скачивала в последнее время. На компе никаких левых пр…
- Вопрос решен. Узнать QModelIndex элемента на который мы перетаскиваем другой элемент, можно с помощью функции indexAt(event->position().toPoint()) представления QTreeViev вызываемой в переопр…
- Спасибо большое за помощь и простите за то что отнял время своей невнимательностью.