Add frozen TikZRefinery demo baseline and build pipeline
vpn-dns-gateway/pipeline/head This commit looks good
vpn-dns-gateway/pipeline/pr-main This commit looks good

This commit is contained in:
2026-11-25 22:46:33 -05:00
parent 6064cce05e
commit 27b82c169e
456 changed files with 66509 additions and 0 deletions
@@ -0,0 +1,30 @@
#include "ui/tkrFolderBrowser.h"
#include <QLabel>
#include <QPushButton>
#include <QVBoxLayout>
namespace TikzRefinery {
namespace {
constexpr int iPageMargin = 10;
constexpr int iPageSpacing = 10;
constexpr int iStretchWeight = 1;
}
tkrFolderBrowser::tkrFolderBrowser(QWidget *pParent) : QWidget(pParent)
{
setObjectName(QStringLiteral("folderBrowser"));
QVBoxLayout *pLayout = new QVBoxLayout(this);
pLayout->setContentsMargins(iPageMargin, iPageMargin, iPageMargin, iPageMargin);
pLayout->setSpacing(iPageSpacing);
QLabel *pPlaceholder = new QLabel(tr("Working-folder browsing is in development. You can open an existing TikZ document here."), this);
pPlaceholder->setWordWrap(true);
pLayout->addWidget(pPlaceholder);
QPushButton *pOpenButton = new QPushButton(tr("Open document..."), this);
pOpenButton->setObjectName(QStringLiteral("sidebarOpenDocumentButton"));
connect(pOpenButton, &QPushButton::clicked, this, &tkrFolderBrowser::openDocumentRequested);
pLayout->addWidget(pOpenButton);
pLayout->addStretch(iStretchWeight);
}
} // namespace TikzRefinery