Writing class in C++ Qt
by {
FExportManager (QMap mapParams)
~FexportManager( )
Void setModel (QAbstractTableModel* pModel)
virtual bool startexport();
The
Class FDBFExportManager
by {
FDBFExportManager (QMap mapParams)
~FDBFExportManager();
Virtual bool startExport() override
The
Class FTXTExportManager
by {
FDBFExportManager (QMap mapParams)
~FDBFExportManager();
Virtual bool startExport() override
The
Description of parameters: =
by TXT:
File = out.csv
The parameter takes the way to the output file and its name.The Delimitator =
Determine the divider for values
The Enclosure_Squence="
Determine
Escape = sequence =
Determine the screening symbol
Print_header = false
Determine whether to remove the names of columns
Encoding = CP1251
Determine the code of the file
by DBF
Filed to:out.dbf
The parameter takes the way to the output file and its name.STRUCTURE=NAME{C15},COUNT{N9.14},DTADD{D}
Determine the file structure
Encoding = CP866
Determine the code of the file
Description of the DBF file structure
{}
The following types of fields should beined:
Structure: “C”
The format: C
Example: “{C15},{C80}”
Number: “N”
The format: N
Example: “{N5},{N15.3}”
Date: “D”
Format of D
Example of “{D}”
Имеется базовый класс FExportManager.
Необходимо наследовать от него классы FTXTExportManager,FDBFExportManager реализующие экспорт в CSV и DBF соответственно.
В конструктор класса передаётся карта содержащая параметры экспорта.
Входными данными является модель QAbstractTableModel.
class FExportManager
{
FExportManager(QMap<QString,QVariant> mapParams);
~FExportManager();
void setModel(QAbstractTableModel* pModel);
virtual bool startExport();
}
class FDBFExportManager
{
FDBFExportManager(QMap<QString,QVariant> mapParams);
~FDBFExportManager();
virtual bool startExport() override;
}
class FTXTExportManager
{
FDBFExportManager(QMap<QString,QVariant> mapParams);
~FDBFExportManager();
virtual bool startExport() override;
}
Описание параметров: <параметр>=<дефолтное значение>
TXT:
FILE=out.csv
Параметр принимает путь к выходному файлу и его название.
DELIMITER=;
Определяет разделитель для значений
ENCLOSE_SEQUENCE="
Определяет
ESCAPE_SEQUENCE=\
Определяет символ экранирования
PRINT_HEADER=FALSE
Определяет необходимо-ли выводить названия колонок
ENCODING=CP1251
Определяет кодировку файла
DBF
FILE=out.dbf
Параметр принимает путь к выходному файлу и его название.
STRUCTURE=NAME{C15},COUNT{N9.14},DTADD{D}
Определяет структуру файла
ENCODING=CP866
Определяет кодировку файла
Описание структуры DBF файла
<название поля>{<тип данных и его размер>}
Должны поддерживаться следующе типы полей:
Строка: "C"
формат: C<длинна строки>,
пример: "{C15},{C80}"
Число: "N"
формат: N<разрядность целых>.<разрядность дроби>
пример: "{N5},{N15.3}"
Дата: "D"
формат D
пример: "{D}"
Client's review of cooperation with freelancer
Writing class in C++ QtCompleted quickly and quality.
![]()
Freelancer's review of cooperation with client
Writing class in C++ QtPayment is not as fast as you would like, and so, it’s okay.
![]()
-
54 Hello to you.
I have experience working with QT.
Skype by aston.diablo
Email: [email protected]
-

В FExportManager есть getModel() или что-то подобное, чтоб модель получить в порождённых классах?
С какой версией Qt это должно работать?
Учитывая, что упоминается XLS, реализация только для Windows или должно быть что-то кросс-платформенное?
Нужен именно экспорт в XLS или подойдёт и XLSX?
-
Current freelance projects in the category C & C++
Comparative analysis of the effectiveness of custom software (v2.2-field) and reference software (Meshtastic v2.x)
22 USD
Comparative analysis of the effectiveness of custom software (v2.2-field) and reference software (Meshtastic v2.x) on the identical hardware platform (ESP32 + SX1268, 2W) based on the criteria of range, throughput, link stability, and power consumption. Conduct tests with… C & C++, C# ∙ 3 days 3 hours back ∙ 2 proposals |
Consultation and audit of the current project on Odoo 19 Community EditionWe are looking for an Odoo Developer — a solo developer with experience in Odoo 19 Community Edition, including using Claude Code. We need a specialist who has successfully implemented projects in Odoo and practical experience in development using Claude Code. Important: we only… C & C++, Javascript and Typescript ∙ 6 days 4 hours back ∙ 8 proposals |
Software development for Arduino (RF modules 3–7.5 GHz, automatic frequency scanning)It is necessary to develop a system on Arduino for the automatic search of active analog video signals and the automatic tuning of the transmitter to the detected frequency.It is planned to use three separate transceiver modules: 3000–4200 MHz; 4900–6000 MHz; 6100–7500… C & C++, Embedded Systems & Microcontrollers ∙ 7 days 5 hours back ∙ 4 proposals |
Black Ukraine (RP-project on base MTA)
1154 USD
|
Residential Proxy Infrastructure EngineerWe're building a residential proxy network from scratch — fully owned, no third-party suppliers. We need one exceptional network engineer to build the entire technical foundation. What you'll build: - Android background SDK that routes proxy traffic through user devices… C & C++, DevOps ∙ 13 days 1 hour back ∙ 15 proposals |