Chris PeBenito
7e8fcba695
apol: switch tabs to (more discoverable) check boxes for hiding UI elements
...
Also drop the results expander.
2016-02-29 10:51:24 -05:00
Chris PeBenito
5c39a1fd8c
apol: reset busy dialog in setupUI()
...
For some reason, on Fedora the dialog will show before an explicit show()
is issued.
2016-02-26 08:58:09 -05:00
Chris PeBenito
2482fc5d10
apol: fix threading
...
The isInterruptionRequested flag on a QThread only resets after the thread
finishes. The original implementation never had the thread finish until
the tab was closed, so if a user canceled an operation, each successive
time an analysis ran on that tab, it would immediately have a request
to interrupt.
2015-07-07 14:15:10 -04:00
Chris PeBenito
afab62934e
TERuleQueryTab: Make the QProgressDialog more informative.
...
Also more agressively check cancelation, so processing will end sooner.
Force repaints to try to ensure the dialog text is updated, as for large
results, the GUI becomes unresponsive when resizing the table.
2015-07-07 11:38:35 -04:00
Chris PeBenito
ee8a6a94c4
TERuleQueryTab ResultsUpdater: fix counter to use enumerate()
2015-06-30 11:19:08 -04:00
Chris PeBenito
c8e168cd3e
TERuleQueryTab ResultsUpdater: yield every 10 rules.
...
Give the main thread a chance to catch up if there happens to only be
a single CPU core available.
2015-06-30 11:09:50 -04:00
Chris PeBenito
d8f69d912f
InfoFlowAnalysisTab: initial implementation
...
Does not yet include graphical results.
2015-06-30 11:06:59 -04:00
Chris PeBenito
6cbce7a503
TERuleQueryTab: add warning for overly broad queries.
...
Allow a way out if no criteria is set.
2015-06-26 09:02:37 -04:00
Chris PeBenito
9ef218abea
TERuleQueryTab: add threading and "busy" dialog
2015-06-26 09:02:01 -04:00
Chris PeBenito
80e47d7bf6
TERuleQueryTab: implement invert class/perms functions
2015-06-23 09:59:38 -04:00
Chris PeBenito
25168b11ff
TERuleQueryTab: the parent is not the tab
...
The parent is a top-level widget (from the tab's perspective) which has
no parent.
2015-06-17 08:40:35 -04:00
Chris PeBenito
124cdd32df
TERuleQueryTab: change result table column to resize only once
...
Only resize columns to content once, when results are generated. This will
generally provide a reasonable column width, while still allowing the user
to resize the columns, such as when the permission list is very long.
2015-06-17 08:37:58 -04:00
Chris PeBenito
ccf2646963
TERuleQueryTab: connect ruletype clear and "select all" buttons
2015-06-10 10:57:05 -04:00
Chris PeBenito
308ce26872
TERuleQueryTab: switch expanders to use toggled signals
...
Directly connect expander toggled signal to relevant setVisible slots in
the .ui.
2015-06-10 10:22:24 -04:00
Chris PeBenito
c6eacfc781
TERuleQueryTab: fix QCompleter for default to only complete types.
...
Attributes are not valid for the default type.
2015-06-09 08:50:40 -04:00
Chris PeBenito
911e44d5d8
TERuleQueryTab: remove unnecessary outer widget
...
Make the scroll area the top level widget for the tab.
2015-06-06 11:36:49 -04:00
Chris PeBenito
ee6a619113
TERuleQueryTab: move clear button connections into the .ui
2015-06-05 10:51:00 -04:00
Chris PeBenito
b1b721aea1
TERuleQueryTab: connect radio buttons
2015-06-05 10:40:14 -04:00
Chris PeBenito
c8419393fb
TERuleQueryTab: add default type and boolean criteria
2015-06-05 08:59:29 -04:00
Chris PeBenito
765039621e
TERuleQueryTab: change tooltip setting on setupUi
...
Make sure the normal tooltip is consistent after an error.
2015-06-05 08:54:55 -04:00
Chris PeBenito
ff5c2dfde1
TERuleQueryTab: only set column sizing once (on setupUi)
2015-06-04 12:50:55 -04:00
Chris PeBenito
7af8c276cf
Create collapsible sections in TERuleQueryTab.
...
Source icons from Koloria Icon Set,
http://www.graphicrating.com/2012/06/14/koloria-free-icons-set/
2015-06-04 12:46:41 -04:00
Chris PeBenito
b619166ba0
Initial apol commit.
2015-06-03 13:33:11 -04:00