Aug. 9, 2015, 11 p.m.

Qt

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

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 .

Project structure

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

  • QLineEdit_IP_Address.pro - project profile;
  • mainwindow.h - header file of main window;
  • mainwindow.cpp - source code of main window;
  • main.cpp - the main source file from which the application starts;
  • mainwindow.ui - file of user interface.
Aug. 9, 2015, 10:52 a.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, 3: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, 3: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, 3: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, 3: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.

Aug. 3, 2015, 8:30 p.m.

AVR

EEPROM, Atmega

Microcontrollers AVR Atmega48 / 88/168/328 contain the EEPROM memory of 256/512/512 / 1K bytes , respectively. EEPROM in AVR microcontrollers can support up to 100,000 write cycles. Access to non-volatile memory is carried out through three types of registers:

  • EEARH, EEARL - registers the addressing of memory cells. In case Atmega48 EEARH absent, because in this type of microcontroller 256 is present in all memory cells. EEARH responsible for the high byte of memory address, EEARL for the least significant byte;
  • EEDR - register for writing and reading data;
  • EECR - register control, this register is setting the actions to be performed with the memory.
Aug. 3, 2015, 4:28 a.m.

Fiber Optic Transmission Lines

fiber, волс, компоненты

Passive Components Fiber-optic communication lines are divided into the following types:

  • optic connectors and splitters;
  • optical converters;
  • optical isolators;
  • optical switches.

Splitters

The most important passive components are FOL optic connectors and splitters, which are used for consolidation or separation of optical signals.

Functional diagram of the splitter
Aug. 2, 2015, 4:18 a.m.

Fiber Optic Transmission Lines

fiber, волс, монтаж

Installation of couplings

Mounting of couplings shall be in accordance with installation instructions for the particular type of coupling of the manufacturer (supplier) couplings. Connection of optical fiber mounting couplings should be carried out under the control of the welding method of attenuation OTDR. The value of a welded joint fiber attenuation, calculated in the direction A - B, B - A, should not exceed 0.1 dB. Each coupling after installation should be the marked sheet of lead or plastic ring tag. Each mounted clutch must be drawn up in duplicate passport. One copy is placed in the sleeve, the second is attached to the as-built documentation. If it provided by the project, and then the optical coupling OK stock placed in a specially made case, which must be secured to the support.

On the local communication networks, mainly to be used optical coupling of domestic manufacturers, designed to meet current technical requirements and compliance with the declaration of the Ministry of Information Technologies and Communications of the Russian Federation. Is allowed to use on the local networks of optical coupling of the foreign producers if the certificate of conformity and standard solutions for installation, mounting and protection of optical couplers in their places of assembly.

Optical Coupler for armored OK, laid in the ground, should ensure that:

  • the ability to electrically connect the screens or metal power elements matched OC structural elements of at least 2.5 mm2;
  • the ability to lead wires of the metallic elements construction OC, separately for each OC to connect to an external ground.
Aug. 1, 2015, 4 a.m.

Fiber Optic Transmission Lines

fiber, волс, конструкция

Introduction

Currently, the Russian market is widely featured products, both domestic and foreign manufacturers of optical couplings for installation of cables. Widely known and used clutch of such manufacturers as: Raychem (Belgium), Reichle & DeMassari (Switzerland), RXS / Simens (Germany), ZM (USA), Fujikura (Japan), Ericsson (Sweden), the Nokia (Finland), AT & T (USA), Pirelli (Italy), Alcatel (Germany).

These companies provide a wide choice of all types of couplings each customer to solve any problem. Along with the delivery of the coupling component manufacturers of the necessary additional accessories such as brackets, housings, additional accessories and consumables items. Deliver them also the necessary equipment and tools, including even the tables of the installation work.

Donate

Hello, Dear Users of EVILEG!!!

If the site helped you, then support the development of the site financially, please.

You can do it by following ways:

Thank you, Evgenii Legotckoi

GS
Jan. 23, 2020, 3:04 p.m.
Galina Stepanіvna Shepeljuk

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

  • Result:10points,
  • Rating points-10
GS
Jan. 23, 2020, 2:51 p.m.
Galina Stepanіvna Shepeljuk

C++ - Тест 003. Условия и циклы

  • Result:71points,
  • Rating points1
M
Jan. 23, 2020, 3:28 a.m.
Mitrider

C++ - Тест 003. Условия и циклы

  • Result:71points,
  • Rating points1
Last comments
Jan. 21, 2020, 1:12 p.m.
Docent

Полезная статья. Как всегда - то что надо. Добавлю ещё маленькую полезность - после установки tracer (88 строка) и перед выводом значений в lineEdit (91 строка) стоит добавить updatePositio…
Jan. 17, 2020, 1:31 a.m.
Andrej Jankovich

Выглядит как ошибка библиотеки. Расскажите подробно на какой платформе вы собираете проект (MinGW или MSVC) их версии и версии Qt.
D
Jan. 16, 2020, 11:06 a.m.
DENIZ1819

Доброго времени суток, не подскажите, что делать в данной ситуации, после того, как я сделал все вышеуказанные инструкции для подключения библиотеки к проекту?
Jan. 14, 2020, 4:33 a.m.
Evgenij Legotskoj

Рекомендую Wt, достаточно мощная вещь. Этот фреймворк может использоваться для написания сайтов на C++, либо можно использовать только отдельный компоненты, например только ORM. Но я не знаю, ка…
a
Jan. 14, 2020, 4:29 a.m.
ayb

Спасибо за инфу. Поиск качественной ORM привел меня только к sqlite_orm, но не подходит из-за необходимости полноценной поддержки c++14. Про framework Wt не слышал, спасибо за наводку.
Now discuss on the forum
Jan. 24, 2020, 1:37 a.m.
Evgenij Legotskoj

Не уверен. я бы попробовал выдернуть ссылки и забрать всё через QNetworkAccessManager, если вам не нужно запускать эти скрипты. Я с той ошибкой не сталкивался.
VZ
Jan. 23, 2020, 12:29 p.m.
Vladimir Zhitkovsky

Доброго дня! Вопрос как правильно удалять данные из модели сделанной таким образом: https://doc.qt.io/qt-5/qtquick-modelviewsdata-cppmodels.html пример с QObjectList-based Model. В плю…
Jan. 23, 2020, 11:54 a.m.
Intruder

Евгений, с удалением строк разобрался. Спасибо за помощь. Немного пришлось модернизировать код, но все получилось вроде.
Jan. 22, 2020, 5:06 a.m.
Pavel.K

Можете попробовать через Loader сделать, те cделать свой компонент ректангл с нужными вам полями и через Loader вызывать этот компонент , а через Connections прописать что ваш компонент отрисова…
Jan. 22, 2020, 3:25 a.m.
Pavel.K

Привет, кто-нибудь делал тестовый Json сервер , чтобы не просто через сокет ByteArray пересылать, а с клиента обрабатывать Post и get запросы? Буду очень признателен если у кого то есть пр…
EVILEG
About
Services
© EVILEG 2015-2019
Recommend hosting TIMEWEB