Module implementing the UI Previewer main window.
UIPreviewer | Class implementing the UI Previewer main window. |
None |
Class implementing the UI Previewer main window.
UIPreviewer | Constructor |
eventFilter | Protected method called to filter an event. |
handleAbout | Private slot to show the about information. |
handleAboutQt | Private slot to show info about Qt. |
handleCloseEvent | Private slot to handle the close event of a viewed QMainWidget. |
handleCopy | Private slot to handle the Copy Image menu action. |
handleOpenFile | Private slot to load a new file. |
handlePrint | Private slot to handle the Print Image menu action. |
handleSaveImage | Private slot to handle the Save Image menu action. |
handleStyleSelected | Private slot to handle the selection of a GUI style. |
initActions | Private method to define the user interface actions. |
initMenus | Private method to create the menus. |
initToolbars | Private method to create the toolbars. |
loadFile | Private slot to load a ui file. |
show | Public slot to show this dialog. |
updateActions | Private slot to update the actions state. |
updateChildren | Private slot to change the style of the show UI. |
Constructor
Protected method called to filter an event.
Private slot to show the about information.
Private slot to show info about Qt.
Private slot to handle the close event of a viewed QMainWidget.
Private slot to handle the Copy Image menu action.
Private slot to load a new file.
Private slot to handle the Print Image menu action.
Private slot to handle the Save Image menu action.
Private slot to handle the selection of a GUI style.
Private method to define the user interface actions.
Private method to create the menus.
Private method to create the toolbars.
Private slot to load a ui file.
Public slot to show this dialog.
This overloaded slot loads a UI file to be previewed after the main window has been shown. This way, previewing a dialog doesn't interfere with showing the main window.
Private slot to update the actions state.
Private slot to change the style of the show UI.