diff --git a/CMakeLists.txt b/CMakeLists.txt index 4e73766..3242285 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 ) diff --git a/assets/example_thumbnail.jpg b/assets/example_thumbnail.jpg new file mode 100644 index 0000000..7bc3918 Binary files /dev/null and b/assets/example_thumbnail.jpg differ diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp index 3a02f79..d942230 100644 --- a/src/MainWindow.cpp +++ b/src/MainWindow.cpp @@ -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; } diff --git a/src/mainwindow.ui b/src/mainwindow.ui index bf1ee19..d0327c8 100644 --- a/src/mainwindow.ui +++ b/src/mainwindow.ui @@ -6,7 +6,7 @@ 0 0 - 659 + 700 500 @@ -184,6 +184,66 @@ + + 2 + + + 0 + + + 0 + + + 0 + + + 0 + + + + + + 0 + 0 + + + + + 0 + 200 + + + + + 500 + 300 + + + + + 36 + + + + 1 + + + + + + :/assets/example_thumbnail.jpg + + + true + + + Qt::AlignmentFlag::AlignCenter + + + true + + + @@ -201,45 +261,31 @@ - - - - 0 - 2 - - - - - 36 - - - - 1 - + - <html><head/><body><p>hey I'll take a look later today</p></body></html> + acked by: arthur, ed, sam Qt::AlignmentFlag::AlignCenter - - true - + + + + Qt::Orientation::Vertical + + + + 20 + 40 + + + + - - - - acked by: arthur, ed, sam - - - Qt::AlignmentFlag::AlignCenter - - - @@ -447,6 +493,8 @@ - + + +