mirror of
https://github.com/iDescriptor/iDescriptor.git
synced 2026-06-22 03:45:51 +08:00
implement ifuse for Linux
- Updated CMakeLists.txt to include platform-specific source files for macOS. - Added new icon for disk unmount button. - Modified resources.qrc to include the new icon. - Implemented iFuse disk unmount button and manager classes for handling iFuse operations on Linux. - Created iFuseWidget for managing iPhone disk mounting, including UI and process handling. - Integrated iFuse functionality into the main application, allowing users to mount and unmount iPhone disks. - Enhanced DeviceInfoWidget and other UI components for better user experience. - Added support for displaying mounted iFuse paths in the status bar.
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
#include "ifusediskunmountbutton.h"
|
||||
#include <QApplication>
|
||||
#include <QMessageBox>
|
||||
|
||||
iFuseDiskUnmountButton::iFuseDiskUnmountButton(const QString &path,
|
||||
QWidget *parent)
|
||||
: QPushButton{parent}
|
||||
{
|
||||
setIcon(QIcon(":/icons/ClarityHardDiskSolidAlerted.png"));
|
||||
setToolTip("Unmount iFuse at " + path);
|
||||
setFlat(true);
|
||||
setCursor(Qt::PointingHandCursor);
|
||||
setFixedSize(24, 24);
|
||||
}
|
||||
Reference in New Issue
Block a user