feat: added data model and ui for main window

This commit is contained in:
2026-01-17 14:08:34 +03:00
parent eb4b3557fa
commit f6ec31183a
19 changed files with 273 additions and 7 deletions

BIN
deps/add.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 647 KiB

BIN
deps/delete.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 631 KiB

6
deps/deps.qrc vendored
View File

@@ -2,5 +2,11 @@
<RCC version="1.0">
<qresource prefix="/deps">
<file alias="icon.png">icon.png</file>
<file alias="reload.png">reload.png</file>
<file alias="add.png">add.png</file>
<file alias="edit.png">edit.png</file>
<file alias="delete.png">delete.png</file>
<file alias="info.png">info.png</file>
<file alias="tables.ddl">tables.ddl</file>
</qresource>
</RCC>

BIN
deps/edit.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

BIN
deps/info.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

BIN
deps/reload.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

15
deps/tables.ddl vendored Normal file
View File

@@ -0,0 +1,15 @@
CREATE TABLE IF NOT EXISTS clients (
id INTEGER PRIMARY KEY AUTOINCREMENT,
city TEXT NOT NULL,
email TEXT NOT NULL,
firstName TEXT NOT NULL,
hardwareHash TEXT NOT NULL,
lastName TEXT NOT NULL,
patronymic TEXT NOT NULL,
phone TEXT NOT NULL,
yourCompany TEXT NOT NULL,
comment TEXT
);
COMMENT ON TABLE clients IS '';
COMMENT ON FIELD clients.id IS '';