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

13 Commits

Author SHA1 Message Date
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