add app icon & update icon paths
@@ -1 +0,0 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" color="currentColor"><path d="M4 3v2.077c0 2 0 3.001.145 3.838c.8 4.609 4.762 8.223 9.812 8.952C14.875 18 16.807 18 19 18"/><path d="M17 21c.607-.59 3-2.16 3-3s-2.393-2.41-3-3"/></g></svg>
|
||||
|
Before Width: | Height: | Size: 374 B |
@@ -1 +0,0 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24"><!-- Icon from Material Line Icons by Vjacheslav Trushkin - https://github.com/cyberalien/line-md/blob/master/license.txt --><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path stroke-dasharray="64" stroke-dashoffset="64" d="M12 3c4.97 0 9 4.03 9 9c0 4.97 -4.03 9 -9 9c-4.97 0 -9 -4.03 -9 -9c0 -4.97 4.03 -9 9 -9"><animate fill="freeze" attributeName="stroke-dashoffset" dur="0.6s" values="64;0"/></path><path stroke-dasharray="2" stroke-dashoffset="2" d="M9 9v1"><animate fill="freeze" attributeName="stroke-dashoffset" begin="0.7s" dur="0.2s" values="2;0"/></path><path stroke-dasharray="2" stroke-dashoffset="2" d="M14.5 9.5h1"><animate fill="freeze" attributeName="stroke-dashoffset" begin="0.9s" dur="0.2s" values="2;0"/></path><path stroke-dasharray="12" stroke-dashoffset="12" d="M8 14c0.5 1.5 1.79 3 4 3c2.21 0 3.5 -1.5 4 -3"><animate fill="freeze" attributeName="stroke-dashoffset" begin="1.1s" dur="0.2s" values="12;0"/></path></g></svg>
|
||||
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 32 KiB |
@@ -1,16 +1,16 @@
|
||||
<RCC>
|
||||
<qresource prefix="/">
|
||||
<file>icons/ArrowMoveDownRight.svg</file>
|
||||
<file>icons/video-x-generic.png</file>
|
||||
<file>icons/MdiLightningBolt.png</file>
|
||||
<file>icons/MingcuteSettings7Line.png</file>
|
||||
<file>icons/ClarityHardDiskSolidAlerted.png</file>
|
||||
<file>icons/IcOutlinePowerSettingsNew.png</file>
|
||||
<file>icons/HugeiconsWrench01.png</file>
|
||||
<file>icons/IcTwotoneRestartAlt.png</file>
|
||||
<file>icons/icon.png</file>
|
||||
<file>resources/icons/video-x-generic.png</file>
|
||||
<file>resources/icons/MdiLightningBolt.png</file>
|
||||
<file>resources/icons/MingcuteSettings7Line.png</file>
|
||||
<file>resources/icons/ClarityHardDiskSolidAlerted.png</file>
|
||||
<file>resources/icons/IcOutlinePowerSettingsNew.png</file>
|
||||
<file>resources/icons/HugeiconsWrench01.png</file>
|
||||
<file>resources/icons/IcTwotoneRestartAlt.png</file>
|
||||
<!-- <file>resources/icons/icon.png</file> -->
|
||||
<file>qml/MapView.qml</file>
|
||||
<file>resources/dump.js</file>
|
||||
<!-- TODO: -->
|
||||
<!-- <file>resources/dump.js</file> -->
|
||||
<file>resources/iphone.png</file>
|
||||
<file>resources/ios-wallpapers/iphone-ios4.png</file>
|
||||
<file>resources/ios-wallpapers/iphone-ios5.png</file>
|
||||
|
||||
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 9.3 KiB After Width: | Height: | Size: 9.3 KiB |
|
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
|
After Width: | Height: | Size: 757 B |
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 60 KiB |
|
After Width: | Height: | Size: 79 KiB |
|
After Width: | Height: | Size: 291 KiB |
|
Before Width: | Height: | Size: 8.2 KiB After Width: | Height: | Size: 8.2 KiB |
@@ -55,19 +55,20 @@ DeviceInfoWidget::DeviceInfoWidget(iDescriptorDevice *device, QWidget *parent)
|
||||
actionsLayout->setSpacing(10);
|
||||
|
||||
ClickableIconWidget *shutdownBtn = new ClickableIconWidget(
|
||||
QIcon(":/icons/IcOutlinePowerSettingsNew.png"), "Shutdown", this);
|
||||
QIcon(":/resources/icons/IcOutlinePowerSettingsNew.png"), "Shutdown",
|
||||
this);
|
||||
shutdownBtn->setIconSize(QSize(20, 20));
|
||||
connect(shutdownBtn, &ClickableIconWidget::clicked, this,
|
||||
[device]() { ToolboxWidget::shutdownDevice(device); });
|
||||
|
||||
ClickableIconWidget *restartBtn = new ClickableIconWidget(
|
||||
QIcon(":/icons/IcTwotoneRestartAlt.png"), "Restart", this);
|
||||
QIcon(":/resources/icons/IcTwotoneRestartAlt.png"), "Restart", this);
|
||||
restartBtn->setIconSize(QSize(20, 20));
|
||||
connect(restartBtn, &ClickableIconWidget::clicked, this,
|
||||
[device]() { ToolboxWidget::restartDevice(device); });
|
||||
|
||||
ClickableIconWidget *recoveryBtn = new ClickableIconWidget(
|
||||
QIcon(":/icons/HugeiconsWrench01.png"), "Recovery", this);
|
||||
QIcon(":/resources/icons/HugeiconsWrench01.png"), "Recovery", this);
|
||||
recoveryBtn->setIconSize(QSize(20, 20));
|
||||
connect(recoveryBtn, &ClickableIconWidget::clicked, this,
|
||||
[device]() { ToolboxWidget::_enterRecoveryMode(device); });
|
||||
@@ -130,7 +131,7 @@ DeviceInfoWidget::DeviceInfoWidget(iDescriptorDevice *device, QWidget *parent)
|
||||
|
||||
// Create icon label
|
||||
m_lightningIconLabel = new QLabel();
|
||||
QPixmap lightningIcon(":/icons/MdiLightningBolt.png");
|
||||
QPixmap lightningIcon(":/resources/icons/MdiLightningBolt.png");
|
||||
QPixmap scaledIcon = lightningIcon.scaled(26, 26, Qt::KeepAspectRatio,
|
||||
Qt::SmoothTransformation);
|
||||
m_lightningIconLabel->setPixmap(scaledIcon);
|
||||
|
||||
@@ -6,7 +6,7 @@ iFuseDiskUnmountButton::iFuseDiskUnmountButton(const QString &path,
|
||||
QWidget *parent)
|
||||
: QPushButton{parent}
|
||||
{
|
||||
setIcon(QIcon(":/icons/ClarityHardDiskSolidAlerted.png"));
|
||||
setIcon(QIcon(":/resources/icons/ClarityHardDiskSolidAlerted.png"));
|
||||
setToolTip("Unmount iFuse at " + path);
|
||||
setFlat(true);
|
||||
setCursor(Qt::PointingHandCursor);
|
||||
|
||||
@@ -110,8 +110,8 @@ MainWindow::MainWindow(QWidget *parent)
|
||||
: QMainWindow(parent), ui(new Ui::MainWindow)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
|
||||
setWindowIcon(QIcon(":/icons/icon.png"));
|
||||
// TODO
|
||||
// setWindowIcon(QIcon(":/resources/icons/icon.png"));
|
||||
|
||||
// Create custom tab widget
|
||||
m_customTabWidget = new CustomTabWidget(this);
|
||||
@@ -150,7 +150,7 @@ MainWindow::MainWindow(QWidget *parent)
|
||||
this, &MainWindow::updateNoDevicesConnected);
|
||||
|
||||
// Add tabs with icons
|
||||
QIcon deviceIcon(":/icons/MdiLightningBolt.png");
|
||||
QIcon deviceIcon(":/resources/icons/MdiLightningBolt.png");
|
||||
m_customTabWidget->addTab(m_mainStackedWidget, deviceIcon, "iDevice");
|
||||
m_customTabWidget->addTab(new AppsWidget(this), "Apps");
|
||||
m_customTabWidget->addTab(new ToolboxWidget(this), "Toolbox");
|
||||
@@ -170,7 +170,8 @@ MainWindow::MainWindow(QWidget *parent)
|
||||
|
||||
// settings button
|
||||
QPushButton *settingsButton = new QPushButton();
|
||||
settingsButton->setIcon(QIcon(":/icons/MingcuteSettings7Line.png"));
|
||||
settingsButton->setIcon(
|
||||
QIcon(":/resources/icons/MingcuteSettings7Line.png"));
|
||||
settingsButton->setToolTip("Settings");
|
||||
settingsButton->setFlat(true);
|
||||
settingsButton->setCursor(Qt::PointingHandCursor);
|
||||
|
||||
@@ -142,7 +142,7 @@ QVariant PhotoModel::data(const QModelIndex &index, int role) const
|
||||
info.fileName.endsWith(".MP4", Qt::CaseInsensitive) ||
|
||||
info.fileName.endsWith(".M4V", Qt::CaseInsensitive)) {
|
||||
// return QIcon::fromTheme("video-x-generic");
|
||||
return QIcon(":/icons/video-x-generic.png");
|
||||
return QIcon(":/resources/icons/video-x-generic.png");
|
||||
} else {
|
||||
return QIcon::fromTheme("image-x-generic");
|
||||
}
|
||||
@@ -160,7 +160,7 @@ QVariant PhotoModel::data(const QModelIndex &index, int role) const
|
||||
info.fileName.endsWith(".MP4", Qt::CaseInsensitive) ||
|
||||
info.fileName.endsWith(".M4V", Qt::CaseInsensitive)) {
|
||||
// return QIcon::fromTheme("video-x-generic");
|
||||
return QIcon(":/icons/video-x-generic.png");
|
||||
return QIcon(":/resources/icons/video-x-generic.png");
|
||||
} else {
|
||||
return QIcon::fromTheme("image-x-generic");
|
||||
}
|
||||
|
||||