chore: experiment with example thumbnail for video

This commit is contained in:
talksik
2026-01-30 16:32:36 -08:00
parent 50307d221e
commit 1737cc3b1a
4 changed files with 81 additions and 32 deletions
+1
View File
@@ -45,6 +45,7 @@ qt_add_resources(llink
assets/FLOWY-4.png
assets/logo.png
styles/remarkable.qss
assets/example_thumbnail.jpg
assets/Plus_Jakarta_Sans/PlusJakartaSans-VariableFont_wght.ttf
assets/Plus_Jakarta_Sans/PlusJakartaSans-Italic-VariableFont_wght.ttf
)
Binary file not shown.

After

Width:  |  Height:  |  Size: 135 KiB

+1 -1
View File
@@ -260,7 +260,7 @@ void MainWindow::onParticleSelectionChanged(const QItemSelection &selected, cons
const Particle *particle = m_particleListModel->particleAtRow(index.row());
if (particle)
{
ui->label->setText(particle->summary);
// ui->label->setText(particle->summary);
ui->label_2->setText(particle->createdBy);
m_selectedParticleId = particle->id;
}
+79 -31
View File
@@ -6,7 +6,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>659</width>
<width>700</width>
<height>500</height>
</rect>
</property>
@@ -184,6 +184,66 @@
</sizepolicy>
</property>
<layout class="QVBoxLayout" name="verticalLayout_4">
<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="QLabel" name="label">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>200</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>500</width>
<height>300</height>
</size>
</property>
<property name="font">
<font>
<pointsize>36</pointsize>
</font>
</property>
<property name="lineWidth">
<number>1</number>
</property>
<property name="text">
<string/>
</property>
<property name="pixmap">
<pixmap resource="../build/Qt_6_8_6_for_macOS-Debug/.qt/rcc/PREFIX_PATH.qrc">:/assets/example_thumbnail.jpg</pixmap>
</property>
<property name="scaledContents">
<bool>true</bool>
</property>
<property name="alignment">
<set>Qt::AlignmentFlag::AlignCenter</set>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_2">
<property name="font">
@@ -201,45 +261,31 @@
</widget>
</item>
<item>
<widget class="QLabel" name="label">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>2</verstretch>
</sizepolicy>
</property>
<property name="font">
<font>
<pointsize>36</pointsize>
</font>
</property>
<property name="lineWidth">
<number>1</number>
</property>
<widget class="QLabel" name="label_3">
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;hey I'll take a look later today&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
<string>acked by: arthur, ed, sam</string>
</property>
<property name="alignment">
<set>Qt::AlignmentFlag::AlignCenter</set>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer_2">
<property name="orientation">
<enum>Qt::Orientation::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QLabel" name="label_3">
<property name="text">
<string>acked by: arthur, ed, sam</string>
</property>
<property name="alignment">
<set>Qt::AlignmentFlag::AlignCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QWidget" name="widget_4" native="true">
<layout class="QHBoxLayout" name="horizontalLayout_2">
@@ -447,6 +493,8 @@
</property>
</widget>
</widget>
<resources/>
<resources>
<include location="../build/Qt_6_8_6_for_macOS-Debug/.qt/rcc/PREFIX_PATH.qrc"/>
</resources>
<connections/>
</ui>