Files
sdrangel/plugins/feature/ais/aisgui.ui
T
Jon Beniston 77e43defe6 Add message / ship chart.
Add images of ships from VesselFinder.
2026-08-01 20:56:52 +01:00

412 lines
11 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>AISGUI</class>
<widget class="RollupContents" name="AISGUI">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>484</width>
<height>328</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>320</width>
<height>100</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="font">
<font>
<pointsize>9</pointsize>
</font>
</property>
<property name="windowTitle">
<string>AIS</string>
</property>
<property name="layoutDirection">
<enum>Qt::LeftToRight</enum>
</property>
<widget class="QWidget" name="tableContainer" native="true">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>461</width>
<height>291</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="windowTitle">
<string>Vessels, Base stations and Aids-to-navigation</string>
</property>
<layout class="QVBoxLayout" name="mainLayout">
<property name="spacing">
<number>3</number>
</property>
<property name="leftMargin">
<number>2</number>
</property>
<property name="topMargin">
<number>2</number>
</property>
<property name="rightMargin">
<number>2</number>
</property>
<property name="bottomMargin">
<number>2</number>
</property>
<item>
<layout class="QHBoxLayout" name="toolbarLayout">
<item>
<widget class="ButtonSwitch" name="displayChart">
<property name="toolTip">
<string>Display chart. Right click to reset data</string>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="ais.qrc">
<normaloff>:/ais/chart.png</normaloff>:/ais/chart.png</iconset>
</property>
<property name="checkable">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="deleteVessels">
<property name="toolTip">
<string>Delete all vessels and table items</string>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="../../../sdrgui/resources/res.qrc">
<normaloff>:/bin.png</normaloff>:/bin.png</iconset>
</property>
</widget>
</item>
<item>
<spacer name="toolbarSpacer">
<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="QSplitter" name="splitter">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<widget class="QWidget" name="vesselPanel" native="true">
<layout class="QHBoxLayout" name="vesselLayout">
<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="QTableWidget" name="vessels">
<property name="toolTip">
<string>Vessels</string>
</property>
<property name="editTriggers">
<set>QAbstractItemView::NoEditTriggers</set>
</property>
<column>
<property name="text">
<string>MMSI</string>
</property>
<property name="toolTip">
<string>Maritime Mobile Service Identity</string>
</property>
</column>
<column>
<property name="text">
<string>Country</string>
</property>
<property name="toolTip">
<string>Country with jurisdiction over station/vessel</string>
</property>
</column>
<column>
<property name="text">
<string>Type</string>
</property>
<property name="toolTip">
<string>Message type</string>
</property>
</column>
<column>
<property name="text">
<string>Lat</string>
</property>
<property name="toolTip">
<string>Latitude in degrees. East positive</string>
</property>
</column>
<column>
<property name="text">
<string>Lon</string>
</property>
<property name="toolTip">
<string>Longitude in degrees. North positive.</string>
</property>
</column>
<column>
<property name="text">
<string>Course</string>
</property>
<property name="toolTip">
<string>Course in degrees.</string>
</property>
</column>
<column>
<property name="text">
<string>Speed</string>
</property>
<property name="toolTip">
<string>Speed in knots.</string>
</property>
</column>
<column>
<property name="text">
<string>Heading</string>
</property>
<property name="toolTip">
<string>Heading in degrees.</string>
</property>
</column>
<column>
<property name="text">
<string>Status</string>
</property>
</column>
<column>
<property name="text">
<string>IMO</string>
</property>
<property name="toolTip">
<string>International Maritime Organization number</string>
</property>
</column>
<column>
<property name="text">
<string>Name</string>
</property>
<property name="toolTip">
<string>Name of the vessel</string>
</property>
</column>
<column>
<property name="text">
<string>Callsign</string>
</property>
</column>
<column>
<property name="text">
<string>Ship Type</string>
</property>
</column>
<column>
<property name="text">
<string>Length</string>
</property>
</column>
<column>
<property name="text">
<string>Destination</string>
</property>
</column>
<column>
<property name="text">
<string>Position Updated</string>
</property>
<property name="toolTip">
<string>Time last position was received</string>
</property>
</column>
<column>
<property name="text">
<string>Updated</string>
</property>
<property name="toolTip">
<string>Time last message was received</string>
</property>
</column>
<column>
<property name="text">
<string>Messages</string>
</property>
<property name="toolTip">
<string>Number of messages received</string>
</property>
</column>
</widget>
</item>
<item>
<widget class="QWidget" name="photoPanel" native="true">
<property name="maximumSize">
<size>
<width>330</width>
<height>16777215</height>
</size>
</property>
<layout class="QVBoxLayout" name="photoLayout">
<property name="leftMargin">
<number>3</number>
</property>
<property name="topMargin">
<number>3</number>
</property>
<property name="rightMargin">
<number>3</number>
</property>
<property name="bottomMargin">
<number>3</number>
</property>
<item alignment="Qt::AlignRight">
<widget class="QToolButton" name="hidePhoto">
<property name="toolTip">
<string>Hide ship photograph</string>
</property>
<property name="text">
<string>×</string>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="shipPhoto">
<property name="minimumSize">
<size>
<width>180</width>
<height>120</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>320</width>
<height>320</height>
</size>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="photoCredit">
<property name="textFormat">
<enum>Qt::RichText</enum>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
<property name="openExternalLinks">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<spacer name="photoSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<widget class="QChartView" name="chart">
<property name="minimumSize">
<size>
<width>300</width>
<height>160</height>
</size>
</property>
<property name="toolTip">
<string>AIS messages per second and ships over time</string>
</property>
</widget>
</widget>
</item>
</layout>
</widget>
</widget>
<customwidgets>
<customwidget>
<class>ButtonSwitch</class>
<extends>QToolButton</extends>
<header>gui/buttonswitch.h</header>
</customwidget>
<customwidget>
<class>RollupContents</class>
<extends>QWidget</extends>
<header>gui/rollupcontents.h</header>
<container>1</container>
</customwidget>
<customwidget>
<class>QChartView</class>
<extends>QGraphicsView</extends>
<header>QtCharts</header>
</customwidget>
</customwidgets>
<resources>
<include location="../../../sdrgui/resources/res.qrc"/>
<include location="ais.qrc"/>
</resources>
<connections/>
</ui>