Please do not use any std code, and use Qt only. If I recall correctly on this function behavior, you should be able to use the qBound(lowerBound, value, upperBound); And also, do not use auto for basic types. The auto is generally used in our coding for long iteration template types and lambdas.
the alarmDialogHeight should be the application height minus the HeaderBar.hight and MainMenu(bottom menu).height, if you would like a minimumgap*2 to get a little smaller to avoid exact overlap. So we are using as much as we can but not covering the top, bottom menus. and we can have the same left, right margin.
Are these faults considered POST faults or periodic faults? I think in Denali the general ranking was: Rank 1 is for TD POST faults Rank 2 is for DD POST faults Rank 10 is for TD faults Rank 110 is for DD faults