mirror of
https://github.com/iDescriptor/iDescriptor.git
synced 2026-06-22 03:45:51 +08:00
implement album export, finish WinUI styles, cleanup code
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user