/
VolcanoByte
/
vbNotes
Обзор
Документация
Войти
/
VolcanoByte
/
vbNotes
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
main
ui/formMain.ui
1 140 строк
32 KB
Гаврилюк Евгений Геннадьевич
Added search window
23 мар 2026, 11:39
23 мар 2026, 11:39
42e3925
Код
Авторство
О чём код?
<?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>800</width> <height>601</height> </rect> </property> <property name="acceptDrops"> <bool>false</bool> </property> <property name="windowTitle"> <string notr="true">VolcanoByte Notes</string> </property> <widget class="QWidget" name="centralwidget"> <layout class="QHBoxLayout" name="horizontalLayout"> <item> <widget class="QStackedWidget" name="stackedWidget"> <property name="currentIndex"> <number>3</number> </property> <widget class="QWidget" name="pageWelcome"> <layout class="QVBoxLayout" name="verticalLayout_3"> <property name="leftMargin"> <number>0</number> </property> <property name="topMargin"> <number>0</number> </property> <property name="rightMargin"> <number>0</number> </property> <property name="bottomMargin"> <number>0</number> </property> <item> <widget class="QLabel" name="lblInfo"> <property name="font"> <font> <pointsize>12</pointsize> </font> </property> <property name="text"> <string><I>Select note from <B>list</B> or add new from <B>menu</B></I></string> </property> <property name="alignment"> <set>Qt::AlignCenter</set> </property> </widget> </item> </layout> </widget> <widget class="QWidget" name="pageView"> <layout class="QVBoxLayout" name="verticalLayout_4"> <property name="leftMargin"> <number>0</number> </property> <property name="topMargin"> <number>0</number> </property> <property name="rightMargin"> <number>0</number> </property> <property name="bottomMargin"> <number>0</number> </property> <item> <widget class="QWidget" name="widget_3" native="true"> <layout class="QHBoxLayout" name="horizontalLayout_3"> <property name="leftMargin"> <number>0</number> </property> <property name="topMargin"> <number>0</number> </property> <property name="rightMargin"> <number>0</number> </property> <property name="bottomMargin"> <number>0</number> </property> <item> <widget class="QLabel" name="lblNoteViewTitle"> <property name="font"> <font> <family>Times New Roman</family> <pointsize>20</pointsize> <weight>75</weight> <bold>true</bold> </font> </property> <property name="frameShape"> <enum>QFrame::NoFrame</enum> </property> <property name="frameShadow"> <enum>QFrame::Raised</enum> </property> <property name="text"> <string>Note title</string> </property> </widget> </item> </layout> </widget> </item> <item> <widget class="QLabel" name="lblNoteViewDescription"> <property name="font"> <font> <family>Candara</family> <pointsize>12</pointsize> </font> </property> <property name="styleSheet"> <string notr="true"/> </property> <property name="text"> <string>description</string> </property> </widget> </item> <item> <widget class="QWidget" name="widget" native="true"> <layout class="QHBoxLayout" name="horizontalLayout_5"> <property name="leftMargin"> <number>0</number> </property> <property name="topMargin"> <number>0</number> </property> <property name="rightMargin"> <number>0</number> </property> <property name="bottomMargin"> <number>0</number> </property> <item> <widget class="QLabel" name="lblNoteViewTags"> <property name="font"> <font> <family>Cascadia Code ExtraLight</family> <pointsize>10</pointsize> <italic>true</italic> </font> </property> <property name="text"> <string>tag1, tag2</string> </property> </widget> </item> <item> <spacer name="horizontalSpacer"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> <item> <widget class="QLabel" name="lblNoteViewLastActive"> <property name="font"> <font> <family>Cascadia Code ExtraLight</family> <pointsize>10</pointsize> <italic>true</italic> </font> </property> <property name="text"> <string>Last active 10 days ago</string> </property> </widget> </item> </layout> </widget> </item> <item> <widget class="QTextBrowser" name="tbNoteViewText"> <property name="openExternalLinks"> <bool>true</bool> </property> </widget> </item> </layout> </widget> <widget class="QWidget" name="pageEdit"> <property name="acceptDrops"> <bool>false</bool> </property> <layout class="QVBoxLayout" name="verticalLayout"> <property name="spacing"> <number>6</number> </property> <property name="leftMargin"> <number>0</number> </property> <property name="topMargin"> <number>0</number> </property> <property name="rightMargin"> <number>0</number> </property> <property name="bottomMargin"> <number>0</number> </property> <item> <widget class="QWidget" name="widget_2" native="true"> <layout class="QHBoxLayout" name="horizontalLayout_4"> <property name="leftMargin"> <number>0</number> </property> <property name="topMargin"> <number>0</number> </property> <property name="rightMargin"> <number>0</number> </property> <property name="bottomMargin"> <number>0</number> </property> <item> <widget class="QWidget" name="widget_4" native="true"> <layout class="QVBoxLayout" name="verticalLayout_7"> <property name="leftMargin"> <number>0</number> </property> <property name="topMargin"> <number>0</number> </property> <property name="rightMargin"> <number>0</number> </property> <property name="bottomMargin"> <number>0</number> </property> <item> <widget class="QLabel" name="lblNoteEditTitle"> <property name="text"> <string>Title</string> </property> </widget> </item> <item> <widget class="QWidget" name="widget_5" native="true"> <layout class="QHBoxLayout" name="horizontalLayout_6"> <property name="spacing"> <number>0</number> </property> <property name="leftMargin"> <number>0</number> </property> <property name="topMargin"> <number>0</number> </property> <property name="rightMargin"> <number>0</number> </property> <property name="bottomMargin"> <number>0</number> </property> <item> <widget class="QLineEdit" name="edNoteEditTitle"/> </item> <item> <widget class="QToolButton" name="btnNoteEditConfirm"> <property name="focusPolicy"> <enum>Qt::TabFocus</enum> </property> <property name="toolTip"> <string>Confirm changes</string> </property> <property name="statusTip"> <string>Confirm changes</string> </property> <property name="text"> <string notr="true">...</string> </property> <property name="icon"> <iconset> <normaloff>../icons/ok.png</normaloff>../icons/ok.png</iconset> </property> <property name="iconSize"> <size> <width>16</width> <height>16</height> </size> </property> <property name="shortcut"> <string>Ctrl+S</string> </property> </widget> </item> <item> <widget class="QToolButton" name="btnNoteEditCancel"> <property name="toolTip"> <string>Cancel changes</string> </property> <property name="statusTip"> <string>Cancel changes</string> </property> <property name="text"> <string notr="true">...</string> </property> <property name="icon"> <iconset> <normaloff>../icons/cancel.png</normaloff>../icons/cancel.png</iconset> </property> <property name="iconSize"> <size> <width>16</width> <height>16</height> </size> </property> <property name="shortcut"> <string>Esc</string> </property> </widget> </item> </layout> </widget> </item> </layout> </widget> </item> </layout> </widget> </item> <item> <widget class="QLabel" name="lblNoteEditDescription"> <property name="text"> <string>Description</string> </property> </widget> </item> <item> <widget class="QLineEdit" name="edNoteEditDescription"/> </item> <item> <widget class="QLabel" name="lblNoteEditTags"> <property name="text"> <string>Tags</string> </property> </widget> </item> <item> <widget class="QWidget" name="widget_6" native="true"> <layout class="QHBoxLayout" name="horizontalLayout_7" stretch="4,1"> <property name="spacing"> <number>0</number> </property> <property name="leftMargin"> <number>0</number> </property> <property name="topMargin"> <number>0</number> </property> <property name="rightMargin"> <number>0</number> </property> <property name="bottomMargin"> <number>0</number> </property> <item> <widget class="QLineEdit" name="edNoteEditTags"/> </item> <item> <widget class="TagComboBox" name="cbxNoteEditTags"/> </item> </layout> </widget> </item> <item> <widget class="QTextEdit" name="teNoteEditText"> <property name="font"> <font> <pointsize>10</pointsize> </font> </property> <property name="acceptRichText"> <bool>false</bool> </property> </widget> </item> </layout> </widget> <widget class="QWidget" name="PageSearchNotFound"> <layout class="QVBoxLayout" name="verticalLayout_6"> <item> <widget class="QLabel" name="lblInfo_2"> <property name="font"> <font> <pointsize>12</pointsize> </font> </property> <property name="text"> <string><html><head/><body><p><span style=" font-style:italic;">The notes you are looking for were not found. Press &lt;ESC&gt; to return to the note list.</span></p></body></html></string> </property> <property name="alignment"> <set>Qt::AlignCenter</set> </property> </widget> </item> </layout> </widget> </widget> </item> </layout> </widget> <widget class="QStatusBar" name="statusbar"/> <widget class="QDockWidget" name="dockNotes"> <property name="autoFillBackground"> <bool>false</bool> </property> <property name="windowTitle"> <string>Notes</string> </property> <attribute name="dockWidgetArea"> <number>2</number> </attribute> <widget class="QWidget" name="dockWidgetContents"> <layout class="QVBoxLayout" name="verticalLayout_2" stretch="0"> <property name="spacing"> <number>2</number> </property> <property name="leftMargin"> <number>0</number> </property> <property name="topMargin"> <number>0</number> </property> <property name="rightMargin"> <number>0</number> </property> <property name="bottomMargin"> <number>0</number> </property> <item> <widget class="NoteListView" name="lvNotes"> <property name="editTriggers"> <set>QAbstractItemView::NoEditTriggers</set> </property> <property name="selectionMode"> <enum>QAbstractItemView::ExtendedSelection</enum> </property> <property name="selectionBehavior"> <enum>QAbstractItemView::SelectRows</enum> </property> </widget> </item> </layout> </widget> </widget> <widget class="QDockWidget" name="dockTags"> <property name="windowTitle"> <string>Tags</string> </property> <attribute name="dockWidgetArea"> <number>2</number> </attribute> <widget class="QWidget" name="dockWidgetContents_2"> <layout class="QVBoxLayout" name="verticalLayout_5"> <property name="spacing"> <number>2</number> </property> <property name="leftMargin"> <number>0</number> </property> <property name="topMargin"> <number>0</number> </property> <property name="rightMargin"> <number>0</number> </property> <property name="bottomMargin"> <number>0</number> </property> <item> <widget class="TagListView" name="lvTags"> <property name="viewMode"> <enum>QListView::IconMode</enum> </property> </widget> </item> <item> <widget class="QWidget" name="widgetComboBoxTag" native="true"> <layout class="QHBoxLayout" name="horizontalLayout_2"> <property name="spacing"> <number>2</number> </property> <property name="leftMargin"> <number>0</number> </property> <property name="topMargin"> <number>0</number> </property> <property name="rightMargin"> <number>0</number> </property> <property name="bottomMargin"> <number>0</number> </property> <item> <widget class="TagComboBox" name="cbxTags"> <property name="editable"> <bool>true</bool> </property> <property name="currentIndex"> <number>-1</number> </property> <property name="iconSize"> <size> <width>16</width> <height>16</height> </size> </property> </widget> </item> <item> <widget class="QToolButton" name="btnTagAdd"> <property name="toolTip"> <string>Add tag</string> </property> <property name="statusTip"> <string>Add tag to selected note(s)</string> </property> <property name="text"> <string/> </property> <property name="icon"> <iconset> <normaloff>../icons/addTag.png</normaloff>../icons/addTag.png</iconset> </property> <property name="iconSize"> <size> <width>16</width> <height>16</height> </size> </property> </widget> </item> <item> <widget class="QToolButton" name="btnTagDelete"> <property name="toolTip"> <string>Delete tag</string> </property> <property name="statusTip"> <string>Remove tag from selected note(s)</string> </property> <property name="text"> <string notr="true">...</string> </property> <property name="icon"> <iconset> <normaloff>../icons/deleteTag.png</normaloff>../icons/deleteTag.png</iconset> </property> <property name="iconSize"> <size> <width>16</width> <height>16</height> </size> </property> </widget> </item> </layout> </widget> </item> </layout> </widget> </widget> <widget class="QToolBar" name="tbStandard"> <property name="windowTitle"> <string>Standard</string> </property> <property name="iconSize"> <size> <width>32</width> <height>32</height> </size> </property> <attribute name="toolBarArea"> <enum>TopToolBarArea</enum> </attribute> <attribute name="toolBarBreak"> <bool>false</bool> </attribute> <addaction name="aiEditNoteAdd"/> <addaction name="aiEditNoteModify"/> <addaction name="aiEditNoteDelete"/> <addaction name="separator"/> <addaction name="aiSearchFind"/> <addaction name="separator"/> <addaction name="aiEditOptions"/> <addaction name="separator"/> <addaction name="aiFileSynchronize"/> <addaction name="separator"/> <addaction name="aiViewClearSelection"/> </widget> <widget class="QMenuBar" name="menubar"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>800</width> <height>21</height> </rect> </property> <widget class="QMenu" name="menuFile"> <property name="title"> <string>&File</string> </property> <widget class="QMenu" name="menuOpenRecent"> <property name="title"> <string>Open &recent</string> </property> <addaction name="separator"/> </widget> <addaction name="aiFileNewCollection"/> <addaction name="aiFileOpenCollection"/> <addaction name="menuOpenRecent"/> <addaction name="separator"/> <addaction name="aiFileProperties"/> <addaction name="separator"/> <addaction name="aiFileSynchronize"/> <addaction name="separator"/> <addaction name="aiFileExit"/> </widget> <widget class="QMenu" name="menuEdit"> <property name="title"> <string>&Edit</string> </property> <addaction name="aiEditNoteAdd"/> <addaction name="aiEditNoteModify"/> <addaction name="aiEditNoteDelete"/> <addaction name="separator"/> <addaction name="aiEditTagAdd"/> <addaction name="aiEditTagDelete"/> <addaction name="separator"/> <addaction name="aiEditOptions"/> </widget> <widget class="QMenu" name="menuView"> <property name="title"> <string>&View</string> </property> <widget class="QMenu" name="menuViewPanels"> <property name="title"> <string>Panels</string> </property> </widget> <addaction name="menuViewPanels"/> <addaction name="aiViewClearSelection"/> </widget> <widget class="QMenu" name="menu_Search"> <property name="title"> <string>&Search</string> </property> <addaction name="aiSearchFind"/> </widget> <addaction name="menuFile"/> <addaction name="menuEdit"/> <addaction name="menuView"/> <addaction name="menu_Search"/> </widget> <action name="aiEditNoteAdd"> <property name="icon"> <iconset> <normaloff>../icons/add.png</normaloff>../icons/add.png</iconset> </property> <property name="text"> <string>&Add note</string> </property> <property name="iconText"> <string>Add note</string> </property> <property name="toolTip"> <string>Add note</string> </property> <property name="statusTip"> <string>Add new note</string> </property> <property name="shortcut"> <string>Ins</string> </property> </action> <action name="aiEditNoteModify"> <property name="icon"> <iconset> <normaloff>../icons/edit.png</normaloff>../icons/edit.png</iconset> </property> <property name="text"> <string>&Modify note</string> </property> <property name="iconText"> <string>Modify note</string> </property> <property name="toolTip"> <string>Modify note</string> </property> <property name="statusTip"> <string>Edit note properties</string> </property> <property name="shortcut"> <string>F2</string> </property> </action> <action name="aiEditNoteDelete"> <property name="icon"> <iconset> <normaloff>../icons/delete.png</normaloff>../icons/delete.png</iconset> </property> <property name="text"> <string>&Delete note</string> </property> <property name="iconText"> <string>Delete note(s)</string> </property> <property name="toolTip"> <string>Delete note</string> </property> <property name="statusTip"> <string>Delete selected note(s)</string> </property> <property name="shortcut"> <string>Del</string> </property> </action> <action name="aiEditOptions"> <property name="icon"> <iconset> <normaloff>../icons/options.png</normaloff>../icons/options.png</iconset> </property> <property name="text"> <string>&Options...</string> </property> <property name="toolTip"> <string>Options</string> </property> <property name="statusTip"> <string>View and modify options</string> </property> <property name="shortcut"> <string>F10</string> </property> </action> <action name="aiFileExit"> <property name="icon"> <iconset> <normaloff>../icons/exit.png</normaloff>../icons/exit.png</iconset> </property> <property name="text"> <string>E&xit</string> </property> <property name="toolTip"> <string>Exit</string> </property> <property name="statusTip"> <string>Exit from application</string> </property> </action> <action name="aiFileSynchronize"> <property name="icon"> <iconset> <normaloff>../icons/synchronization.png</normaloff>../icons/synchronization.png</iconset> </property> <property name="text"> <string>&Syncronize</string> </property> <property name="toolTip"> <string>Syncronize</string> </property> <property name="statusTip"> <string>Synchronization of notes with remote storage</string> </property> <property name="shortcut"> <string>F5</string> </property> </action> <action name="aiViewPanelsNotes"> <property name="checkable"> <bool>true</bool> </property> <property name="checked"> <bool>true</bool> </property> <property name="text"> <string>Notes</string> </property> <property name="toolTip"> <string>Notes</string> </property> <property name="statusTip"> <string>Show/hide panel "Notes"</string> </property> </action> <action name="aiViewPanelsTags"> <property name="checkable"> <bool>true</bool> </property> <property name="checked"> <bool>true</bool> </property> <property name="text"> <string>Tags</string> </property> <property name="toolTip"> <string>Tags</string> </property> <property name="statusTip"> <string>Show/hide panel "Tags"</string> </property> </action> <action name="aiViewPanelStandard"> <property name="checkable"> <bool>true</bool> </property> <property name="checked"> <bool>true</bool> </property> <property name="text"> <string>Standard</string> </property> <property name="toolTip"> <string>Standard</string> </property> <property name="statusTip"> <string>Show/hide panel "Standard"</string> </property> </action> <action name="aiViewClearSelection"> <property name="icon"> <iconset> <normaloff>../icons/clear.png</normaloff>../icons/clear.png</iconset> </property> <property name="text"> <string>&Clear selection</string> </property> <property name="toolTip"> <string>Clear selection</string> </property> <property name="statusTip"> <string>Clear selection of notes and tag</string> </property> <property name="shortcut"> <string>Esc</string> </property> </action> <action name="aiEditTagAdd"> <property name="icon"> <iconset> <normaloff>../icons/addTag.png</normaloff>../icons/addTag.png</iconset> </property> <property name="text"> <string>Add tag</string> </property> <property name="toolTip"> <string>Add tag</string> </property> <property name="statusTip"> <string>Add tag to selected note(s)</string> </property> </action> <action name="aiEditTagDelete"> <property name="icon"> <iconset> <normaloff>../icons/deleteTag.png</normaloff>../icons/deleteTag.png</iconset> </property> <property name="text"> <string>Delete tag</string> </property> <property name="toolTip"> <string>Delete tag</string> </property> <property name="statusTip"> <string>Remve tag from selected note(s)</string> </property> </action> <action name="aiEditChangesCancel"> <property name="icon"> <iconset> <normaloff>../icons/cancel.png</normaloff>../icons/cancel.png</iconset> </property> <property name="text"> <string>Cancel changes</string> </property> <property name="statusTip"> <string>Cancel changes</string> </property> </action> <action name="aiEditChangesConfirm"> <property name="icon"> <iconset> <normaloff>../icons/ok.png</normaloff>../icons/ok.png</iconset> </property> <property name="text"> <string>Confirm changes</string> </property> <property name="statusTip"> <string>Confirm changes</string> </property> <property name="shortcut"> <string>Ctrl+S</string> </property> </action> <action name="aiFileNewCollection"> <property name="icon"> <iconset> <normaloff>../icons/new.png</normaloff>../icons/new.png</iconset> </property> <property name="text"> <string>&New collection...</string> </property> <property name="shortcut"> <string>Ctrl+N</string> </property> </action> <action name="aiFileOpenCollection"> <property name="icon"> <iconset> <normaloff>../icons/open.png</normaloff>../icons/open.png</iconset> </property> <property name="text"> <string>&Open collection...</string> </property> <property name="shortcut"> <string>Ctrl+O</string> </property> </action> <action name="aiFileProperties"> <property name="icon"> <iconset> <normaloff>../icons/properties.png</normaloff>../icons/properties.png</iconset> </property> <property name="text"> <string>&Properties</string> </property> <property name="shortcut"> <string>F9</string> </property> </action> <action name="aiSearchFind"> <property name="icon"> <iconset> <normaloff>../icons/find.png</normaloff>../icons/find.png</iconset> </property> <property name="text"> <string>&Find...</string> </property> <property name="shortcut"> <string>F3</string> </property> </action> </widget> <customwidgets> <customwidget> <class>TagListView</class> <extends>QListView</extends> <header>uClasses</header> </customwidget> <customwidget> <class>NoteListView</class> <extends>QListView</extends> <header>uClasses</header> </customwidget> <customwidget> <class>TagComboBox</class> <extends>QComboBox</extends> <header>uClasses</header> </customwidget> </customwidgets> <resources/> <connections> <connection> <sender>aiViewPanelStandard</sender> <signal>toggled(bool)</signal> <receiver>tbStandard</receiver> <slot>setVisible(bool)</slot> <hints> <hint type="sourcelabel"> <x>-1</x> <y>-1</y> </hint> <hint type="destinationlabel"> <x>399</x> <y>41</y> </hint> </hints> </connection> <connection> <sender>aiViewPanelsNotes</sender> <signal>toggled(bool)</signal> <receiver>dockNotes</receiver> <slot>setVisible(bool)</slot> <hints> <hint type="sourcelabel"> <x>-1</x> <y>-1</y> </hint> <hint type="destinationlabel"> <x>136</x> <y>215</y> </hint> </hints> </connection> <connection> <sender>aiViewPanelsTags</sender> <signal>toggled(bool)</signal> <receiver>dockTags</receiver> <slot>setVisible(bool)</slot> <hints> <hint type="sourcelabel"> <x>-1</x> <y>-1</y> </hint> <hint type="destinationlabel"> <x>136</x> <y>475</y> </hint> </hints> </connection> <connection> <sender>dockNotes</sender> <signal>visibilityChanged(bool)</signal> <receiver>aiViewPanelsNotes</receiver> <slot>setChecked(bool)</slot> <hints> <hint type="sourcelabel"> <x>136</x> <y>215</y> </hint> <hint type="destinationlabel"> <x>-1</x> <y>-1</y> </hint> </hints> </connection> <connection> <sender>dockTags</sender> <signal>visibilityChanged(bool)</signal> <receiver>aiViewPanelsTags</receiver> <slot>setChecked(bool)</slot> <hints> <hint type="sourcelabel"> <x>136</x> <y>475</y> </hint> <hint type="destinationlabel"> <x>-1</x> <y>-1</y> </hint> </hints> </connection> <connection> <sender>tbStandard</sender> <signal>visibilityChanged(bool)</signal> <receiver>aiViewPanelStandard</receiver> <slot>setChecked(bool)</slot> <hints> <hint type="sourcelabel"> <x>399</x> <y>41</y> </hint> <hint type="destinationlabel"> <x>-1</x> <y>-1</y> </hint> </hints> </connection> <connection> <sender>btnTagAdd</sender> <signal>clicked()</signal> <receiver>aiEditTagAdd</receiver> <slot>trigger()</slot> <hints> <hint type="sourcelabel"> <x>221</x> <y>566</y> </hint> <hint type="destinationlabel"> <x>-1</x> <y>-1</y> </hint> </hints> </connection> <connection> <sender>btnTagDelete</sender> <signal>clicked()</signal> <receiver>aiEditTagDelete</receiver> <slot>trigger()</slot> <hints> <hint type="sourcelabel"> <x>246</x> <y>566</y> </hint> <hint type="destinationlabel"> <x>-1</x> <y>-1</y> </hint> </hints> </connection> <connection> <sender>btnNoteEditCancel</sender> <signal>clicked()</signal> <receiver>aiEditChangesCancel</receiver> <slot>trigger()</slot> <hints> <hint type="sourcelabel"> <x>762</x> <y>149</y> </hint> <hint type="destinationlabel"> <x>-1</x> <y>-1</y> </hint> </hints> </connection> <connection> <sender>btnNoteEditConfirm</sender> <signal>clicked()</signal> <receiver>aiEditChangesConfirm</receiver> <slot>trigger()</slot> <hints> <hint type="sourcelabel"> <x>717</x> <y>149</y> </hint> <hint type="destinationlabel"> <x>-1</x> <y>-1</y> </hint> </hints> </connection> </connections> </ui>