Загрузка данных
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MainWindow</class>
<widget class="QMainWindow" name="MainWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>700</width>
<height>500</height>
</rect>
</property>
<property name="windowTitle">
<string>NotePad App</string>
</property>
<widget class="QWidget" name="centralwidget">
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QTextEdit" name="textEdit"/>
</item>
</layout>
</widget>
<widget class="QMenuBar" name="menubar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>700</width>
<height>22</height>
</rect>
</property>
<widget class="QMenu" name="menuFile">
<property name="title">
<string>File</string>
</property>
<addaction name="actionNew"/>
<addaction name="actionOpen"/>
<addaction name="actionSave"/>
<addaction name="separator"/>
<addaction name="actionPrint"/>
<addaction name="actionPrint_Preview"/>
<addaction name="actionExport_PDF"/>
<addaction name="separator"/>
<addaction name="actionQuite"/>
</widget>
<widget class="QMenu" name="menuEdit">
<property name="title">
<string>Edit</string>
</property>
<addaction name="actionUndo"/>
<addaction name="actionRedo"/>
<addaction name="separator"/>
<addaction name="actionCut"/>
<addaction name="actionCopy"/>
<addaction name="actionPaste"/>
</widget>
<widget class="QMenu" name="menuFormat">
<property name="title">
<string>Format</string>
</property>
<addaction name="actionBold"/>
<addaction name="actionItalic"/>
<addaction name="actionUnderline"/>
<addaction name="separator"/>
<addaction name="actionLeft"/>
<addaction name="actionRight"/>
<addaction name="actionCenter"/>
<addaction name="actionJustify"/>
<addaction name="separator"/>
<addaction name="actionFont"/>
<addaction name="actionColor"/>
</widget>
<widget class="QMenu" name="menuAbout">
<property name="title">
<string>About</string>
</property>
<addaction name="actionAbout_App"/>
</widget>
<addaction name="menuFile"/>
<addaction name="menuEdit"/>
<addaction name="menuFormat"/>
<addaction name="menuAbout"/>
</widget>
<widget class="QStatusBar" name="statusbar"/>
<widget class="QToolBar" name="toolBar">
<property name="windowTitle">
<string>toolBar</string>
</property>
<attribute name="toolBarArea">
<enum>TopToolBarArea</enum>
</attribute>
<attribute name="toolBarBreak">
<bool>false</bool>
</attribute>
<addaction name="actionNew"/>
<addaction name="actionOpen"/>
<addaction name="actionSave"/>
<addaction name="actionPrint"/>
<addaction name="actionPrint_Preview"/>
<addaction name="actionExport_PDF"/>
<addaction name="actionCut"/>
<addaction name="actionCopy"/>
<addaction name="actionPaste"/>
<addaction name="actionRedo"/>
<addaction name="actionUndo"/>
</widget>
<action name="actionNew">
<property name="icon">
<iconset resource="images/images.qrc">
<normaloff>images/new.png</normaloff>images/new.png</iconset>
</property>
<property name="text">
<string>New</string>
</property>
<property name="shortcut">
<string>Ctrl+N</string>
</property>
</action>
<action name="actionOpen">
<property name="icon">
<iconset resource="images/images.qrc">
<normaloff>images/open.png</normaloff>images/open.png</iconset>
</property>
<property name="text">
<string>Open</string>
</property>
<property name="shortcut">
<string>Ctrl+O</string>
</property>
</action>
<action name="actionSave">
<property name="icon">
<iconset>
<normaloff>images/save.png</normaloff>images/save.png</iconset>
</property>
<property name="text">
<string>Save</string>
</property>
<property name="shortcut">
<string>Ctrl+S</string>
</property>
</action>
<action name="actionPrint">
<property name="icon">
<iconset resource="images/images.qrc">
<normaloff>images/print.png</normaloff>images/print.png</iconset>
</property>
<property name="text">
<string>Print</string>
</property>
<property name="shortcut">
<string>Ctrl+P</string>
</property>
</action>
<action name="actionPrint_Preview">
<property name="icon">
<iconset resource="images/images.qrc">
<normaloff>images/printprev.png</normaloff>images/printprev.png</iconset>
</property>
<property name="text">
<string>Print Preview</string>
</property>
<property name="shortcut">
<string>Ctrl+Shift+P</string>
</property>
</action>
<action name="actionExport_PDF">
<property name="icon">
<iconset resource="images/images.qrc">
<normaloff>images/pdf.png</normaloff>images/pdf.png</iconset>
</property>
<property name="text">
<string>Export PDF</string>
</property>
<property name="shortcut">
<string>Ctrl+E</string>
</property>
</action>
<action name="actionQuite">
<property name="icon">
<iconset resource="images/images.qrc">
<normaloff>images/exit.png</normaloff>images/exit.png</iconset>
</property>
<property name="text">
<string>Quite</string>
</property>
<property name="shortcut">
<string>Ctrl+Q</string>
</property>
</action>
<action name="actionUndo">
<property name="icon">
<iconset resource="images/images.qrc">
<normaloff>images/undo.png</normaloff>images/undo.png</iconset>
</property>
<property name="text">
<string>Undo</string>
</property>
<property name="shortcut">
<string>Ctrl+Z</string>
</property>
</action>
<action name="actionRedo">
<property name="icon">
<iconset resource="images/images.qrc">
<normaloff>images/redo.png</normaloff>images/redo.png</iconset>
</property>
<property name="text">
<string>Redo</string>
</property>
<property name="shortcut">
<string>Ctrl+Y</string>
</property>
</action>
<action name="actionCut">
<property name="icon">
<iconset resource="images/images.qrc">
<normaloff>images/cut.png</normaloff>images/cut.png</iconset>
</property>
<property name="text">
<string>Cut</string>
</property>
<property name="shortcut">
<string>Ctrl+X</string>
</property>
</action>
<action name="actionCopy">
<property name="icon">
<iconset resource="images/images.qrc">
<normaloff>images/copy.png</normaloff>images/copy.png</iconset>
</property>
<property name="text">
<string>Copy</string>
</property>
<property name="shortcut">
<string>Ctrl+C</string>
</property>
</action>
<action name="actionPaste">
<property name="icon">
<iconset resource="images/images.qrc">
<normaloff>images/paste.png</normaloff>images/paste.png</iconset>
</property>
<property name="text">
<string>Paste</string>
</property>
<property name="shortcut">
<string>Ctrl+V</string>
</property>
</action>
<action name="actionBold">
<property name="icon">
<iconset resource="images/images.qrc">
<normaloff>images/bold.png</normaloff>images/bold.png</iconset>
</property>
<property name="text">
<string>Bold</string>
</property>
<property name="shortcut">
<string>Ctrl+B</string>
</property>
</action>
<action name="actionItalic">
<property name="icon">
<iconset resource="images/images.qrc">
<normaloff>images/italic.png</normaloff>images/italic.png</iconset>
</property>
<property name="text">
<string>Italic</string>
</property>
<property name="shortcut">
<string>Ctrl+I</string>
</property>
</action>
<action name="actionUnderline">
<property name="icon">
<iconset resource="images/images.qrc">
<normaloff>images/underline.png</normaloff>images/underline.png</iconset>
</property>
<property name="text">
<string>Underline</string>
</property>
<property name="shortcut">
<string>Ctrl+E</string>
</property>
</action>
<action name="actionLeft">
<property name="icon">
<iconset resource="images/images.qrc">
<normaloff>images/left.png</normaloff>images/left.png</iconset>
</property>
<property name="text">
<string>Left</string>
</property>
<property name="shortcut">
<string>Ctrl+L</string>
</property>
</action>
<action name="actionRight">
<property name="icon">
<iconset resource="images/images.qrc">
<normaloff>images/right.png</normaloff>images/right.png</iconset>
</property>
<property name="text">
<string>Right</string>
</property>
<property name="shortcut">
<string>Ctrl+R</string>
</property>
</action>
<action name="actionCenter">
<property name="icon">
<iconset resource="images/images.qrc">
<normaloff>images/center.png</normaloff>images/center.png</iconset>
</property>
<property name="text">
<string>Center</string>
</property>
<property name="shortcut">
<string>Ctrl+K</string>
</property>
</action>
<action name="actionJustify">
<property name="icon">
<iconset resource="images/images.qrc">
<normaloff>images/justify.png</normaloff>images/justify.png</iconset>
</property>
<property name="text">
<string>Justify</string>
</property>
<property name="shortcut">
<string>Ctrl+J</string>
</property>
</action>
<action name="actionFont">
<property name="icon">
<iconset resource="images/images.qrc">
<normaloff>images/font.png</normaloff>images/font.png</iconset>
</property>
<property name="text">
<string>Font</string>
</property>
</action>
<action name="actionColor">
<property name="icon">
<iconset resource="images/images.qrc">
<normaloff>images/color.png</normaloff>images/color.png</iconset>
</property>
<property name="text">
<string>Color</string>
</property>
</action>
<action name="actionAbout_App">
<property name="icon">
<iconset resource="images/images.qrc">
<normaloff>images/about.png</normaloff>images/about.png</iconset>
</property>
<property name="text">
<string>About App</string>
</property>
</action>
</widget>
<resources>
<include location="images/images.qrc"/>
</resources>
<connections/>
</ui>