
+ add SECoP logo resources (3 dark text, 1 light text) + Add logo to greeter TODO: when there is a frappy-logo, replace this Change-Id: I37eb8946d291b2f5dde0b5000251a4ac363fb01f Reviewed-on: https://forge.frm2.tum.de/review/c/secop/frappy/+/30596 Tested-by: Jenkins Automated Tests <pedersen+jenkins@frm2.tum.de> Reviewed-by: Georg Brandl <g.brandl@fz-juelich.de> Reviewed-by: Alexander Zaft <a.zaft@fz-juelich.de>
274 lines
8.4 KiB
XML
274 lines
8.4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>Form</class>
|
|
<widget class="QWidget" name="Form">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>691</width>
|
|
<height>621</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Form</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout" rowstretch="2,5,2" columnstretch="2,6,2">
|
|
<item row="1" column="0">
|
|
<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 row="1" column="1">
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
<item>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<item>
|
|
<spacer name="horizontalSpacer_3">
|
|
<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="logoLabel">
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>400</width>
|
|
<height>120</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="pixmap">
|
|
<pixmap resource="../../../resources/frappy-gui.qrc">:/icons/logo_subtitle</pixmap>
|
|
</property>
|
|
<property name="scaledContents">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="horizontalSpacer_4">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>40</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>20</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string><html><head/><body><p align="center">Frappy</p></body></html></string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label_2">
|
|
<property name="text">
|
|
<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:'Noto Sans'; font-size:10pt; font-weight:400; font-style:normal;">
|
|
<p align="center" style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Welcome to Frappy's graphical SECoP client</p></body></html></string>
|
|
</property>
|
|
<property name="margin">
|
|
<number>0</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<layout class="QGridLayout" name="gridLayout_2">
|
|
<item row="0" column="1" alignment="Qt::AlignBottom">
|
|
<widget class="QLabel" name="label_3">
|
|
<property name="text">
|
|
<string>Recent SECNodes</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="2" alignment="Qt::AlignRight">
|
|
<widget class="QToolButton" name="ClearButton">
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>Clear all recent connections</p></body></html></string>
|
|
</property>
|
|
<property name="text">
|
|
<string>...</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../../../resources/frappy-gui.qrc">
|
|
<normaloff>:/icons/trash</normaloff>:/icons/trash</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1" colspan="2">
|
|
<widget class="QPushButton" name="connectRecentButton">
|
|
<property name="text">
|
|
<string>Connect to selected</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../../../resources/frappy-gui.qrc">
|
|
<normaloff>:/icons/connect</normaloff>:/icons/connect</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1" colspan="2">
|
|
<widget class="QListWidget" name="recentNodes">
|
|
<property name="toolTip">
|
|
<string>Select one or more recent Nodes to Connect to</string>
|
|
</property>
|
|
<property name="alternatingRowColors">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="selectionMode">
|
|
<enum>QAbstractItemView::ExtendedSelection</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<spacer name="verticalSpacer_2">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>40</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item alignment="Qt::AlignBottom">
|
|
<widget class="QLabel" name="label_4">
|
|
<property name="text">
|
|
<string>Connect to SECNode</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<layout class="QGridLayout" name="gridLayout_3" columnstretch="0,0">
|
|
<item row="0" column="1">
|
|
<widget class="QPushButton" name="AddSECNodeButton">
|
|
<property name="text">
|
|
<string>Connect</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../../../resources/frappy-gui.qrc">
|
|
<normaloff>:/icons/connect</normaloff>:/icons/connect</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="0">
|
|
<widget class="QLineEdit" name="secnodeEdit">
|
|
<property name="placeholderText">
|
|
<string>localhost:10767</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<spacer name="verticalSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>40</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<spacer name="verticalSpacer_3">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>40</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item row="1" column="2">
|
|
<spacer name="horizontalSpacer_2">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>40</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<tabstops>
|
|
<tabstop>recentNodes</tabstop>
|
|
<tabstop>connectRecentButton</tabstop>
|
|
<tabstop>secnodeEdit</tabstop>
|
|
<tabstop>AddSECNodeButton</tabstop>
|
|
<tabstop>ClearButton</tabstop>
|
|
</tabstops>
|
|
<resources>
|
|
<include location="../../../resources/frappy-gui.qrc"/>
|
|
</resources>
|
|
<connections>
|
|
<connection>
|
|
<sender>secnodeEdit</sender>
|
|
<signal>returnPressed()</signal>
|
|
<receiver>AddSECNodeButton</receiver>
|
|
<slot>animateClick()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>261</x>
|
|
<y>456</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>462</x>
|
|
<y>456</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
</connections>
|
|
</ui>
|