/
breton75
/
modus2
Обзор
Документация
Войти
/
breton75
/
modus2
Код
Запросы
0
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
utils/mdeditor/src/mainwindow.ui
626 строк
19 KB
breton75
Update master_logger.cpp, io.pro, and 558 more files...
16 июл 2025, 18:45
16 июл 2025, 18:45
7270658
Код
Авторство
О чём код?
<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>SvTextEditorWindow</class> <widget class="QMainWindow" name="SvTextEditorWindow"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>892</width> <height>696</height> </rect> </property> <property name="windowTitle"> <string>Редактор</string> </property> <property name="windowIcon"> <iconset resource="res.qrc"> <normaloff>:/superMonoBasic/icons/superMonoBasic/document-edit.png</normaloff>:/superMonoBasic/icons/superMonoBasic/document-edit.png</iconset> </property> <widget class="QWidget" name="centralwidget"> <layout class="QVBoxLayout" name="verticalLayout_3"> <item> <widget class="QTextBrowser" name="textBrowser"> <property name="undoRedoEnabled"> <bool>true</bool> </property> <property name="html"> <string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p></body></html></string> </property> <property name="textInteractionFlags"> <set>Qt::LinksAccessibleByKeyboard|Qt::LinksAccessibleByMouse|Qt::TextBrowserInteraction|Qt::TextEditable|Qt::TextEditorInteraction|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set> </property> </widget> </item> <item> <widget class="QLabel" name="labelDocumentInfo"> <property name="text"> <string>Document info</string> </property> </widget> </item> <item> <widget class="QLabel" name="labelCurrntFile"> <property name="text"> <string>Current file</string> </property> </widget> </item> <item> <widget class="QLabel" name="labelDocumentState"> <property name="text"> <string>DocumentState</string> </property> </widget> </item> <item> <widget class="QLabel" name="labelSecurityInfo"> <property name="text"> <string>SecurityInfo</string> </property> </widget> </item> </layout> </widget> <widget class="QMenuBar" name="menubar"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>892</width> <height>22</height> </rect> </property> <widget class="QMenu" name="menu"> <property name="title"> <string>Файл</string> </property> <addaction name="actionNew"/> <addaction name="actionOpen"/> <addaction name="actionSave"/> <addaction name="actionSaveAs"/> <addaction name="separator"/> <addaction name="actionClose"/> </widget> <widget class="QMenu" name="menu_2"> <property name="title"> <string>Правка</string> </property> <addaction name="actionUndo"/> <addaction name="actionRedo"/> <addaction name="separator"/> <addaction name="actionCopy"/> <addaction name="actionCut"/> <addaction name="actionPaste"/> <addaction name="separator"/> <addaction name="actionFind"/> </widget> <addaction name="menu"/> <addaction name="menu_2"/> </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="separator"/> <addaction name="actionUndo"/> <addaction name="actionRedo"/> <addaction name="separator"/> <addaction name="actionCopy"/> <addaction name="actionCut"/> <addaction name="actionPaste"/> <addaction name="separator"/> <addaction name="actionFind"/> </widget> <widget class="QDockWidget" name="dockSearchWidget"> <property name="windowIcon"> <iconset resource="res.qrc"> <normaloff>:/superMonoBasic/icons/superMonoBasic/document-edit.png</normaloff>:/superMonoBasic/icons/superMonoBasic/document-edit.png</iconset> </property> <property name="features"> <set>QDockWidget::DockWidgetClosable</set> </property> <property name="allowedAreas"> <set>Qt::BottomDockWidgetArea</set> </property> <property name="windowTitle"> <string>Поиск</string> </property> <attribute name="dockWidgetArea"> <number>8</number> </attribute> <widget class="QWidget" name="dockWidgetContents"> <layout class="QVBoxLayout" name="verticalLayout_2"> <item> <widget class="QWidget" name="widget" native="true"> <layout class="QVBoxLayout" name="verticalLayout"> <item> <layout class="QHBoxLayout" name="horizontalLayout"> <property name="spacing"> <number>2</number> </property> <item> <widget class="QLabel" name="label"> <property name="sizePolicy"> <sizepolicy hsizetype="Minimum" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>80</width> <height>0</height> </size> </property> <property name="maximumSize"> <size> <width>80</width> <height>16777215</height> </size> </property> <property name="text"> <string>Что ищем</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> </widget> </item> <item> <widget class="QLineEdit" name="lineSearchWhat"/> </item> <item> <widget class="QPushButton" name="bnSearchRegExp"> <property name="text"> <string/> </property> <property name="icon"> <iconset resource="res.qrc"> <normaloff>:/superMonoBasic/icons/superMonoBasic/magic-wand.png</normaloff>:/superMonoBasic/icons/superMonoBasic/magic-wand.png</iconset> </property> <property name="checkable"> <bool>true</bool> </property> </widget> </item> <item> <widget class="QPushButton" name="bnSearchWholeWord"> <property name="text"> <string/> </property> <property name="icon"> <iconset resource="res.qrc"> <normaloff>:/superMonoBasic/icons/superMonoBasic/whole_word.png</normaloff>:/superMonoBasic/icons/superMonoBasic/whole_word.png</iconset> </property> <property name="checkable"> <bool>true</bool> </property> </widget> </item> <item> <widget class="QPushButton" name="bnCaseSencitive"> <property name="text"> <string/> </property> <property name="icon"> <iconset resource="res.qrc"> <normaloff>:/superMonoBasic/icons/superMonoBasic/case_sencitive.png</normaloff>:/superMonoBasic/icons/superMonoBasic/case_sencitive.png</iconset> </property> <property name="checkable"> <bool>true</bool> </property> </widget> </item> <item> <widget class="QPushButton" name="bnSearchBackward"> <property name="text"> <string/> </property> <property name="icon"> <iconset resource="res.qrc"> <normaloff>:/superMonoBasic/icons/superMonoBasic/button-rew.png</normaloff>:/superMonoBasic/icons/superMonoBasic/button-rew.png</iconset> </property> </widget> </item> <item> <widget class="QPushButton" name="bnSearchForward"> <property name="text"> <string/> </property> <property name="icon"> <iconset resource="res.qrc"> <normaloff>:/superMonoBasic/icons/superMonoBasic/button-ff.png</normaloff>:/superMonoBasic/icons/superMonoBasic/button-ff.png</iconset> </property> </widget> </item> <item> <spacer name="horizontalSpacer"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeType"> <enum>QSizePolicy::Preferred</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> </layout> </item> <item> <layout class="QHBoxLayout" name="horizontalLayout_2"> <property name="spacing"> <number>2</number> </property> <item> <widget class="QLabel" name="label_2"> <property name="sizePolicy"> <sizepolicy hsizetype="Minimum" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>80</width> <height>0</height> </size> </property> <property name="maximumSize"> <size> <width>80</width> <height>16777215</height> </size> </property> <property name="text"> <string>Заменить на</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> </widget> </item> <item> <widget class="QLineEdit" name="lineReplaceWith"/> </item> <item> <widget class="QPushButton" name="bnReplaceAndContinue"> <property name="text"> <string>Заменить и продолжить</string> </property> </widget> </item> <item> <widget class="QPushButton" name="bnReplaceAll"> <property name="text"> <string>Заменить все</string> </property> </widget> </item> </layout> </item> </layout> </widget> </item> </layout> </widget> </widget> <action name="actionOpen"> <property name="icon"> <iconset resource="res.qrc"> <normaloff>:/superMonoBasic/icons/superMonoBasic/folder.png</normaloff>:/superMonoBasic/icons/superMonoBasic/folder.png</iconset> </property> <property name="text"> <string>Open</string> </property> <property name="toolTip"> <string>Открыть файл</string> </property> <property name="shortcut"> <string>Ctrl+O</string> </property> </action> <action name="actionSave"> <property name="icon"> <iconset resource="res.qrc"> <normaloff>:/superMonoBasic/icons/superMonoBasic/floppy-disk.png</normaloff>:/superMonoBasic/icons/superMonoBasic/floppy-disk.png</iconset> </property> <property name="text"> <string>Save</string> </property> <property name="toolTip"> <string>Сохранить</string> </property> <property name="shortcut"> <string>Ctrl+S</string> </property> </action> <action name="actionSaveAs"> <property name="text"> <string>SaveAs</string> </property> <property name="toolTip"> <string>Сохранить как...</string> </property> </action> <action name="actionUndo"> <property name="icon"> <iconset resource="res.qrc"> <normaloff>:/superMonoBasic/icons/superMonoBasic/arrow-left.png</normaloff>:/superMonoBasic/icons/superMonoBasic/arrow-left.png</iconset> </property> <property name="text"> <string>Undo</string> </property> <property name="toolTip"> <string>Отменить изменения</string> </property> <property name="shortcut"> <string>Ctrl+Z</string> </property> </action> <action name="actionRedo"> <property name="icon"> <iconset resource="res.qrc"> <normaloff>:/superMonoBasic/icons/superMonoBasic/arrow-right.png</normaloff>:/superMonoBasic/icons/superMonoBasic/arrow-right.png</iconset> </property> <property name="text"> <string>Redo</string> </property> <property name="toolTip"> <string>Вернуть изменения</string> </property> <property name="shortcut"> <string>Ctrl+Y</string> </property> </action> <action name="actionCopy"> <property name="icon"> <iconset resource="res.qrc"> <normaloff>:/superMonoBasic/icons/superMonoBasic/documents.png</normaloff>:/superMonoBasic/icons/superMonoBasic/documents.png</iconset> </property> <property name="text"> <string>Copy</string> </property> <property name="toolTip"> <string>Скопировать</string> </property> <property name="shortcut"> <string>Ctrl+C</string> </property> </action> <action name="actionCut"> <property name="icon"> <iconset resource="res.qrc"> <normaloff>:/superMonoBasic/icons/superMonoBasic/scissors.png</normaloff>:/superMonoBasic/icons/superMonoBasic/scissors.png</iconset> </property> <property name="text"> <string>Cut</string> </property> <property name="toolTip"> <string>Вырезать</string> </property> <property name="shortcut"> <string>Ctrl+X</string> </property> </action> <action name="actionPaste"> <property name="icon"> <iconset resource="res.qrc"> <normaloff>:/superMonoBasic/icons/superMonoBasic/clipboard.png</normaloff>:/superMonoBasic/icons/superMonoBasic/clipboard.png</iconset> </property> <property name="text"> <string>Paste</string> </property> <property name="toolTip"> <string>Вставить</string> </property> <property name="shortcut"> <string>Ctrl+V</string> </property> </action> <action name="actionClose"> <property name="text"> <string>Close</string> </property> <property name="toolTip"> <string>Закрыть</string> </property> </action> <action name="actionFind"> <property name="icon"> <iconset resource="res.qrc"> <normaloff>:/superMonoBasic/icons/superMonoBasic/search.png</normaloff>:/superMonoBasic/icons/superMonoBasic/search.png</iconset> </property> <property name="text"> <string>Find</string> </property> <property name="toolTip"> <string>Поиск</string> </property> <property name="shortcut"> <string>Ctrl+F</string> </property> </action> <action name="actionNew"> <property name="icon"> <iconset resource="res.qrc"> <normaloff>:/superMonoBasic/icons/superMonoBasic/document.png</normaloff>:/superMonoBasic/icons/superMonoBasic/document.png</iconset> </property> <property name="text"> <string>New</string> </property> <property name="toolTip"> <string>Новый файл</string> </property> <property name="shortcut"> <string>Ctrl+N</string> </property> </action> <action name="actionSearchForward"> <property name="icon"> <iconset resource="res.qrc"> <normaloff>:/superMonoBasic/icons/superMonoBasic/button-ff.png</normaloff>:/superMonoBasic/icons/superMonoBasic/button-ff.png</iconset> </property> <property name="text"> <string>Поиск вперед</string> </property> <property name="toolTip"> <string>Поиск вперед</string> </property> <property name="shortcut"> <string>F3</string> </property> <property name="shortcutContext"> <enum>Qt::ApplicationShortcut</enum> </property> </action> <action name="actionSearchBackward"> <property name="icon"> <iconset resource="res.qrc"> <normaloff>:/superMonoBasic/icons/superMonoBasic/button-rew.png</normaloff>:/superMonoBasic/icons/superMonoBasic/button-rew.png</iconset> </property> <property name="text"> <string>Поиск назад</string> </property> <property name="toolTip"> <string>Поиск назад</string> </property> </action> </widget> <resources> <include location="res.qrc"/> </resources> <connections> <connection> <sender>actionUndo</sender> <signal>triggered()</signal> <receiver>textBrowser</receiver> <slot>undo()</slot> <hints> <hint type="sourcelabel"> <x>-1</x> <y>-1</y> </hint> <hint type="destinationlabel"> <x>399</x> <y>319</y> </hint> </hints> </connection> <connection> <sender>actionRedo</sender> <signal>triggered()</signal> <receiver>textBrowser</receiver> <slot>redo()</slot> <hints> <hint type="sourcelabel"> <x>-1</x> <y>-1</y> </hint> <hint type="destinationlabel"> <x>399</x> <y>319</y> </hint> </hints> </connection> <connection> <sender>actionCopy</sender> <signal>triggered()</signal> <receiver>textBrowser</receiver> <slot>copy()</slot> <hints> <hint type="sourcelabel"> <x>-1</x> <y>-1</y> </hint> <hint type="destinationlabel"> <x>399</x> <y>319</y> </hint> </hints> </connection> <connection> <sender>actionCut</sender> <signal>triggered()</signal> <receiver>textBrowser</receiver> <slot>cut()</slot> <hints> <hint type="sourcelabel"> <x>-1</x> <y>-1</y> </hint> <hint type="destinationlabel"> <x>399</x> <y>319</y> </hint> </hints> </connection> <connection> <sender>actionPaste</sender> <signal>triggered()</signal> <receiver>textBrowser</receiver> <slot>paste()</slot> <hints> <hint type="sourcelabel"> <x>-1</x> <y>-1</y> </hint> <hint type="destinationlabel"> <x>399</x> <y>319</y> </hint> </hints> </connection> <connection> <sender>bnSearchForward</sender> <signal>pressed()</signal> <receiver>actionSearchForward</receiver> <slot>trigger()</slot> <hints> <hint type="sourcelabel"> <x>806</x> <y>617</y> </hint> <hint type="destinationlabel"> <x>-1</x> <y>-1</y> </hint> </hints> </connection> <connection> <sender>bnSearchBackward</sender> <signal>pressed()</signal> <receiver>actionSearchBackward</receiver> <slot>trigger()</slot> <hints> <hint type="sourcelabel"> <x>724</x> <y>617</y> </hint> <hint type="destinationlabel"> <x>-1</x> <y>-1</y> </hint> </hints> </connection> </connections> </ui>