diff --git a/resources/connect.png b/resources/connect.png index 4601df1..40da3d4 100755 Binary files a/resources/connect.png and b/resources/connect.png differ diff --git a/src/welcomewidget.cpp b/src/welcomewidget.cpp index 5dbd835..cc6f7d8 100644 --- a/src/welcomewidget.cpp +++ b/src/welcomewidget.cpp @@ -56,31 +56,23 @@ void WelcomeWidget::setupUI() QHBoxLayout *imageAndWirelessDevicesLayout = new QHBoxLayout(); - m_imageLabel = new ResponsiveQLabel(); + m_imageLabel = new QLabel(); m_imageLabel->setPixmap(QPixmap(":/resources/connect.png")); - m_imageLabel->setScaledContents(true); m_imageLabel->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding); - + m_imageLabel->setMinimumSize(QSize(400, 0)); m_imageLabel->setStyleSheet("background: transparent; border: none;"); - m_imageLabel->setAlignment(Qt::AlignCenter); - imageAndWirelessDevicesLayout->addStretch(1); - // m_imageLabel->setMaximumWidth(300); imageAndWirelessDevicesLayout->addWidget(m_imageLabel, 0, Qt::AlignHCenter); - imageAndWirelessDevicesLayout->addStretch(1); NetworkDevicesToConnectWidget *networkDevicesWidget = new NetworkDevicesToConnectWidget(); - // FIMXE: resize original image - networkDevicesWidget->setMinimumWidth(350); imageAndWirelessDevicesLayout->addWidget(networkDevicesWidget); - imageAndWirelessDevicesLayout->addStretch(1); m_mainLayout->addLayout(imageAndWirelessDevicesLayout); m_mainLayout->addSpacing(10); - m_instructionLabel = createStyledLabel( - "Please connect an iDevice to get started", 14, false); + m_instructionLabel = + createStyledLabel("Connect an iDevice to get started", 14, false); m_instructionLabel->setAlignment(Qt::AlignCenter); m_mainLayout->addWidget(m_instructionLabel); m_mainLayout->addSpacing(10); diff --git a/src/welcomewidget.h b/src/welcomewidget.h index b914905..5c9b11e 100644 --- a/src/welcomewidget.h +++ b/src/welcomewidget.h @@ -21,7 +21,6 @@ #define WELCOMEWIDGET_H #include "iDescriptor-ui.h" -#include "responsiveqlabel.h" #include #include #include @@ -43,7 +42,7 @@ private: QVBoxLayout *m_mainLayout; ZLabel *m_titleLabel; ZLabel *m_subtitleLabel; - ResponsiveQLabel *m_imageLabel; + QLabel *m_imageLabel; ZLabel *m_instructionLabel; ZLabel *m_githubLabel; };