implement album export, finish WinUI styles, cleanup code

This commit is contained in:
uncor3
2026-03-06 04:47:23 +03:00
parent 35c5985f47
commit 9043350731
67 changed files with 1340 additions and 587 deletions
+6 -1
View File
@@ -45,12 +45,17 @@
// FIXME: on macOS setupToolFrame in Tool widget does nothing
// probably because we are using a QQuickWidget
VirtualLocation::VirtualLocation(iDescriptorDevice *device, QWidget *parent)
: Tool(parent), m_device(device)
: QWidget(parent), m_device(device)
{
setWindowTitle("Virtual Location - iDescriptor");
setMinimumSize(600, 400);
resize(800, 600);
#ifdef WIN32
setObjectName("VirtualLocationWidget");
setAttribute(Qt::WA_StyledBackground, true);
#endif
// Create the main layout
QHBoxLayout *mainLayout = new QHBoxLayout(this);
mainLayout->setContentsMargins(10, 10, 10, 10);