Added comments and did some code clean up

Changes in this commit:
- Added comments to dialog code in CryEdit.cpp and CryEditDoc.cpp
- Moved Code/Framework/AzQtComponents/AzQtComponents/Components/img/UI20/Cards/warning.svg to Code/Framework/AzQtComponents/AzQtComponents/Images/Notifications/warning.svg
- Improved the hover message over prefab settings in EditorPreferencesPageGeneral.cpp
- Fixed a syntax error in Editor.qss

Signed-off-by: srikappa-amzn <srikappa@amazon.com>
This commit is contained in:
srikappa-amzn
2021-08-20 13:37:38 -07:00
parent 7a83950f59
commit c20ec14af7
9 changed files with 67 additions and 82 deletions
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="19px" height="16px" viewBox="0 0 19 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Generator: Sketch 57.1 (83088) - https://sketch.com -->
<title>Icons / System / Text Field / Warning large Copy</title>
<desc>Created with Sketch.</desc>
<g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="Components-/-Blank---error" transform="translate(-398.000000, -4.000000)" fill="#F0C32D" fill-rule="nonzero">
<g id="Components-/-Mesh-/-Collapsed" transform="translate(-2.000000, 0.000000)">
<g id="Icons-/-System-/-Text-Field-/-Warning-large" transform="translate(400.154870, 2.000000)">
<path d="M1.26456836,17.5360962 C0.614238084,17.5360962 0.379044755,17.0488226 0.733965982,16.4565557 L8.85213065,2.9095853 C9.20941782,2.31337153 9.79106039,2.31731835 10.1459816,2.9095853 L18.2641463,16.4565557 C18.6214335,17.0527694 18.3879625,17.5360962 17.7335439,17.5360962 L1.26456836,17.5360962 Z M8.75189665,12.8406525 L10.3293717,12.8406525 L10.5986967,6.45996643 C10.2652445,6.34547458 9.91256129,6.28822953 9.54063415,6.28822953 C9.16870701,6.28822953 8.81602379,6.34547458 8.48257165,6.45996643 L8.75189665,12.8406525 Z M9.45610276,16.247085 C9.7739892,16.247085 10.0315817,16.1420611 10.2288912,15.9320098 C10.4261989,15.7219586 10.5248528,15.4523025 10.5248528,15.123033 C10.5248528,14.7937636 10.4261989,14.5241075 10.2288912,14.3140562 C10.0315817,14.104005 9.7739892,13.9989811 9.45610276,13.9989811 C9.13821632,13.9989811 8.88062199,14.104005 8.6833143,14.3140562 C8.48600478,14.5241075 8.38735276,14.7937636 8.38735276,15.123033 C8.38735276,15.4523025 8.48600478,15.7219586 8.6833143,15.9320098 C8.88062199,16.1420611 9.13821632,16.247085 9.45610276,16.247085 Z" id="warning-icon"></path>
</g>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.9 KiB

@@ -30,6 +30,7 @@
<file alias="checkmark.svg">Notifications/checkmark.svg</file>
<file alias="download.svg">Notifications/download.svg</file>
<file alias="link.svg">Notifications/link.svg</file>
<file alias="warning.svg">Notifications/warning.svg</file>
</qresource>
<qresource prefix="/Outliner">
<file alias="sort_a_to_z.svg">Outliner/sort_a_to_z.svg</file>