353 lines
10 KiB
XML
353 lines
10 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>BrowserTab</class>
|
|
<widget class="QWidget" name="BrowserTab">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>692</width>
|
|
<height>404</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Form</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="layout_main">
|
|
<item>
|
|
<layout class="QHBoxLayout" name="layout_toolbar">
|
|
<property name="sizeConstraint">
|
|
<enum>QLayout::SetDefaultConstraint</enum>
|
|
</property>
|
|
<property name="leftMargin">
|
|
<number>9</number>
|
|
</property>
|
|
<property name="topMargin">
|
|
<number>9</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>9</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>9</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QToolButton" name="back_button">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Navigate back</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Back</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset theme="go-previous">
|
|
<normaloff>.</normaloff>.</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="forward_button">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Navigate forward</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Forward</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset theme="go-next">
|
|
<normaloff>.</normaloff>.</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="stop_button">
|
|
<property name="enabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Stop loading</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Stop</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset theme="process-stop">
|
|
<normaloff>.</normaloff>.</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="refresh_button">
|
|
<property name="enabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Refresh current location</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Reload</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset theme="view-refresh">
|
|
<normaloff>.</normaloff>.</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="home_button">
|
|
<property name="enabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Kristall Home Page</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Home</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset theme="go-home">
|
|
<normaloff>.</normaloff>.</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="root_button">
|
|
<property name="enabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Go the root path of current location</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>/</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset theme="go-top">
|
|
<normaloff>.</normaloff>.</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="parent_button">
|
|
<property name="enabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Go the parent path of current location</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>P</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset theme="go-up">
|
|
<normaloff>.</normaloff>.</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="SearchBar" name="url_bar">
|
|
<property name="placeholderText">
|
|
<string>gemini://</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="FavouriteButton" name="fav_button">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Add/remove from favourites</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Favourite</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="icons.qrc">
|
|
<normaloff>:/icons/light/actions/favourite-off.svg</normaloff>
|
|
<normalon>:/icons/light/actions/favourite-on.svg</normalon>:/icons/light/actions/favourite-off.svg</iconset>
|
|
</property>
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="enable_client_cert_button">
|
|
<property name="toolTip">
|
|
<string>Enable/disable client certificate for this tab</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Client Certificate</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="icons.qrc">
|
|
<normaloff>:/icons/light/actions/certificate-off.svg</normaloff>
|
|
<normalon>:/icons/light/actions/certificate-on.svg</normalon>:/icons/light/actions/certificate-off.svg</iconset>
|
|
</property>
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
<property name="sizeConstraint">
|
|
<enum>QLayout::SetDefaultConstraint</enum>
|
|
</property>
|
|
<item>
|
|
<widget class="KristallTextBrowser" name="text_browser">
|
|
<property name="styleSheet">
|
|
<string notr="true"/>
|
|
</property>
|
|
<property name="autoFormatting">
|
|
<set>QTextEdit::AutoNone</set>
|
|
</property>
|
|
<property name="readOnly">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="html">
|
|
<string notr="true" extracomment="Must not be translated, otherwise the content will be replaced when switching languages"><!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="openLinks">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="InteractiveView" name="graphics_browser">
|
|
<property name="interactive">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="dragMode">
|
|
<enum>QGraphicsView::ScrollHandDrag</enum>
|
|
</property>
|
|
<property name="transformationAnchor">
|
|
<enum>QGraphicsView::AnchorUnderMouse</enum>
|
|
</property>
|
|
<property name="resizeAnchor">
|
|
<enum>QGraphicsView::AnchorUnderMouse</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="MediaPlayer" name="media_browser" native="true"/>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="QWidget" name="search_bar" 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="SearchBox" name="search_box"/>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="search_previous">
|
|
<property name="text">
|
|
<string>Previous</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset theme="go-up-search">
|
|
<normaloff>.</normaloff>.</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="search_next">
|
|
<property name="toolTip">
|
|
<string>Next</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Next</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset theme="go-down-search">
|
|
<normaloff>.</normaloff>.</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="close_search">
|
|
<property name="toolTip">
|
|
<string>Hide search</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Hide</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset theme="window-close">
|
|
<normaloff>.</normaloff>.</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>MediaPlayer</class>
|
|
<extends>QWidget</extends>
|
|
<header>widgets/mediaplayer.hpp</header>
|
|
<container>1</container>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>InteractiveView</class>
|
|
<extends>QGraphicsView</extends>
|
|
<header location="global">interactiveview.hpp</header>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>SearchBar</class>
|
|
<extends>QLineEdit</extends>
|
|
<header>widgets/searchbar.hpp</header>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>KristallTextBrowser</class>
|
|
<extends>QTextBrowser</extends>
|
|
<header>widgets/kristalltextbrowser.hpp</header>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>FavouriteButton</class>
|
|
<extends>QToolButton</extends>
|
|
<header>widgets/favouritebutton.hpp</header>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>SearchBox</class>
|
|
<extends>QLineEdit</extends>
|
|
<header>widgets/searchbox.hpp</header>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<resources>
|
|
<include location="icons.qrc"/>
|
|
</resources>
|
|
<connections/>
|
|
</ui>
|