Aug. 13, 2015, 5:29 p.m.

Qt

QSettings, QSettings example, QSettings пример, qt, Настройки, сохранение настроек

Saving application settings - this is one of the first things that beginners learn when working with the Qt framework. For this purpose QSettings class that allows you to save the settings or operating system registry or a text file. In this tutorial you will use the easiest option - it is saving the settings in the operating system registry. In order to ensure the visibility of the store the settings in this tutorial use the draft of the lesson QSystemTrayIcon .

Project structure

The project is created as an application Qt Widgets, where files are created by default:

  • Settings.pro
  • mainwindow.h - header file of the main application window;
  • mainwindow.cpp - source window;
  • main.cpp - the main source file from which the application starts;
  • mainwindow.ui - form of the main application window.
Aug. 12, 2015, 4:27 p.m.

Qt

QSystemTrayIcon, Tray, qt, трей

Similar article on PyQt5/Python

Today will discuss the way to turn off the application, the Qt framework, written in, the operating system tray using QSystemTrayIcon class. This function is very useful for applications that need to run in the background for a long time mode. For example, video or audio playback application.

Therefore we will work with following questions:

  • How to teach your program minimized to tray;
  • How to make a popup menu for the tray icon of your applications;
  • How to disable this feature if it is not needed.
Aug. 11, 2015, 4:12 p.m.

Data Transmission Technologies

DELL, vlan, voice vlan

Configuring VLAN for DELL switches (depending on the version of the OS switch syntax may vary slightly.

Before you configure the VLAN on the switch interfaces, you must make the switch in the VLAN database and create a VLAN interface:

console(config)# vlan database
console(config-vlan)# vlan 1972
console(config-vlan)# end
console(config)# interface vlan 1972
console(config-if)# name Marketing
console(config-if)# end
Aug. 10, 2015, 3:59 p.m.

Data Transmission Technologies

DELL, LACP, MLAG

Campus Switching Architecture

Dell switches networking N-series are based on a modern architecture of campus networks

  1. Support loop redundancy without the use of STP by using MLAG protocol to create increased access to resources and high bandwidth.
  2. Smooth interoperability with existing infrastructure for greater compatibility and integration.
  3. Combining a variety of network products with the latest open standards protocol for more choice in network.

Campus architecture on Dell switches based on functional MLAG protocol launched in version 6.1 operating system, Dell Switches. In this architecture, the two switches N4064F as peers aggregate access switches, which are combined in two stacks as well as peers. Each stack switch maintains a portion of one floor in the building of the campus, which is aggregated with two 10Gbit / c uplink'ami. N4064F aggregation layer switches easily support up to 24 stacks of switches. This architecture provides improved bandwidth, overcoming limitations STP to block redundant ports. Network is designed with a high redundancy in terms of link failure and switches.

Aug. 10, 2015, 4 a.m.

Qt

ip address, ip адрес, lineedit, qlineedit, QLineEdit example, QLineEdit IP Address, qt, qtcreator

Available similar articles in Qt/QML and PyQt5/Python

When you will develop network applications, you may need to create form for input ip-address, but the use of a simple method setInputMask ( "000.000.000.000; _"); of QLineEdit does not provide the proper result as this mask allows to enter the values of 999, 657, etc., while the IP-address of the limited number of 255.

One way to solve this problem is to use Validator .

Aug. 9, 2015, 3:52 p.m.

Data Transmission Technologies

CLI, DELL, EXEC Mode

For example, DELL PowerConnect 3524

You can control the device directly via the terminal port or via a Telnet connection. If access is via a Telnet connection, ensure that the device specific IP-address, which will be used by the workstation to access the device and connect the device to use the CLI commands.

Telnet is an emulation on a TCP / IP terminal. RS-232 terminals can be virtually connected to the local device through a TCP / IP network protocol. Telnet is an alternative to the local terminal where you want the remote control of the device. The Switch supports up to 4 Telnet sessions to manage. All CLI commands can be used over a telnet session.

Aug. 8, 2015, 8:49 a.m.

Data Transmission Technologies

GFP, LCAS, PDH, SDH, SDH-NG, Sonet, VCAT

Compensation of frequency synchronization error

The pointer can not only fulfill a fixed phase shift and mismatch clock multiplexer clocked device, from which the user data is received. To compensate for this effect, the index value is periodically incremented or decremented.

Positive alignment - The pointer is incremented by one, reflecting the delay start of the next container VC-4, three bytes.

Negative alignment - to accommodate the "extra" bytes used three younger byte pointer, ie the NT box (the pointer itself fits in fields H1 and H2)

Aug. 7, 2015, 8:39 a.m.

Data Transmission Technologies

PDH, SDH, Sonet, STM1, Мультиплексор ввода-вывода, Терминальный мультиплексор

Specific technologies PDH deficiencies have been addressed and overcome technology developers synchronous optical networks (Synchronous Optical NET, SONET), the first version of the standard which appeared in 1984. It was then standardized Committee of T-1 ANSI Institute. As a result of long work ITU-T and ETSI managed to prepare an international standard SDH (Synchronous Digital Hierarchy - Synchronous Digital Hierarchy).

The main goals of SDH developers were:

  • Continuity of existing digital channels T1-T3, E1-E3
  • Ensuring the hierarchy of speeds far exceeding the speed of plesiochronous digital hierarchy (PDH)
Aug. 6, 2015, 8:28 a.m.

Data Transmission Technologies

E1, PDH, T1, бит-стаффинг, мультиплексор

PDH technology was developed in the late 60s by AT & T to address the problem of large communication switches, telephone networks among themselves. Communication links the FDM, applied previously to solve this problem, have exhausted their opportunities in terms of organization of high-speed multi-channel communication over a single cable. The FDM technology for the simultaneous transmission of 12 user channels used twisted pair, and had to lay cables with a large number of pairs of wires or coaxial cables are more expensive to increase the communication speed.

Aug. 4, 2015, 8:08 a.m.

Data Transmission Technologies

CWDM, dwdm, HDWDM, WDM, волс, мультиплексирование, усилители

The technology packed wavelength division multiplexing (Dense Wave Division Multiplexing, DWDM) is designed to create a new generation of optical backbones running at multi-terabit speeds and. Information in fiber-optic communication lines passed at the same time a large number of light waves. DWDM networks operate on the principle of channel switching, each light wave is a single spectral channel and is essential information.

Last comments
June 24, 2019, 10:23 a.m.
Евгений Легоцкой

Хорошо, ну будут проблемы помимо того, что касается статей, то не стесняйтесь задавать вопросы на форуме.
МБ
June 24, 2019, 10:21 a.m.
Михаил Булатов

Извиняюсь, все работает(из-за невнимательности).
June 24, 2019, 9:52 a.m.
Евгений Легоцкой

Придётся делать ещё сигнал в дочернем qml и пробрасывать через коннекты и обработчики. А вообще нужно смотреть конкретный код и что вы пытаетесь сделать. Так что лучше будет, если вы зад...
June 21, 2019, 8:31 a.m.
Ruslan Polupan

Вот моя строка по которой все отлично сработало %cqtdeployer% -bin c:/CentralMposKeys/CentalMposKeys.exe -qmake c:/Qt/5.12.2/mingw73_64/bin/qmake.exe
June 21, 2019, 8:24 a.m.
Андрей Янкович

Возможно кому то пригодится сqtdeployer для windows работает точно так же как и для Linux разница лишь в команде запуска Linux: cqtdeployer Windows: %cqtdeployer...
Now discuss on the forum
June 24, 2019, 2:36 p.m.
Михаиллл

Нашел проект подключения к вебсокету.Но по моему адресу не могу подключиться.Нужно ли для этого использовать библиотеки?Вы не знаете адрес вебсокета, на котором можно проверить с...
June 24, 2019, 2:07 p.m.
Евгений Легоцкой

Я пока даже не знаю, а какой код самого подключения? использовали ожидание на подключение? Так делали? socket->connectToServer("market");if (socket->waitForConnected(1000)) ...
June 24, 2019, 1:19 p.m.
IscanderChe

// widget.cpp#include "widget.h"#include <QTableView>#include <QVBoxLayout>#include "checkboxdelegate.h"#include "comboboxdelegate.h"#include "mytableview.h"#include <QSqlD...
June 24, 2019, 11:16 a.m.
BlinCT

Хорошо, с этим понятно. Вот есть такой набор каких то кнопок. Цифры отображают в каком порядке должен менятся фокус.1. Как правильнее сделать отображение активного обьекта...
e
June 24, 2019, 10:58 a.m.
evgenm27

Спасибо за ответ, буду пробовать
Looking for a Job?
10,000.00 руб. - 15,000.00 руб.
Нужен помощник для создания API.
Moscow, Moscow, Russia
25,000.00 руб. - 30,000.00 руб.
Разработчик Qt/C++
Barnaul, Altai Krai, Russia

For registered users on the site there is a minimum amount of advertising

EVILEG
About
Services
Join us
© EVILEG 2015-2019
Recommend hosting TIMEWEB