From 8768ed1bb353bf4e2f85214dde89d19281db4ea4 Mon Sep 17 00:00:00 2001 From: Christophe Date: Thu, 23 Jan 2025 19:29:04 +0100 Subject: [PATCH] vkconfig3: Update spec links Change-Id: I3ff83852fabe4870c6f66159e1c9afa54df095a7 --- vkconfig_gui/mainwindow.ui | 34 +++++------------------------- vkconfig_gui/tab_documentation.cpp | 5 ++--- 2 files changed, 7 insertions(+), 32 deletions(-) diff --git a/vkconfig_gui/mainwindow.ui b/vkconfig_gui/mainwindow.ui index 9768ffc620..838be9301d 100644 --- a/vkconfig_gui/mainwindow.ui +++ b/vkconfig_gui/mainwindow.ui @@ -83,7 +83,7 @@ QTabWidget::Rounded - 3 + 4 @@ -1766,7 +1766,7 @@ 7 - + Arial @@ -1776,7 +1776,7 @@ - Vulkan 1.3 Core API + all published: <a style="color:%s;" href="https://registry.khronos.org/vulkan/specs/1.3-extensions/html/index.html">Chunked HTML</a>, <a style="color:%s;" href="https://registry.khronos.org/vulkan/specs/1.3-extensions/pdf/vkspec.pdf">PDF</a>, <a style="color:%s;" href="https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html">Single-file HTML</a> + <html><head/><body><p><a href="https://registry.khronos.org/vulkan/specs/latest/html/vkspec.html"><span style=" text-decoration: underline; color:#0000ff;">Latest Single-file HTML</span></a></p></body></html> Qt::RichText @@ -1790,7 +1790,7 @@ - + Arial @@ -1800,31 +1800,7 @@ - Vulkan 1.3 Core API: <a style="color:%s;" href="https://registry.khronos.org/vulkan/specs/1.3/html/index.html">Chunked HTML</a>, <a style="color:%s;" href="https://registry.khronos.org/vulkan/specs/1.3/pdf/vkspec.pdf">PDF</a>, <a style="color:%s;" href="https://registry.khronos.org/vulkan/specs/1.3/html/vkspec.html">Single-file HTML</a> - - - Qt::RichText - - - true - - - Qt::TextBrowserInteraction - - - - - - - - Arial - 10 - 50 - false - - - - Vulkan 1.3 Core API + Ratified Extensions: <a style="color:%s;" href="https://registry.khronos.org/vulkan/specs/1.3-khr-extensions/html/index.html">Chunked HTML</a>, <a style="color:%s;" href="https://registry.khronos.org/vulkan/specs/1.3-khr-extensions/pdf/vkspec.pdf">PDF</a>, <a style="color:%s;" href="https://registry.khronos.org/vulkan/specs/1.3-khr-extensions/html/vkspec.html">Single-file HTML</a> + <html><head/><body><p><a href="https://registry.khronos.org/vulkan/specs/latest/pdf/vkspec.pdf"><span style=" text-decoration: underline; color:#0000ff;">Latest PDF</span></a></p></body></html> Qt::RichText diff --git a/vkconfig_gui/tab_documentation.cpp b/vkconfig_gui/tab_documentation.cpp index 59ca1320df..81fb618c08 100644 --- a/vkconfig_gui/tab_documentation.cpp +++ b/vkconfig_gui/tab_documentation.cpp @@ -53,9 +53,8 @@ TabDocumentation::TabDocumentation(MainWindow &window, std::shared_ptrui->documentation_spec->palette(); QColor color = palette.color(QPalette::Text); - ::UpdateColor3(this->ui->documentation_spec0, color); - ::UpdateColor3(this->ui->documentation_spec1, color); - ::UpdateColor3(this->ui->documentation_spec2, color); + ::UpdateColor1(this->ui->documentation_spec_html, color); + ::UpdateColor1(this->ui->documentation_spec_pdf, color); ::UpdateColor1(this->ui->documentation_doc0, color); ::UpdateColor1(this->ui->documentation_doc1, color);