238 lines
6.5 KiB
XML
238 lines
6.5 KiB
XML
<?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>1075</width>
|
|
<height>710</height>
|
|
</rect>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>1075</width>
|
|
<height>710</height>
|
|
</size>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>WorkPad</string>
|
|
</property>
|
|
<property name="unifiedTitleAndToolBarOnMac">
|
|
<bool>true</bool>
|
|
</property>
|
|
<widget class="QWidget" name="centralwidget">
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
<item>
|
|
<widget class="QPlainTextEdit" name="plainTextEdit">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QToolBar" name="toolBar">
|
|
<property name="enabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>16777215</width>
|
|
<height>96</height>
|
|
</size>
|
|
</property>
|
|
<property name="contextMenuPolicy">
|
|
<enum>Qt::ContextMenuPolicy::PreventContextMenu</enum>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>toolBar</string>
|
|
</property>
|
|
<property name="movable">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="toolButtonStyle">
|
|
<enum>Qt::ToolButtonStyle::ToolButtonTextUnderIcon</enum>
|
|
</property>
|
|
<property name="floatable">
|
|
<bool>false</bool>
|
|
</property>
|
|
<attribute name="toolBarArea">
|
|
<enum>TopToolBarArea</enum>
|
|
</attribute>
|
|
<attribute name="toolBarBreak">
|
|
<bool>false</bool>
|
|
</attribute>
|
|
<addaction name="actionAdd_folder"/>
|
|
<addaction name="actionAdd"/>
|
|
<addaction name="separator"/>
|
|
<addaction name="actionSave"/>
|
|
<addaction name="separator"/>
|
|
<addaction name="actionSettings"/>
|
|
</widget>
|
|
<widget class="QDockWidget" name="dockWidget_2">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>500</width>
|
|
<height>84</height>
|
|
</size>
|
|
</property>
|
|
<property name="features">
|
|
<set>QDockWidget::DockWidgetFeature::DockWidgetFloatable|QDockWidget::DockWidgetFeature::DockWidgetMovable</set>
|
|
</property>
|
|
<attribute name="dockWidgetArea">
|
|
<number>2</number>
|
|
</attribute>
|
|
<widget class="QWidget" name="dockWidgetContents_2">
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item>
|
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
|
<item>
|
|
<widget class="QWebEngineView" name="webEngineViewer" native="true">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="QProgressBar" name="renderingProgressBar">
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>160</width>
|
|
<height>16777215</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="value">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="invertedAppearance">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
<widget class="QDockWidget" name="dockWidget_3">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>250</width>
|
|
<height>120</height>
|
|
</size>
|
|
</property>
|
|
<property name="features">
|
|
<set>QDockWidget::DockWidgetFeature::NoDockWidgetFeatures</set>
|
|
</property>
|
|
<attribute name="dockWidgetArea">
|
|
<number>1</number>
|
|
</attribute>
|
|
<widget class="QWidget" name="dockWidgetContents_3">
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<item>
|
|
<widget class="QTreeWidget" name="treeWidget">
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>250</width>
|
|
<height>16777215</height>
|
|
</size>
|
|
</property>
|
|
<property name="editTriggers">
|
|
<set>QAbstractItemView::EditTrigger::NoEditTriggers</set>
|
|
</property>
|
|
<property name="animated">
|
|
<bool>true</bool>
|
|
</property>
|
|
<column>
|
|
<property name="text">
|
|
<string notr="true">Workspace</string>
|
|
</property>
|
|
</column>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
<action name="actionAdd">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../../icons.qrc">
|
|
<normaloff>:/icon/resources/new_file.png</normaloff>:/icon/resources/new_file.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>New note</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Create a new note</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+N</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionSave">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../../icons.qrc">
|
|
<normaloff>:/icon/resources/outline_save_black_48dp.png</normaloff>:/icon/resources/outline_save_black_48dp.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Save</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+S</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionSettings">
|
|
<property name="icon">
|
|
<iconset resource="../../icons.qrc">
|
|
<normaloff>:/icon/resources/settings.png</normaloff>:/icon/resources/settings.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Settings</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Settings</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionAdd_folder">
|
|
<property name="icon">
|
|
<iconset resource="../../icons.qrc">
|
|
<normaloff>:/icon/resources/new_folder.png</normaloff>:/icon/resources/new_folder.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>New folder</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Create a new folder</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+F, Ctrl+N</string>
|
|
</property>
|
|
</action>
|
|
</widget>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>QWebEngineView</class>
|
|
<extends>QWidget</extends>
|
|
<header>qwebengineview.h</header>
|
|
<container>1</container>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<resources>
|
|
<include location="../../icons.qrc"/>
|
|
</resources>
|
|
<connections/>
|
|
</ui>
|