Commit Graph

15 Commits

Author SHA1 Message Date
Chris PeBenito
8e082f70cf Replace license text in sources with SPDX license indentifiers.
Signed-off-by: Chris PeBenito <pebenito@ieee.org>
2021-11-20 14:12:15 -05:00
Chris PeBenito
d3687c7705 TabRegistry: Add a new metaclass for generating the tab selection.
The ChooseAnalysis dialog lists the analysis tabs so the user can select
them.  Create a new metaclass so the listing of tabs, grouping in the menu,
and the invocation of the tab's class is automatic.  This requires section,
tab_title, and mlsonly class attributes.

Signed-off-by: Chris PeBenito <pebenito@ieee.org>
2021-01-20 15:27:38 -05:00
Chris PeBenito
d251e344b0 apol: Add nicer titles for network context tabs.
Signed-off-by: Chris PeBenito <pebenito@ieee.org>
2019-07-19 23:05:27 -04:00
Chris PeBenito
5eab4ac7a4 apol: Add ibendportcon analysis tab.
Signed-off-by: Chris PeBenito <pebenito@ieee.org>
2019-07-19 23:05:16 -04:00
Chris PeBenito
6333cfaff3 apol: Add ipbkeycon query tab.
Signed-off-by: Chris PeBenito <pebenito@ieee.org>
2019-07-17 21:17:49 -04:00
Chris PeBenito
42c2bbd606 Move data in as package data.
Closes #136.
2016-11-12 11:13:21 -05:00
Chris PeBenito
7b2c99cbfe apol: Implement core save/load tabs and workspace functions.
Still needs funtions on each individual tab for saving/loading settings.

Related to #97 and #98.
2016-06-01 12:55:50 -04:00
Chris PeBenito
a22fc0f669 ChooseAnalysis: Fix Ok button.
Also move double-click signal connection to .ui.
2016-04-20 09:55:10 -04:00
Chris PeBenito
d09bfdd09b apol: implement default query tab
Closes #121
2016-04-14 10:03:34 -04:00
Chris PeBenito
d8256cee4a apol: implement bounds query
Closes #120
2016-04-14 09:55:40 -04:00
Chris PeBenito
3fd98337f7 apol: implement sensitivity query
Closes #88
2016-04-13 09:14:35 -04:00
Chris PeBenito
e3047740a6 apol: implement category query tab
Closes #76
2016-04-13 08:58:49 -04:00
Chris PeBenito
256adbbebc apol: implement SummaryTab
Closes #115
2016-04-10 10:46:34 -04:00
Chris PeBenito
ce347e4537 ChooseAnalysis: revise design to support switching MLS on/off
Due to the previous design, if the user loaded several policies with
different MLS on/off settings, the MLS-only analyses would continue
to appear, even if MLS was not enabled in the policy.

Also revise to override QDialog accept and show methods to bring in line
with typical design.
2016-04-08 13:30:01 -04:00
Chris PeBenito
91046e8ddb apol: move ChooseAnalysis to its own module 2016-04-08 11:47:37 -04:00