Changeset 88901 in vbox for trunk/src/VBox
- Timestamp:
- May 6, 2021 1:10:03 PM (4 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/logviewer
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/logviewer/UIVMLogViewerDialog.cpp
r88873 r88901 87 87 } 88 88 89 void UIVMLogViewerDialog::resizeEvent(QResizeEvent *pEvent) 90 { 91 QIWithRetranslateUI<QIManagerDialog>::resizeEvent(pEvent); 92 saveDialogGeometry(); 93 } 94 95 void UIVMLogViewerDialog::moveEvent(QMoveEvent *pEvent) 96 { 97 QIWithRetranslateUI<QIManagerDialog>::moveEvent(pEvent); 98 saveDialogGeometry(); 99 } 100 89 101 void UIVMLogViewerDialog::configure() 90 102 { … … 118 130 retranslateUi(); 119 131 manageEscapeShortCut(); 132 loadDialogGeometry(); 120 133 } 121 134 122 void UIVMLogViewerDialog::load Settings()135 void UIVMLogViewerDialog::loadDialogGeometry() 123 136 { 124 137 … … 143 156 } 144 157 145 void UIVMLogViewerDialog::save Settings()158 void UIVMLogViewerDialog::saveDialogGeometry() 146 159 { 147 160 /* Save geometry to extradata: */ -
trunk/src/VBox/Frontends/VirtualBox/src/logviewer/UIVMLogViewerDialog.h
r86986 r88901 85 85 /** Handles translation event. */ 86 86 virtual void retranslateUi() /* override */; 87 virtual void resizeEvent(QResizeEvent *pEvent) /* override */; 88 virtual void moveEvent(QMoveEvent *pEvent) /* override */; 87 89 /** @} */ 88 90 … … 95 97 /** Perform final preparations. */ 96 98 virtual void finalize() /* override */; 97 /** Loads dialog settingfrom extradata. */98 virtual void load Settings() /* override */;99 /** Loads dialog geometry from extradata. */ 100 virtual void loadDialogGeometry() /* override */; 99 101 100 /** Saves dialog settinginto extradata. */101 virtual void save Settings() /* override */;102 /** Saves dialog geometry into extradata. */ 103 virtual void saveDialogGeometry() /* override */; 102 104 /** @} */ 103 105
Note:
See TracChangeset
for help on using the changeset viewer.