1
0
mirror of https://github.com/altlinux/admc.git synced 2025-03-11 08:58:20 +03:00

19 Commits

Author SHA1 Message Date
Semyon Knyazev
a5255dc14a Add optional attribute values loading to attribute tab
If "Load optional attribute values" main window option is checked,
optional attribute values will be loaded after object properties
opening. With not checked option values can be loaded with
corresponding button in attribute tab.
2024-02-19 22:48:59 +04:00
Dmitry Degtyarev
982d9964ba fix tests that use string dialog
qlineedit changed to qplaintextedit
2022-06-09 14:00:39 +04:00
Dmitry Degtyarev
00f7c13d51 update license year to 2022 2022-04-06 15:59:32 +04:00
Dmitry Degtyarev
f138911bd2 fix compilation of tests 2021-12-22 16:26:03 +04:00
Dmitry Degtyarev
8caf38e9e0 make edits_x() functions static 2021-12-21 15:24:08 +04:00
Dmitry Degtyarev
012e42ca8f update tests for attributes tab 2021-12-17 12:54:38 +04:00
Dmitry Degtyarev
55e2e7c7e7 rename attribute editors to dialogs 2021-11-09 16:25:26 +04:00
Dmitry Degtyarev
efbef92f20 run clang-format 2021-11-02 15:54:13 +04:00
Dmitry Degtyarev
c3fb7421a1 fix tests 2021-11-02 14:16:22 +04:00
Dmitry Degtyarev
73b2920b74 use ui class to access widgets in tests
instead of using findChild() with widget names
now changing a name will cause an error if some test uses old name
2021-10-18 12:29:43 +04:00
Dmitry Degtyarev
d486af4c8e improve tests
use QCOMPARE() instead of QVERIFY() where possible for better messages
remove != nullptr from QVERIFY() calls to reduce visual clutter
2021-10-01 14:23:56 +04:00
Dmitry Degtyarev
e6aefa5568 rework settings
remove Settings class
don't need to keep around qsettings
remove usage of bool settings
rework creation of actions tied to settings
save state in dtor's, can do that now because qsettings is not tied to
\ Settings object anymore
2021-07-26 12:29:25 +04:00
Dmitry Degtyarev
0fbc8b5db6 use menu for attribute tab filtering
instead of dialog
filtering is now universal between separate properties dialogs
2021-07-14 16:38:52 +04:00
Dmitry Degtyarev
3a4461eb0e extract some common test f-ns
f-ns for adding widgets and edits to layout
show parent widget by default before every test
2021-07-09 15:44:23 +04:00
Dmitry Degtyarev
b92029475c reset attribute filters before tests 2021-07-07 13:27:16 +04:00
Dmitry Degtyarev
78cdb76844 create attribute filter dialog class
add private header
rework interaction between dialog and proxy
update tests
2021-07-07 13:26:09 +04:00
Dmitry Degtyarev
e69c43ce5b clang-format 2021-06-30 14:24:51 +04:00
Dmitry Degtyarev
9e1ddf7f03 add attributes tab apply() test 2021-06-23 11:59:20 +04:00
Dmitry Degtyarev
dfaf42f85e add attribute tests
for loading and filtering
fix filter dialog not getting deleted
fix read only checkbox not disabling subfilters on dialog open
2021-06-11 16:09:08 +04:00