1.7
157
QtAdb/QtAdb.pro
Normal file
|
@ -0,0 +1,157 @@
|
|||
QT += core gui
|
||||
QT += serialport
|
||||
QT += core5compat
|
||||
CONFIG += resources_big
|
||||
# QMAKE_LFLAGS += /MANIFESTUAC:\"level=\'requireAdministrator\' uiAccess=\'false\'\"
|
||||
|
||||
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
||||
|
||||
CONFIG += c++11
|
||||
|
||||
# You can make your code fail to compile if it uses deprecated APIs.
|
||||
# In order to do so, uncomment the following line.
|
||||
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
|
||||
|
||||
SOURCES += \
|
||||
about.cpp \
|
||||
abstract/comboboxlistwidget.cpp \
|
||||
adbprocess.cpp \
|
||||
animationwidget.cpp \
|
||||
basepage.cpp \
|
||||
devitem.cpp \
|
||||
indexlistitem.cpp \
|
||||
main.cpp \
|
||||
mainwindow.cpp \
|
||||
monitor.cpp \
|
||||
noticewidget.cpp \
|
||||
pagelistitem.cpp \
|
||||
pagemaker.cpp \
|
||||
sonPages/activator/sp_activator.cpp \
|
||||
sonPages/advanced/sp_accounts.cpp \
|
||||
sonPages/advanced/sp_captive_portal.cpp \
|
||||
sonPages/advanced/sp_customize_cmd.cpp \
|
||||
sonPages/advanced/sp_scales.cpp \
|
||||
sonPages/advanced/sp_status_bar.cpp \
|
||||
sonPages/advanced/sp_vibrate.cpp \
|
||||
sonPages/apps/sp_features.cpp \
|
||||
sonPages/apps/sp_installer.cpp \
|
||||
sonPages/apps/sp_libraries.cpp \
|
||||
sonPages/apps/sp_packages.cpp \
|
||||
sonPages/apps/sp_permissiongroups.cpp \
|
||||
sonPages/apps/sp_permissions.cpp \
|
||||
sonPages/apps/sp_users.cpp \
|
||||
sonPages/apps/tp_packageprofile.cpp \
|
||||
sonPages/devControl/btnemulator.cpp \
|
||||
sonPages/devControl/sp_devcontrol_power.cpp \
|
||||
sonPages/devInfo/sp_dpichanger.cpp \
|
||||
sonPages/devInfo/sp_wmsize.cpp \
|
||||
sonPages/links.cpp \
|
||||
sonPages/pay.cpp \
|
||||
sonPages/recovery/sp_recovery.cpp \
|
||||
sonPages/sonpagebase.cpp \
|
||||
sonPages/sonpagemanager.cpp \
|
||||
sonPages/standardoutputpage.cpp \
|
||||
textexplainer.cpp \
|
||||
threads/adbthread.cpp \
|
||||
threads/thread_createpage.cpp \
|
||||
threads/thread_monitor.cpp \
|
||||
usb_listener.cpp \
|
||||
welcomepage.cpp
|
||||
|
||||
HEADERS += \
|
||||
about.h \
|
||||
abstract/comboboxlistwidget.h \
|
||||
adbprocess.h \
|
||||
animationwidget.h \
|
||||
basepage.h \
|
||||
devitem.h \
|
||||
indexlistitem.h \
|
||||
mainwindow.h \
|
||||
monitor.h \
|
||||
noticewidget.h \
|
||||
pagelistitem.h \
|
||||
pagemaker.h \
|
||||
sonPages/activator/sp_activator.h \
|
||||
sonPages/advanced/sp_accounts.h \
|
||||
sonPages/advanced/sp_captive_portal.h \
|
||||
sonPages/advanced/sp_customize_cmd.h \
|
||||
sonPages/advanced/sp_scales.h \
|
||||
sonPages/advanced/sp_status_bar.h \
|
||||
sonPages/advanced/sp_vibrate.h \
|
||||
sonPages/apps/sp_features.h \
|
||||
sonPages/apps/sp_installer.h \
|
||||
sonPages/apps/sp_libraries.h \
|
||||
sonPages/apps/sp_packages.h \
|
||||
sonPages/apps/sp_permissiongroups.h \
|
||||
sonPages/apps/sp_permissions.h \
|
||||
sonPages/apps/sp_users.h \
|
||||
sonPages/apps/tp_packageprofile.h \
|
||||
sonPages/devControl/btnemulator.h \
|
||||
sonPages/devControl/sp_devcontrol_power.h \
|
||||
sonPages/devInfo/sp_dpichanger.h \
|
||||
sonPages/devInfo/sp_wmsize.h \
|
||||
sonPages/links.h \
|
||||
sonPages/pay.h \
|
||||
sonPages/recovery/sp_recovery.h \
|
||||
sonPages/sonpagebase.h \
|
||||
sonPages/sonpagemanager.h \
|
||||
sonPages/standardoutputpage.h \
|
||||
textexplainer.h \
|
||||
threads/adbthread.h \
|
||||
threads/thread_createpage.h \
|
||||
threads/thread_monitor.h \
|
||||
usb_listener.h \
|
||||
welcomepage.h
|
||||
|
||||
FORMS += \
|
||||
about.ui \
|
||||
basepage.ui \
|
||||
devitem.ui \
|
||||
indexlistitem.ui \
|
||||
mainwindow.ui \
|
||||
monitor.ui \
|
||||
noticewidget.ui \
|
||||
pagelistitem.ui \
|
||||
sonPages/activator/sp_activator.ui \
|
||||
sonPages/advanced/sp_accounts.ui \
|
||||
sonPages/advanced/sp_captive_portal.ui \
|
||||
sonPages/advanced/sp_customize_cmd.ui \
|
||||
sonPages/advanced/sp_scales.ui \
|
||||
sonPages/advanced/sp_status_bar.ui \
|
||||
sonPages/advanced/sp_vibrate.ui \
|
||||
sonPages/apps/sp_features.ui \
|
||||
sonPages/apps/sp_installer.ui \
|
||||
sonPages/apps/sp_libraries.ui \
|
||||
sonPages/apps/sp_packages.ui \
|
||||
sonPages/apps/sp_permissiongroups.ui \
|
||||
sonPages/apps/sp_permissions.ui \
|
||||
sonPages/apps/sp_users.ui \
|
||||
sonPages/apps/tp_packageprofile.ui \
|
||||
sonPages/devControl/btnemulator.ui \
|
||||
sonPages/devControl/sp_devcontrol_power.ui \
|
||||
sonPages/devInfo/sp_dpichanger.ui \
|
||||
sonPages/devInfo/sp_wmsize.ui \
|
||||
sonPages/links.ui \
|
||||
sonPages/pay.ui \
|
||||
sonPages/recovery/sp_recovery.ui \
|
||||
sonPages/sonpagebase.ui \
|
||||
sonPages/standardoutputpage.ui \
|
||||
welcomepage.ui
|
||||
|
||||
TRANSLATIONS += \
|
||||
QtAdb_zh_CN.ts
|
||||
CONFIG += lrelease
|
||||
CONFIG += embed_translations
|
||||
|
||||
# Default rules for deployment.
|
||||
qnx: target.path = /tmp/$${TARGET}/bin
|
||||
else: unix:!android: target.path = /opt/$${TARGET}/bin
|
||||
!isEmpty(target.path): INSTALLS += target
|
||||
|
||||
RESOURCES += \
|
||||
cfgs.qrc \
|
||||
fonts/fonts.qrc \
|
||||
ico.qrc \
|
||||
styles.qrc
|
||||
|
||||
RC_FILE += logo.rc
|
3
QtAdb/QtAdb_zh_CN.ts
Normal file
|
@ -0,0 +1,3 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="zh_CN"></TS>
|
BIN
QtAdb/Resources/platform-tools/AdbWinApi.dll
Normal file
BIN
QtAdb/Resources/platform-tools/AdbWinUsbApi.dll
Normal file
54616
QtAdb/Resources/platform-tools/NOTICE.txt
Normal file
BIN
QtAdb/Resources/platform-tools/adb.exe
Normal file
BIN
QtAdb/Resources/platform-tools/dmtracedump.exe
Normal file
BIN
QtAdb/Resources/platform-tools/etc1tool.exe
Normal file
BIN
QtAdb/Resources/platform-tools/fastboot.exe
Normal file
BIN
QtAdb/Resources/platform-tools/hprof-conv.exe
Normal file
BIN
QtAdb/Resources/platform-tools/libwinpthread-1.dll
Normal file
BIN
QtAdb/Resources/platform-tools/make_f2fs.exe
Normal file
BIN
QtAdb/Resources/platform-tools/make_f2fs_casefold.exe
Normal file
53
QtAdb/Resources/platform-tools/mke2fs.conf
Normal file
|
@ -0,0 +1,53 @@
|
|||
[defaults]
|
||||
base_features = sparse_super,large_file,filetype,dir_index,ext_attr
|
||||
default_mntopts = acl,user_xattr
|
||||
enable_periodic_fsck = 0
|
||||
blocksize = 4096
|
||||
inode_size = 256
|
||||
inode_ratio = 16384
|
||||
reserved_ratio = 1.0
|
||||
|
||||
[fs_types]
|
||||
ext3 = {
|
||||
features = has_journal
|
||||
}
|
||||
ext4 = {
|
||||
features = has_journal,extent,huge_file,dir_nlink,extra_isize,uninit_bg
|
||||
inode_size = 256
|
||||
}
|
||||
ext4dev = {
|
||||
features = has_journal,extent,huge_file,flex_bg,inline_data,64bit,dir_nlink,extra_isize
|
||||
inode_size = 256
|
||||
options = test_fs=1
|
||||
}
|
||||
small = {
|
||||
blocksize = 1024
|
||||
inode_size = 128
|
||||
inode_ratio = 4096
|
||||
}
|
||||
floppy = {
|
||||
blocksize = 1024
|
||||
inode_size = 128
|
||||
inode_ratio = 8192
|
||||
}
|
||||
big = {
|
||||
inode_ratio = 32768
|
||||
}
|
||||
huge = {
|
||||
inode_ratio = 65536
|
||||
}
|
||||
news = {
|
||||
inode_ratio = 4096
|
||||
}
|
||||
largefile = {
|
||||
inode_ratio = 1048576
|
||||
blocksize = -1
|
||||
}
|
||||
largefile4 = {
|
||||
inode_ratio = 4194304
|
||||
blocksize = -1
|
||||
}
|
||||
hurd = {
|
||||
blocksize = 4096
|
||||
inode_size = 128
|
||||
}
|
BIN
QtAdb/Resources/platform-tools/mke2fs.exe
Normal file
4
QtAdb/Resources/platform-tools/open-cmd-here.bat
Normal file
|
@ -0,0 +1,4 @@
|
|||
@echo off
|
||||
set dir=%cd%
|
||||
REM set dir="d:\"
|
||||
start cmd /K "cd/d %dir%"
|
2
QtAdb/Resources/platform-tools/source.properties
Normal file
|
@ -0,0 +1,2 @@
|
|||
Pkg.UserSrc=false
|
||||
Pkg.Revision=33.0.2
|
BIN
QtAdb/Resources/platform-tools/sqlite3.exe
Normal file
142
QtAdb/about.cpp
Normal file
|
@ -0,0 +1,142 @@
|
|||
#include "about.h"
|
||||
#include "ui_about.h"
|
||||
|
||||
about::about(QWidget *parent) :
|
||||
basePage(parent),
|
||||
ui(new Ui::about)
|
||||
{
|
||||
self_castrate();
|
||||
ui->setupUi(this);
|
||||
|
||||
QGraphicsDropShadowEffect *shadowEffect_btn_website = new QGraphicsDropShadowEffect(this);
|
||||
shadowEffect_btn_website->setOffset(0,0);
|
||||
shadowEffect_btn_website->setColor(Qt::gray);
|
||||
shadowEffect_btn_website->setBlurRadius(5);
|
||||
ui->btn_website->setGraphicsEffect(shadowEffect_btn_website);
|
||||
|
||||
QGraphicsDropShadowEffect *shadowEffect_btn_coolapk = new QGraphicsDropShadowEffect(this);
|
||||
shadowEffect_btn_coolapk->setOffset(0,0);
|
||||
shadowEffect_btn_coolapk->setColor(Qt::gray);
|
||||
shadowEffect_btn_coolapk->setBlurRadius(5);
|
||||
ui->btn_coolapk->setGraphicsEffect(shadowEffect_btn_coolapk);
|
||||
|
||||
QGraphicsDropShadowEffect *shadowEffect_btn_github = new QGraphicsDropShadowEffect(this);
|
||||
shadowEffect_btn_github->setOffset(0,0);
|
||||
shadowEffect_btn_github->setColor(Qt::gray);
|
||||
shadowEffect_btn_github->setBlurRadius(5);
|
||||
ui->btn_github->setGraphicsEffect(shadowEffect_btn_github);
|
||||
|
||||
QGraphicsDropShadowEffect *shadowEffect_btn_money = new QGraphicsDropShadowEffect(this);
|
||||
shadowEffect_btn_money->setOffset(0,0);
|
||||
shadowEffect_btn_money->setColor(Qt::gray);
|
||||
shadowEffect_btn_money->setBlurRadius(5);
|
||||
//ui->btn_money->setGraphicsEffect(shadowEffect_btn_money);
|
||||
|
||||
QGraphicsDropShadowEffect *shadowEffect_btn_money2 = new QGraphicsDropShadowEffect(this);
|
||||
shadowEffect_btn_money2->setOffset(0,0);
|
||||
shadowEffect_btn_money2->setColor(QColorConstants::Svg::orange);
|
||||
shadowEffect_btn_money2->setBlurRadius(5);
|
||||
ui->btn_money_2->setGraphicsEffect(shadowEffect_btn_money2);/*
|
||||
QGraphicsDropShadowEffect *shadowEffect_btn_money3 = new QGraphicsDropShadowEffect(this);
|
||||
shadowEffect_btn_money3->setOffset(0,0);
|
||||
shadowEffect_btn_money3->setColor(Qt::gray);
|
||||
shadowEffect_btn_money3->setBlurRadius(5);
|
||||
ui->btn_money_3->setGraphicsEffect(shadowEffect_btn_money3);
|
||||
QGraphicsDropShadowEffect *shadowEffect_btn_money4 = new QGraphicsDropShadowEffect(this);
|
||||
shadowEffect_btn_money4->setOffset(0,0);
|
||||
shadowEffect_btn_money4->setColor(Qt::gray);
|
||||
shadowEffect_btn_money4->setBlurRadius(5);
|
||||
ui->btn_money_4->setGraphicsEffect(shadowEffect_btn_money4);*/
|
||||
|
||||
QGraphicsDropShadowEffect *shadowEffect_btn_qq = new QGraphicsDropShadowEffect(this);
|
||||
shadowEffect_btn_qq->setOffset(0,0);
|
||||
shadowEffect_btn_qq->setColor(Qt::gray);
|
||||
shadowEffect_btn_qq->setBlurRadius(5);
|
||||
ui->btn_qq_dis->setGraphicsEffect(shadowEffect_btn_qq);
|
||||
|
||||
QGraphicsDropShadowEffect *shadowEffect_btn_qGroup = new QGraphicsDropShadowEffect(this);
|
||||
shadowEffect_btn_qGroup->setOffset(0,0);
|
||||
shadowEffect_btn_qGroup->setColor(Qt::gray);
|
||||
shadowEffect_btn_qGroup->setBlurRadius(5);
|
||||
ui->btn_qgroup->setGraphicsEffect(shadowEffect_btn_qGroup);
|
||||
|
||||
QGraphicsDropShadowEffect *shadowEffect_btn_version = new QGraphicsDropShadowEffect(this);
|
||||
shadowEffect_btn_version->setOffset(0,0);
|
||||
shadowEffect_btn_version->setColor(Qt::gray);
|
||||
shadowEffect_btn_version->setBlurRadius(5);
|
||||
ui->btn_version->setGraphicsEffect(shadowEffect_btn_version);
|
||||
|
||||
QGraphicsDropShadowEffect *shadowEffect_btn_links = new QGraphicsDropShadowEffect(this);
|
||||
shadowEffect_btn_links->setOffset(0,0);
|
||||
shadowEffect_btn_links->setColor(QColorConstants::Svg::skyblue);
|
||||
shadowEffect_btn_links->setBlurRadius(5);
|
||||
ui->btn_links->setGraphicsEffect(shadowEffect_btn_links);
|
||||
|
||||
|
||||
QFont font1;
|
||||
font1.setFamilies({QString::fromUtf8("LXGW WenKai Lite")});
|
||||
font1.setPointSize(12);
|
||||
//ui->setFont(font1);
|
||||
|
||||
/*
|
||||
ui->btn_money->hide();
|
||||
ui->btn_money_3->hide();
|
||||
ui->btn_money_4->hide();*/
|
||||
//this->setStyleSheet("QToolTip{border:1px solid #BDBDBD; background-color: #ffffff; color:rgba(117, 117, 117, 0.9);font-family: MiSans Medium; font-size:12px;border-radius:4px;}");
|
||||
//this->setStyleSheet("QToolTip{border:1px solid #BDBDBD; background-color: #ffffff; color:rgba(117, 117, 117, 0.9);font-family: MiSans Medium; font-size:12px;border-radius:4px;}");
|
||||
}
|
||||
|
||||
about::~about()
|
||||
{
|
||||
delete ui;
|
||||
}
|
||||
|
||||
void about::on_btn_website_clicked()
|
||||
{
|
||||
QDesktopServices::openUrl(QUrl("https://lapplandsp.github.io/QtAdb-Pages/", QUrl::TolerantMode));
|
||||
}
|
||||
|
||||
void about::on_btn_coolapk_clicked()
|
||||
{
|
||||
QDesktopServices::openUrl(QUrl("http://www.coolapk.com/u/692559", QUrl::TolerantMode));
|
||||
}
|
||||
|
||||
void about::on_btn_github_clicked()
|
||||
{
|
||||
QDesktopServices::openUrl(QUrl("https://github.com/LapplandSP", QUrl::TolerantMode));
|
||||
}
|
||||
|
||||
void about::on_btn_money_2_clicked()
|
||||
{
|
||||
pay * payPage = new pay();
|
||||
payPage->setStyleSheet("background-color:rgba(255,255,255,1);");
|
||||
payPage->setWindowIcon(QIcon(":/ico/image/ico/about/cola.svg"));
|
||||
payPage->setBaseSize(300,500);
|
||||
payPage->setWindowTitle("请我喝可乐");
|
||||
payPage->show();
|
||||
}
|
||||
|
||||
void about::on_btn_links_clicked()
|
||||
{
|
||||
links *linksPage = new links();
|
||||
linksPage->show();
|
||||
}
|
||||
|
||||
|
||||
void about::on_btn_version_clicked()
|
||||
{
|
||||
QDesktopServices::openUrl(QUrl("https://lapplandsp.github.io/QtAdb-Pages/qa/", QUrl::TolerantMode));
|
||||
}
|
||||
|
||||
|
||||
void about::on_btn_qq_dis_clicked()
|
||||
{
|
||||
QDesktopServices::openUrl(QUrl("https://pd.qq.com/s/k96ej1", QUrl::TolerantMode));
|
||||
}
|
||||
|
||||
|
||||
void about::on_btn_qgroup_clicked()
|
||||
{
|
||||
QDesktopServices::openUrl(QUrl("http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=5s7RHXEhHg54Zng2B9NgOJ1f1LT1j-JU&authKey=Sxp0Mgvc0F8Esh6YuANcWe4n1abjXvZ%2BPPMfw8pIf85FEdRuRxGgbwpxcBGyaGR4&noverify=0&group_code=860105291", QUrl::TolerantMode));
|
||||
}
|
||||
|
45
QtAdb/about.h
Normal file
|
@ -0,0 +1,45 @@
|
|||
#ifndef ABOUT_H
|
||||
#define ABOUT_H
|
||||
|
||||
#include <QWidget>
|
||||
#include <QDesktopServices>
|
||||
#include <QGraphicsDropShadowEffect>
|
||||
#include "basepage.h"
|
||||
#include "sonPages/pay.h"
|
||||
#include "animationwidget.h"
|
||||
#include "sonPages/links.h"
|
||||
|
||||
namespace Ui {
|
||||
class about;
|
||||
}
|
||||
|
||||
class about : public basePage
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit about(QWidget *parent = nullptr);
|
||||
~about();
|
||||
|
||||
private slots:
|
||||
void on_btn_website_clicked();
|
||||
|
||||
void on_btn_coolapk_clicked();
|
||||
|
||||
void on_btn_github_clicked();
|
||||
|
||||
void on_btn_money_2_clicked();
|
||||
|
||||
void on_btn_links_clicked();
|
||||
|
||||
void on_btn_version_clicked();
|
||||
|
||||
void on_btn_qq_dis_clicked();
|
||||
|
||||
void on_btn_qgroup_clicked();
|
||||
|
||||
private:
|
||||
Ui::about *ui;
|
||||
};
|
||||
|
||||
#endif // ABOUT_H
|
603
QtAdb/about.ui
Normal file
|
@ -0,0 +1,603 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>about</class>
|
||||
<widget class="QWidget" name="about">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>833</width>
|
||||
<height>616</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Form</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<property name="leftMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="rightMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QWidget" name="widget" native="true">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>600</width>
|
||||
<height>350</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font/>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">border-radius: 4px;
|
||||
background-color: rgba(255, 255, 255, 0);</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_2">
|
||||
<property name="leftMargin">
|
||||
<number>11</number>
|
||||
</property>
|
||||
<property name="topMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="rightMargin">
|
||||
<number>11</number>
|
||||
</property>
|
||||
<item>
|
||||
<layout class="QGridLayout" name="gridLayout">
|
||||
<property name="topMargin">
|
||||
<number>5</number>
|
||||
</property>
|
||||
<property name="spacing">
|
||||
<number>10</number>
|
||||
</property>
|
||||
<item row="8" column="0">
|
||||
<layout class="QHBoxLayout" name="horizontalLayout"/>
|
||||
</item>
|
||||
<item row="4" column="0">
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_8">
|
||||
<item>
|
||||
<widget class="QPushButton" name="btn_qq_dis">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>50</width>
|
||||
<height>50</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>50</width>
|
||||
<height>50</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font/>
|
||||
</property>
|
||||
<property name="cursor">
|
||||
<cursorShape>PointingHandCursor</cursorShape>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QPushButton{background-color:rgba(255,255,255,0.9);border-radius:4px;border:0px;}
|
||||
QPushButton:hover{background-color:rgba(255,255,255,0.7);}
|
||||
QPushButton:pressed{background-color:rgba(255,255,255,0.6);}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="ico.qrc">
|
||||
<normaloff>:/ico/image/ico/QQ_tencent-qq.svg</normaloff>:/ico/image/ico/QQ_tencent-qq.svg</iconset>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="label_7">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>50</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>50</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>LXGW WenKai Lite</family>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>QQ频道</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item row="0" column="0">
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
||||
<item>
|
||||
<widget class="QPushButton" name="btn_version">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>50</width>
|
||||
<height>50</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>50</width>
|
||||
<height>50</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font/>
|
||||
</property>
|
||||
<property name="cursor">
|
||||
<cursorShape>PointingHandCursor</cursorShape>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>版本号</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QPushButton{background-color:rgba(255,255,255,0.9);border-radius:4px;border:0px;}
|
||||
QPushButton:hover{background-color:rgba(255,255,255,0.7);}
|
||||
QPushButton:pressed{background-color:rgba(255,255,255,0.6);}
|
||||
QToolTip{border:1px solid #BDBDBD; background-color: #ffffff; color:rgba(117, 117, 117, 0.9);font-family: MiSans Medium; font-size:12px;border-radius:4px;}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="ico.qrc">
|
||||
<normaloff>:/ico/image/ico/about/information-line.svg</normaloff>:/ico/image/ico/about/information-line.svg</iconset>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="label_2">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>50</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>50</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>LXGW WenKai Lite</family>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>beta-v1.7</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item row="6" column="0">
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_7">
|
||||
<item>
|
||||
<widget class="QPushButton" name="btn_money_2">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>50</width>
|
||||
<height>50</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>50</width>
|
||||
<height>50</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font/>
|
||||
</property>
|
||||
<property name="cursor">
|
||||
<cursorShape>PointingHandCursor</cursorShape>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QPushButton{background-color:rgba(255,255,255,0.6);border-radius:4px;border:0px;}
|
||||
QPushButton:hover{background-color:rgba(255,255,255,0.7);}
|
||||
QPushButton:pressed{background-color:rgba(255,255,255,0.5);}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="ico.qrc">
|
||||
<normaloff>:/ico/image/ico/about/cola.svg</normaloff>:/ico/image/ico/about/cola.svg</iconset>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="label_5">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>50</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>50</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>LXGW WenKai Lite</family>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>捐赠: 请我喝快乐水</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item row="2" column="0">
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
||||
<item>
|
||||
<widget class="QPushButton" name="btn_coolapk">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>50</width>
|
||||
<height>50</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>50</width>
|
||||
<height>50</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font/>
|
||||
</property>
|
||||
<property name="cursor">
|
||||
<cursorShape>PointingHandCursor</cursorShape>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QPushButton{background-color:rgba(255,255,255,0.9);border-radius:4px;border:0px;}
|
||||
QPushButton:hover{background-color:rgba(255,255,255,0.7);}
|
||||
QPushButton:pressed{background-color:rgba(255,255,255,0.6);}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="ico.qrc">
|
||||
<normaloff>:/ico/image/ico/about/coolapklogo-b.png</normaloff>:/ico/image/ico/about/coolapklogo-b.png</iconset>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="label_3">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>50</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>50</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>LXGW WenKai Lite</family>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>酷安</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item row="0" column="1">
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
||||
<item>
|
||||
<widget class="QPushButton" name="btn_website">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>50</width>
|
||||
<height>50</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>50</width>
|
||||
<height>50</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font/>
|
||||
</property>
|
||||
<property name="cursor">
|
||||
<cursorShape>PointingHandCursor</cursorShape>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QPushButton{background-color:rgba(255,255,255,0.9);border-radius:4px;border:0px;}
|
||||
QPushButton:hover{background-color:rgba(255,255,255,0.7);}
|
||||
QPushButton:pressed{background-color:rgba(255,255,255,0.6);}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="ico.qrc">
|
||||
<normaloff>:/ico/image/ico/btnEmulator/firefox-line.svg</normaloff>:/ico/image/ico/btnEmulator/firefox-line.svg</iconset>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="label">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>50</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>50</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>LXGW WenKai Lite</family>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>官方网站</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item row="7" column="0">
|
||||
<spacer name="verticalSpacer">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Vertical</enum>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>20</width>
|
||||
<height>40</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item row="2" column="1">
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_5">
|
||||
<item>
|
||||
<widget class="QPushButton" name="btn_github">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>50</width>
|
||||
<height>50</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>50</width>
|
||||
<height>50</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font/>
|
||||
</property>
|
||||
<property name="cursor">
|
||||
<cursorShape>PointingHandCursor</cursorShape>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QPushButton{background-color:rgba(255,255,255,0.9);border-radius:4px;border:0px;}
|
||||
QPushButton:hover{background-color:rgba(255,255,255,0.7);}
|
||||
QPushButton:pressed{background-color:rgba(255,255,255,0.6);}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="ico.qrc">
|
||||
<normaloff>:/ico/image/ico/about/github-fill.svg</normaloff>:/ico/image/ico/about/github-fill.svg</iconset>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="label_4">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>50</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>50</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>LXGW WenKai Lite</family>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Github</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item row="6" column="1">
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_6">
|
||||
<item>
|
||||
<widget class="QPushButton" name="btn_links">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>50</width>
|
||||
<height>50</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>50</width>
|
||||
<height>50</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="cursor">
|
||||
<cursorShape>PointingHandCursor</cursorShape>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QPushButton{background-color:rgba(255,255,255,0.6);border-radius:4px;border:0px;}
|
||||
QPushButton:hover{background-color:rgba(255,255,255,0.7);}
|
||||
QPushButton:pressed{background-color:rgba(255,255,255,0.5);}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="ico.qrc">
|
||||
<normaloff>:/ico/image/ico/link.svg</normaloff>:/ico/image/ico/link.svg</iconset>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="label_6">
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>LXGW WenKai Lite</family>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>相关链接</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item row="4" column="1">
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_9">
|
||||
<item>
|
||||
<widget class="QPushButton" name="btn_qgroup">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
||||
<horstretch>50</horstretch>
|
||||
<verstretch>50</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>50</width>
|
||||
<height>50</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>50</width>
|
||||
<height>50</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QPushButton{background-color:rgba(255,255,255,0.9);border-radius:4px;border:0px;}
|
||||
QPushButton:hover{background-color:rgba(255,255,255,0.7);}
|
||||
QPushButton:pressed{background-color:rgba(255,255,255,0.6);}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="ico.qrc">
|
||||
<normaloff>:/ico/image/ico/QQ_tencent-qq.svg</normaloff>:/ico/image/ico/QQ_tencent-qq.svg</iconset>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="label_8">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>50</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>50</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>LXGW WenKai Lite</family>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>QQ群组:860105291</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<resources>
|
||||
<include location="ico.qrc"/>
|
||||
</resources>
|
||||
<connections/>
|
||||
</ui>
|
112
QtAdb/abstract/comboboxlistwidget.cpp
Normal file
|
@ -0,0 +1,112 @@
|
|||
#include "comboboxlistwidget.h"
|
||||
|
||||
|
||||
|
||||
comboboxListWidget::comboboxListWidget(QWidget *parent)
|
||||
: QListWidget{parent}
|
||||
{
|
||||
explainer = new textExplainer();
|
||||
|
||||
nameList[0] = name;
|
||||
nameList[1] = addr;
|
||||
//this->setModelColumn(count);
|
||||
this->setResizeMode(QListView::Adjust);
|
||||
this->setVerticalScrollMode(QAbstractItemView::ScrollPerPixel);
|
||||
|
||||
QFile file_qss("://qss/scrollbar.qss");
|
||||
file_qss.open(QFile::ReadOnly);
|
||||
this->verticalScrollBar()->setStyleSheet(file_qss.readAll());
|
||||
this->setVerticalScrollMode(QAbstractItemView::ScrollPerPixel);
|
||||
/*
|
||||
file = new QFile(":/cfgs/cfg/name.cfg");
|
||||
file->open(QFile::ReadWrite);*/
|
||||
}
|
||||
|
||||
comboboxListWidget::~comboboxListWidget()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void comboboxListWidget::setUpList(QList<device> devList, QList<int> off)
|
||||
{
|
||||
/*
|
||||
QFile file(":/cfgs/cfg/name.cfg");
|
||||
file.open(QFile::ReadOnly);
|
||||
QString names = file.readAll();
|
||||
names = explainer->get_words_before(explainer->get_words_after(names,"###NAME###"),"###ENDNAME###");
|
||||
QStringList tmpList = names.split("\n");*/
|
||||
//qDebug() << tmpList;
|
||||
/*
|
||||
for(int i = 0 ;i < tmpList.size() ; i++)
|
||||
{
|
||||
nameList[0].append(explainer->get_words_after(tmpList[i],":"));
|
||||
nameList[1].append(explainer->get_words_before(tmpList[i],":"));
|
||||
}*/
|
||||
|
||||
for (int i = 0 ; i < devList.size() ; i++ )
|
||||
{
|
||||
devItem *wgt = new devItem(this);
|
||||
wgt->setAddr(devList[i].addr);
|
||||
wgt->setDevice(devList[i].device_product);
|
||||
wgt->setDevModel(devList[i].model);
|
||||
wgt->setStat(devList[i].state);
|
||||
|
||||
qDebug() << "nameList[1] (addr)" << nameList[1];
|
||||
qDebug() << "devList[i].addr" << devList[i].addr;
|
||||
if(nameList[1].contains(devList[i].addr))
|
||||
{
|
||||
wgt->setName(nameList[0][nameList[1].indexOf(devList[i].addr)]);
|
||||
//qDebug() << nameList[0][nameList[1].indexOf(devList[i].addr)];
|
||||
}
|
||||
else
|
||||
{
|
||||
wgt->setName(explainer->get_words_after(devList[i].model,":"));
|
||||
}
|
||||
|
||||
QListWidgetItem *item = new QListWidgetItem(this);
|
||||
|
||||
this->addItem(item);
|
||||
this->setItemWidget(item, wgt);
|
||||
|
||||
connect(wgt,SIGNAL(addName(QString,QString)),this,SLOT(addName(QString,QString)));
|
||||
}
|
||||
/*
|
||||
file.close();*/
|
||||
qDebug() << "closed";
|
||||
//file.deleteLater();
|
||||
}
|
||||
|
||||
void comboboxListWidget::addName(QString addr,QString name)
|
||||
{/*
|
||||
addr = explainer->get_words_after(addr, ": ");
|
||||
qDebug() << "addr:" << addr << "name:" << name;
|
||||
|
||||
if(nameList[1].contains(addr))
|
||||
{
|
||||
nameList[0][nameList[1].indexOf(addr)] = name;
|
||||
}
|
||||
else
|
||||
{
|
||||
nameList[0].append(name);
|
||||
nameList[1].append(addr);
|
||||
}
|
||||
|
||||
QString text = "###NAME###\n";
|
||||
|
||||
for(int i = 0 ;i < nameList->size() ; i++)
|
||||
{
|
||||
text.append(nameList[1][i]).append(":").append(nameList[0][i]).append("\n");
|
||||
}
|
||||
|
||||
text.append("###ENDNAME###");
|
||||
|
||||
//file.open(QFile::ReadWrite);
|
||||
//file.close();
|
||||
QFile file(":/cfgs/cfg/name.cfg");
|
||||
file.setPermissions(QFile::WriteUser);
|
||||
file.open(QIODevice::Truncate | QIODevice::WriteOnly);
|
||||
qDebug() << file.isWritable();
|
||||
file.write(text.toUtf8());
|
||||
file.close();
|
||||
file.deleteLater();*/
|
||||
}
|
41
QtAdb/abstract/comboboxlistwidget.h
Normal file
|
@ -0,0 +1,41 @@
|
|||
#ifndef COMBOBOXLISTWIDGET_H
|
||||
#define COMBOBOXLISTWIDGET_H
|
||||
|
||||
#include <QObject>
|
||||
#include <QWidget>
|
||||
#include <QListWidget>
|
||||
#include <QListView>
|
||||
#include <QHeaderView>
|
||||
#include <QFile>
|
||||
#include <QList>
|
||||
#include "../devitem.h"
|
||||
#include "../textexplainer.h"
|
||||
#include "qstandarditemmodel.h"
|
||||
#include "qscrollbar.h"
|
||||
|
||||
class comboboxListWidget : public QListWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit comboboxListWidget(QWidget *parent = nullptr);
|
||||
~comboboxListWidget();
|
||||
|
||||
void setUpList(QList<device>, QList<int> off);
|
||||
|
||||
QStringList nameList[2];
|
||||
QStringList name;
|
||||
QStringList addr;
|
||||
|
||||
signals:
|
||||
|
||||
private slots:
|
||||
void addName(QString addr,QString name);
|
||||
|
||||
private:
|
||||
textExplainer *explainer;
|
||||
|
||||
//QFile *file;
|
||||
|
||||
};
|
||||
|
||||
#endif // COMBOBOXLISTWIDGET_H
|
408
QtAdb/adbprocess.cpp
Normal file
|
@ -0,0 +1,408 @@
|
|||
#include "adbprocess.h"
|
||||
|
||||
adbProcess::adbProcess()
|
||||
{
|
||||
explainer = new textExplainer;
|
||||
connect(this , SIGNAL(readyReadStandardError()) , this , SLOT(on_readerror()));
|
||||
}
|
||||
|
||||
QString adbProcess::run(QString command) //Adb 命令解析 - 单条命令
|
||||
{
|
||||
if(thread)
|
||||
{
|
||||
explainer->thread = true;
|
||||
}
|
||||
|
||||
QStringList args_0;
|
||||
QStringList args_1;
|
||||
|
||||
args_0 = command.split(" ");
|
||||
args_0.append("*");
|
||||
|
||||
QString shell_command;
|
||||
for(int i = 0, tag = 1; args_0[i] != "*" ; i++)
|
||||
{
|
||||
if(args_0[i] != "'" && tag == 1)
|
||||
{
|
||||
args_1.append(args_0[i]);
|
||||
//qDebug() << "append0" << shell_command;
|
||||
}
|
||||
/*
|
||||
if(tag == 0)
|
||||
{
|
||||
//qDebug() << "No." << i << ":" << "args_0[" << i << "] is:" << args_0[i] << "\n" << "tag = " << tag << "\n";
|
||||
shell_command = shell_command + args_0[i] + " ";
|
||||
//q.enqueue(args_0[i]);
|
||||
//qDebug() << shell_command;
|
||||
}*/
|
||||
|
||||
if(args_0[i] == "'" && tag == 0)
|
||||
{
|
||||
//qDebug() << "No." << i << ":" << "args_0[" << i << "] is:" << args_0[i] << "\n" << "tag = " << tag << "\n";
|
||||
shell_command.remove(QRegularExpression("\\s* +$"));
|
||||
args_1.append(shell_command);
|
||||
tag = 1;
|
||||
shell_command.clear();
|
||||
}
|
||||
|
||||
if(args_0[i] == "'" && tag == 0)
|
||||
{
|
||||
//qDebug() << "No." << i << ":" << "args_0[" << i << "] is:" << args_0[i] << "\n" << "tag = " << tag << "\n";
|
||||
args_1.append(shell_command);
|
||||
tag = 1;
|
||||
}
|
||||
|
||||
if(args_0[i] == "'" && tag == 1)
|
||||
{
|
||||
//qDebug() << "No." << i << ":" << "args_0[" << i << "] is:" << args_0[i] << "\n" << "tag = " << tag << "\n";
|
||||
tag = 0;
|
||||
shell_command = shell_command + args_0[i] + " ";
|
||||
//qDebug() << q << "\n";
|
||||
}
|
||||
|
||||
}
|
||||
args_1.removeAt(0);
|
||||
//qDebug() << "'run' running with arguments" << args_1 ;
|
||||
this->start("adb", args_1);
|
||||
|
||||
//qDebug() << readAllStandardOutput();
|
||||
//!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
waitForReadyRead();
|
||||
waitForFinished();
|
||||
|
||||
QString output;
|
||||
output = readAllStandardOutput();
|
||||
standardOutput.append(output);
|
||||
explainer->explainOutput(output , thread);
|
||||
emit outputGet(output);
|
||||
return output;
|
||||
}
|
||||
|
||||
QString adbProcess::run(QString command, device dev) //Adb 命令解析 - 对指定设备发送单条命令
|
||||
{
|
||||
//qDebug() << "adbprocess dev = " << dev.addr;
|
||||
if(thread)
|
||||
{
|
||||
explainer->thread = true;
|
||||
}
|
||||
|
||||
//Sleep(500);
|
||||
QStringList args_0;
|
||||
QStringList args_1;
|
||||
|
||||
args_1.append("-s");
|
||||
args_1.append(dev.addr);
|
||||
|
||||
//qDebug() << "'run' running with arguments" << args_1 ;
|
||||
|
||||
args_0 = command.split(" ");
|
||||
args_0.append("*");
|
||||
|
||||
QString shell_command;
|
||||
for(int i = 0, tag = 1; args_0[i] != "*" ; i++)
|
||||
{
|
||||
if(args_0[i] != "'" && tag == 1)
|
||||
{
|
||||
args_1.append(args_0[i]);
|
||||
//qDebug() << "append0" << shell_command;
|
||||
}
|
||||
|
||||
/*
|
||||
if(tag == 0)
|
||||
{
|
||||
//qDebug() << "No." << i << ":" << "args_0[" << i << "] is:" << args_0[i] << "\n" << "tag = " << tag << "\n";
|
||||
shell_command = shell_command + args_0[i] + " ";
|
||||
//q.enqueue(args_0[i]);
|
||||
//qDebug() << shell_command;
|
||||
}*/
|
||||
|
||||
if(args_0[i] == "'" && tag == 0)
|
||||
{
|
||||
//qDebug() << "No." << i << ":" << "args_0[" << i << "] is:" << args_0[i] << "\n" << "tag = " << tag << "\n";
|
||||
shell_command.remove(QRegularExpression("\\s* +$"));
|
||||
args_1.append(shell_command);
|
||||
tag = 1;
|
||||
shell_command.clear();
|
||||
}
|
||||
|
||||
if(args_0[i] == "'" && tag == 0)
|
||||
{
|
||||
//qDebug() << "No." << i << ":" << "args_0[" << i << "] is:" << args_0[i] << "\n" << "tag = " << tag << "\n";
|
||||
args_1.append(shell_command);
|
||||
tag = 1;
|
||||
}
|
||||
|
||||
if(args_0[i] == "'" && tag == 1)
|
||||
{
|
||||
//qDebug() << "No." << i << ":" << "args_0[" << i << "] is:" << args_0[i] << "\n" << "tag = " << tag << "\n";
|
||||
tag = 0;
|
||||
shell_command = shell_command + args_0[i] + " ";
|
||||
//qDebug() << q << "\n";
|
||||
}
|
||||
}
|
||||
|
||||
args_1.removeAt(2);
|
||||
|
||||
//qDebug() << "'run' running with arguments" << args_1 ;
|
||||
//qDebug() << "calling this->start('adb', args_1);";
|
||||
this->start("adb", args_1);
|
||||
//qDebug() << "this->start('adb', args_1); ended";
|
||||
//!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
waitForReadyRead();
|
||||
waitForFinished();
|
||||
|
||||
QString output;
|
||||
output = readAllStandardOutput();
|
||||
//qDebug() << "run output:" << output << "\n";
|
||||
explainer->explainOutput(output , thread);
|
||||
|
||||
emit outputGet(output);
|
||||
//qDebug() << "run output:" << output << "\n";
|
||||
return output;
|
||||
}
|
||||
|
||||
QString adbProcess::run_contains_empty(QString command, device dev) //Adb 命令解析 - 对指定设备发送单条命令(可能包含空格)
|
||||
{
|
||||
|
||||
if(thread)
|
||||
{
|
||||
explainer->thread = true;
|
||||
}
|
||||
|
||||
QStringList args_0;
|
||||
QStringList args_1;
|
||||
|
||||
args_1.append("-s");
|
||||
args_1.append(dev.addr);
|
||||
|
||||
//qDebug() << "'run' running with arguments" << args_1 ;
|
||||
|
||||
args_0 = command.split(" ");
|
||||
args_0.append("*");
|
||||
|
||||
QString shell_command;
|
||||
for(int i = 0, tag = 1; args_0[i] != "*" ; i++)
|
||||
{
|
||||
if(args_0[i] != "~" && tag == 1)
|
||||
{
|
||||
args_1.append(args_0[i]);
|
||||
//qDebug() << "常规添加" << shell_command << "\n";
|
||||
}
|
||||
|
||||
if(args_0[i] != "~" &&tag == 0)
|
||||
{
|
||||
//qDebug() << "No." << i << ":" << "args_0[" << i << "] is:" << args_0[i] << "\n" << "tag = " << tag << "\n";
|
||||
shell_command = shell_command + args_0[i] + " ";
|
||||
//qDebug() << "里面添加" << shell_command << "\n";
|
||||
//q.enqueue(args_0[i]);
|
||||
//qDebug() << shell_command;
|
||||
}
|
||||
|
||||
if(args_0[i] == "~" && tag == 0)
|
||||
{
|
||||
//qDebug() << "No." << i << ":" << "args_0[" << i << "] is:" << args_0[i] << "\n" << "tag = " << tag << "\n";
|
||||
shell_command.remove(QRegularExpression("\\s* +$"));
|
||||
args_1.append(shell_command);
|
||||
tag = 1;
|
||||
shell_command.clear();
|
||||
}
|
||||
|
||||
if(args_0[i] == "~" && tag == 1)
|
||||
{
|
||||
//qDebug() << "No." << i << ":" << "args_0[" << i << "] is:" << args_0[i] << "\n" << "tag = " << tag << "\n";
|
||||
tag = 0;
|
||||
//shell_command = shell_command + args_0[i] + " ";
|
||||
//qDebug() << q << "\n";
|
||||
}
|
||||
}
|
||||
|
||||
args_1.removeAt(2);
|
||||
|
||||
//qDebug() << "'run' running with arguments" << args_1 ;
|
||||
this->start("adb", args_1);
|
||||
//!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
waitForReadyRead();
|
||||
waitForFinished();
|
||||
|
||||
QString output;
|
||||
output = readAllStandardOutput();
|
||||
//qDebug() << "run output:" << output << "\n";
|
||||
explainer->explainOutput(output, thread);
|
||||
|
||||
emit outputGet(output);
|
||||
return output;
|
||||
}
|
||||
|
||||
QString adbProcess::run(QString command, QString write_command) //Adb 命令解析 - 发送单条命令并向控制台输入内容
|
||||
{
|
||||
|
||||
if(thread)
|
||||
{
|
||||
explainer->thread = true;
|
||||
}
|
||||
|
||||
QStringList args_0;
|
||||
QStringList args_1;
|
||||
|
||||
args_0 = command.split(" ");
|
||||
args_0.append("*");
|
||||
|
||||
QString shell_command;
|
||||
for(int i = 0, tag = 1; args_0[i] != "*" ; i++)
|
||||
{
|
||||
if(args_0[i] != "'" && tag == 1)
|
||||
{
|
||||
args_1.append(args_0[i]);
|
||||
//qDebug() << "append0" << shell_command;
|
||||
}
|
||||
|
||||
/*
|
||||
if(tag == 0)
|
||||
{
|
||||
//qDebug() << "No." << i << ":" << "args_0[" << i << "] is:" << args_0[i] << "\n" << "tag = " << tag << "\n";
|
||||
shell_command = shell_command + args_0[i] + " ";
|
||||
//q.enqueue(args_0[i]);
|
||||
//qDebug() << shell_command;
|
||||
}*/
|
||||
|
||||
if(args_0[i] == "'" && tag == 0)
|
||||
{
|
||||
//qDebug() << "No." << i << ":" << "args_0[" << i << "] is:" << args_0[i] << "\n" << "tag = " << tag << "\n";
|
||||
shell_command.remove(QRegularExpression("\\s* +$"));
|
||||
args_1.append(shell_command);
|
||||
tag = 1;
|
||||
shell_command.clear();
|
||||
}
|
||||
|
||||
if(args_0[i] == "'" && tag == 0)
|
||||
{
|
||||
//qDebug() << "No." << i << ":" << "args_0[" << i << "] is:" << args_0[i] << "\n" << "tag = " << tag << "\n";
|
||||
args_1.append(shell_command);
|
||||
tag = 1;
|
||||
}
|
||||
|
||||
if(args_0[i] == "'" && tag == 1)
|
||||
{
|
||||
//qDebug() << "No." << i << ":" << "args_0[" << i << "] is:" << args_0[i] << "\n" << "tag = " << tag << "\n";
|
||||
tag = 0;
|
||||
shell_command = shell_command + args_0[i] + " ";
|
||||
//qDebug() << q << "\n";
|
||||
}
|
||||
|
||||
}
|
||||
args_1.removeAt(0);
|
||||
//qDebug() << "'run' running with arguments" << args_1 ;
|
||||
this->start("adb", args_1);
|
||||
|
||||
this->write(write_command.toLocal8Bit());
|
||||
waitForReadyRead();
|
||||
waitForFinished();
|
||||
|
||||
QString output;
|
||||
output = readAllStandardOutput();
|
||||
standardOutput.append(output);
|
||||
|
||||
explainer->explainOutput(output, thread);
|
||||
|
||||
emit outputGet(output);
|
||||
return output;
|
||||
}
|
||||
|
||||
QString adbProcess::run(QString command, device dev, QString write_command) //Adb 命令解析 - 对指定设备发送单条命令并向控制台输入内容
|
||||
{
|
||||
|
||||
if(thread)
|
||||
{
|
||||
explainer->thread = true;
|
||||
}
|
||||
|
||||
QStringList args_0;
|
||||
QStringList args_1;
|
||||
|
||||
args_1.append("-s");
|
||||
args_1.append(dev.addr);
|
||||
|
||||
//qDebug() << "'run' running with arguments" << args_1 ;
|
||||
|
||||
args_0 = command.split(" ");
|
||||
args_0.append("*");
|
||||
|
||||
QString shell_command;
|
||||
for(int i = 0, tag = 1; args_0[i] != "*" ; i++)
|
||||
{
|
||||
if(args_0[i] != "'" && tag == 1)
|
||||
{
|
||||
args_1.append(args_0[i]);
|
||||
//qDebug() << "append0" << shell_command;
|
||||
}
|
||||
|
||||
/*
|
||||
if(tag == 0)
|
||||
{
|
||||
qDebug() << "No." << i << ":" << "args_0[" << i << "] is:" << args_0[i] << "\n" << "tag = " << tag << "\n";
|
||||
shell_command = shell_command + args_0[i] + " ";
|
||||
//q.enqueue(args_0[i]);
|
||||
qDebug() << shell_command;
|
||||
}*/
|
||||
|
||||
if(args_0[i] == "'" && tag == 0)
|
||||
{
|
||||
//qDebug() << "No." << i << ":" << "args_0[" << i << "] is:" << args_0[i] << "\n" << "tag = " << tag << "\n";
|
||||
shell_command.remove(QRegularExpression("\\s* +$"));
|
||||
args_1.append(shell_command);
|
||||
tag = 1;
|
||||
shell_command.clear();
|
||||
}
|
||||
|
||||
if(args_0[i] == "'" && tag == 0)
|
||||
{
|
||||
//qDebug() << "!!!!!!!!!!!!!!!!!!!!!No." << i << ":" << "args_0[" << i << "] is:" << args_0[i] << "\n" << "tag = " << tag << "\n";
|
||||
args_1.append(shell_command);
|
||||
tag = 1;
|
||||
}
|
||||
|
||||
if(args_0[i] == "'" && tag == 1)
|
||||
{
|
||||
//qDebug() << "No." << i << ":" << "args_0[" << i << "] is:" << args_0[i] << "\n" << "tag = " << tag << "\n";
|
||||
tag = 0;
|
||||
shell_command = shell_command + args_0[i] + " ";
|
||||
}
|
||||
}
|
||||
|
||||
args_1.removeAt(2);
|
||||
|
||||
//qDebug() << "'run' running with arguments" << args_1 ;
|
||||
this->start("adb", args_1);
|
||||
this->write(write_command.toLocal8Bit());
|
||||
//!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
waitForReadyRead();
|
||||
waitForFinished();
|
||||
|
||||
QString output;
|
||||
output = readAllStandardOutput();
|
||||
//qDebug() << "run output:" << output << "\n";
|
||||
|
||||
explainer->explainOutput(output, thread);
|
||||
|
||||
emit outputGet(output);
|
||||
return output;
|
||||
}
|
||||
|
||||
adbProcess::~adbProcess()
|
||||
{
|
||||
run("adb kill-server");
|
||||
terminate();
|
||||
waitForFinished();
|
||||
delete explainer;
|
||||
}
|
||||
|
||||
void adbProcess::on_readerror()
|
||||
{
|
||||
QString text = this->readAllStandardError().data();
|
||||
explainer->explainError(text);
|
||||
|
||||
emit outputGet(text);
|
||||
qDebug() << "error on adb process:" << text << "\n";
|
||||
//if(text.contains(""))
|
||||
//QMessageBox::information(0, "Error", this->readAllStandardError().data());
|
||||
}
|
45
QtAdb/adbprocess.h
Normal file
|
@ -0,0 +1,45 @@
|
|||
#ifndef ADBPROCESS_H
|
||||
#define ADBPROCESS_H
|
||||
#include <QString>
|
||||
#include <QStringList>
|
||||
#include <QDebug>
|
||||
#include <QProcess>
|
||||
#include "textexplainer.h"
|
||||
#include <QHBoxLayout>
|
||||
#include <QMessageBox>
|
||||
#include <QThread>
|
||||
#include <QRegularExpression>
|
||||
|
||||
#include <QTextEdit>
|
||||
|
||||
//#include <windows.h>
|
||||
|
||||
class adbProcess : public QProcess
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
adbProcess();
|
||||
~adbProcess();
|
||||
|
||||
QString run(QString command);
|
||||
QString run(QString command, device dev);
|
||||
QString run(QString command, device dev, QString write_command);
|
||||
QString run(QString command, QString write_command);
|
||||
QString run_contains_empty(QString command, device dev);
|
||||
|
||||
QString standardOutput;
|
||||
bool thread = false;
|
||||
|
||||
textExplainer *explainer;
|
||||
/*test*/
|
||||
QWidget *test;
|
||||
|
||||
private slots:
|
||||
//void onReadData();
|
||||
void on_readerror();
|
||||
|
||||
signals:
|
||||
void outputGet(QString);
|
||||
};
|
||||
|
||||
#endif // ADBPROCESS_H
|
155
QtAdb/animationwidget.cpp
Normal file
|
@ -0,0 +1,155 @@
|
|||
#include "animationwidget.h"
|
||||
|
||||
animationWidget::animationWidget(QWidget *p)
|
||||
{
|
||||
animation = new QPropertyAnimation(this,"geometry");
|
||||
setParent(p);
|
||||
parent = p;
|
||||
this->hide();
|
||||
}
|
||||
|
||||
void animationWidget::playLoadAnimation()
|
||||
{
|
||||
animation->setDuration(750);
|
||||
//animation->setEndValue(QPoint(301,117));
|
||||
//qDebug() << "wgtHeight = " << wgtHeight;
|
||||
if(parent->width() <= 600)
|
||||
{
|
||||
animation->setEndValue(QRect(301 - 29, 117 - 6 - 11, 600,wgtHeight));
|
||||
}
|
||||
else
|
||||
{
|
||||
animation->setEndValue(QRect(301 - 29, 117 - 6 - 11, parent->width(),wgtHeight));
|
||||
}
|
||||
//animation->setStartValue(QPoint(301 + 50,117));
|
||||
animation->setStartValue(QRect(301 + 50 - 29, 117 - 6 - 11, parent->width()-50,wgtHeight));
|
||||
|
||||
animation->setEasingCurve(QEasingCurve::OutQuart);
|
||||
|
||||
this->show();
|
||||
animation->start();
|
||||
emit animationEnd();
|
||||
}
|
||||
|
||||
void animationWidget::playLoadAnimation(int h)
|
||||
{
|
||||
animation->setDuration(750);
|
||||
//animation->setEndValue(QPoint(301,117));
|
||||
//qDebug() << "wgtHeight = " << wgtHeight;
|
||||
if(parent->width() <= 600)
|
||||
{
|
||||
animation->setEndValue(QRect(301 - 29, 117 - 6 -11, 600,h));
|
||||
}
|
||||
else
|
||||
{
|
||||
animation->setEndValue(QRect(301 - 29, 117 - 6 - 11, parent->width(),h));
|
||||
}
|
||||
//animation->setStartValue(QPoint(301 + 50,117));
|
||||
animation->setStartValue(QRect(301 + 50 - 29, 117 - 6 - 11, parent->width()-50,h));
|
||||
|
||||
animation->setEasingCurve(QEasingCurve::OutQuart);
|
||||
|
||||
this->show();
|
||||
animation->start();
|
||||
//this->setDisabled(true);
|
||||
emit animationEnd();
|
||||
}
|
||||
|
||||
void animationWidget::playLoadAnimation_sp(int h)
|
||||
{
|
||||
animation->setDuration(500);
|
||||
//animation->setEndValue(QPoint(301,117));
|
||||
//qDebug() << "wgtHeight = " << wgtHeight;
|
||||
if(parent->width() <= 600)
|
||||
{
|
||||
animation->setEndValue(QRect(0,0, parent->width(),h));
|
||||
}
|
||||
else
|
||||
{
|
||||
animation->setEndValue(QRect(0,0, parent->width(),h));
|
||||
}
|
||||
//animation->setStartValue(QPoint(301 + 50,117));
|
||||
animation->setStartValue(QRect(0,-10, parent->width(),h));
|
||||
|
||||
animation->setEasingCurve(QEasingCurve::OutQuart);
|
||||
|
||||
this->show();
|
||||
animation->start();
|
||||
emit animationEnd();
|
||||
}
|
||||
|
||||
void animationWidget::playLoadAnimation_bp(int h)
|
||||
{
|
||||
animation->setDuration(500);
|
||||
//animation->setEndValue(QPoint(301,117));
|
||||
//qDebug() << "wgtHeight = " << wgtHeight;
|
||||
if(parent->width() <= 600)
|
||||
{
|
||||
animation->setEndValue(QRect(301 - 29, 117 - 6 -11, 600,h));
|
||||
}
|
||||
else
|
||||
{
|
||||
animation->setEndValue(QRect(301 - 29, 117 - 6 - 11, parent->width(),h));
|
||||
}
|
||||
//animation->setStartValue(QPoint(301 + 50,117));
|
||||
animation->setStartValue(QRect(301 - 29, 117 - 6 - 11 + 10, parent->width(),h));
|
||||
|
||||
animation->setEasingCurve(QEasingCurve::OutQuart);
|
||||
|
||||
this->show();
|
||||
animation->start();
|
||||
emit animationEnd();
|
||||
}
|
||||
|
||||
void animationWidget::playExitAnimation()
|
||||
{
|
||||
animation->setDuration(300);
|
||||
//animation->setEndValue(QPoint(301,117));
|
||||
//qDebug() << "wgtHeight = " << wgtHeight;
|
||||
if(parent->width() <= 600)
|
||||
{
|
||||
animation->setEndValue(QRect(301 - 29, 117 - 6 - 11 + 50, parent->width(),wgtHeight));
|
||||
}
|
||||
else
|
||||
{
|
||||
animation->setEndValue(QRect(301 - 29, 117 - 6 - 11 + 50, parent->width(),wgtHeight));
|
||||
}
|
||||
//animation->setStartValue(QPoint(301 + 50,117));
|
||||
//animation->setStartValue(QRect(301 + 50 - 30, 117 - 6 - 11, parent->width()-50,wgtHeight));
|
||||
animation->setStartValue(QRect(301 - 29, 117 - 6 - 11, parent->width(),wgtHeight));
|
||||
|
||||
animation->setEasingCurve(QEasingCurve::OutQuart);
|
||||
|
||||
this->show();
|
||||
animation->start();
|
||||
emit animationEnd();
|
||||
}
|
||||
|
||||
void animationWidget::playExitAnimation_sp()
|
||||
{
|
||||
animation->setDuration(500);
|
||||
//animation->setEndValue(QPoint(301,117));
|
||||
//qDebug() << "wgtHeight = " << wgtHeight;
|
||||
if(parent->width() <= 600)
|
||||
{
|
||||
animation->setEndValue(QRect(0,-11, parent->width(),wgtHeight));
|
||||
}
|
||||
else
|
||||
{
|
||||
animation->setEndValue(QRect(0,-11, parent->width(),wgtHeight));
|
||||
}
|
||||
//animation->setStartValue(QPoint(301 + 50,117));
|
||||
animation->setStartValue(QRect(0,0, parent->width(),wgtHeight));
|
||||
|
||||
animation->setEasingCurve(QEasingCurve::OutQuart);
|
||||
|
||||
this->show();
|
||||
animation->start();
|
||||
emit animationEnd();
|
||||
}
|
||||
|
||||
animationWidget::~animationWidget()
|
||||
{
|
||||
playExitAnimation();
|
||||
delete animation;
|
||||
}
|
47
QtAdb/animationwidget.h
Normal file
|
@ -0,0 +1,47 @@
|
|||
#ifndef ANIMATIONWIDGET_H
|
||||
#define ANIMATIONWIDGET_H
|
||||
|
||||
#include <QObject>
|
||||
|
||||
#include <QWidget>
|
||||
#include <QGraphicsEffect>
|
||||
#include <QGraphicsOpacityEffect>
|
||||
#include <QPropertyAnimation>
|
||||
|
||||
namespace Ui {
|
||||
class animationWidget;
|
||||
}
|
||||
|
||||
class animationWidget : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit animationWidget(QWidget *parent = nullptr);
|
||||
~animationWidget();
|
||||
|
||||
int wgtHeight = 427;
|
||||
|
||||
void playLoadAnimation();
|
||||
void playLoadAnimation(int h);
|
||||
void playLoadAnimation_sp(int h);
|
||||
void playLoadAnimation_bp(int h);
|
||||
void playExitAnimation();
|
||||
void playExitAnimation_sp();
|
||||
|
||||
bool isBasePage;
|
||||
QWidget *parent;
|
||||
|
||||
QPropertyAnimation *animation;
|
||||
/*
|
||||
QGraphicsOpacityEffect * graphicsOpacityEffect;
|
||||
QPropertyAnimation * opacityLoadAnimation;
|
||||
QPropertyAnimation * opacityExitAnimation;*/
|
||||
|
||||
signals:
|
||||
void animationEnd();
|
||||
|
||||
};
|
||||
|
||||
|
||||
#endif // ANIMATIONWIDGET_H
|
250
QtAdb/basepage.cpp
Normal file
|
@ -0,0 +1,250 @@
|
|||
#include "basepage.h"
|
||||
#include "ui_basepage.h"
|
||||
|
||||
basePage::basePage(QWidget *parent) :
|
||||
animationWidget(parent),
|
||||
ui(new Ui::basePage)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
SPManager = new sonPageManager;
|
||||
animation_listHide = new QPropertyAnimation(ui->listWidget,"geometry");
|
||||
parents = parent;
|
||||
|
||||
lastPage = NULL;
|
||||
sonPage = NULL;
|
||||
/*
|
||||
QGraphicsDropShadowEffect *shadowEffect = new QGraphicsDropShadowEffect();
|
||||
shadowEffect->setOffset(0,0);
|
||||
shadowEffect->setColor(Qt::gray);
|
||||
shadowEffect->setBlurRadius(10);*/
|
||||
|
||||
//ui->listWidget->setGraphicsEffect(shadowEffect);
|
||||
/*******原来的
|
||||
ui->listWidget->setStyleSheet("QListWidget{background-color:rgba(255,255,255,0);border-width:1px;border-radius:4px;outline:0px;}"
|
||||
"QListView::item:hover {"
|
||||
"background-color: rgba(250, 250, 250, 0.9);"
|
||||
"padding: 0px;"
|
||||
"border: 1px solid #BDBDBD;"
|
||||
"}"
|
||||
"QListView::item:selected {"
|
||||
"background-color: rgba(245, 245, 245, 0.9);"
|
||||
"color: black;"
|
||||
"padding: 0px;"
|
||||
"border: 2px solid #BDBDBD;"
|
||||
"}"
|
||||
"QListView::item{height:70px;border: 1px solid #BDBDBD;border-radius:4px;margin:6px 0px 0px 6px;}"
|
||||
);*/
|
||||
ui->listWidget->setStyleSheet("QListWidget{background-color:rgba(255,255,255,0);border:0px;border-radius:4px;outline:0px;}"
|
||||
"QListView::item:hover {"
|
||||
"background-color: #EEEEEE;"
|
||||
"padding: 0px;"
|
||||
"border: 0px solid #E0E0E0;"
|
||||
"}"
|
||||
"QListView::item:selected {"
|
||||
"background-color: #EEEEEE;"
|
||||
"color: black;"
|
||||
"padding: 0px;"
|
||||
"border: 0px solid #BDBDBD;"
|
||||
"}"
|
||||
"QListView::item{height:70px;border: 0px solid #BDBDBD;border-radius:4px;margin:6px 0px 0px 6px;}"
|
||||
);
|
||||
/*
|
||||
*
|
||||
"QListWidget::item{background-color:rgba(255,255,255,0.9);border-color:rgba(255,255,255,0.9);border-width:0px;border-radius:4px;margin:4px 0px 0px 0px;}"
|
||||
"QListWidget::item:hover{background-color:rgba(255,255,255,0.7);}"
|
||||
"QListWidget::item::selected{background-color:rgba(255,255,255,0.5);color:black;}"
|
||||
* */
|
||||
ui->listWidget->setViewMode(QListView::ListMode);
|
||||
ui->listWidget->setFlow(QListView::TopToBottom);
|
||||
ui->listWidget->setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOn);
|
||||
//ui->listWidget->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOn);
|
||||
ui->listWidget->setVerticalScrollMode(QAbstractItemView::ScrollPerPixel);
|
||||
|
||||
QFile file("://qss/scrollbar.qss");
|
||||
file.open(QFile::ReadOnly);
|
||||
ui->listWidget->verticalScrollBar()->setStyleSheet(file.readAll());
|
||||
//QScroller::grabGesture(ui->listWidget,QScroller::LeftMouseButtonGesture);
|
||||
|
||||
/*
|
||||
view->setViewMode(QListView::ListMode);
|
||||
view->setFlow(QListView::TopToBottom);
|
||||
view->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
|
||||
view->setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
|
||||
view->setHorizontalScrollMode(QListWidget::ScrollPerPixel);
|
||||
QScroller::grabGesture(view,QScroller::LeftMouseButtonGesture);
|
||||
*/
|
||||
|
||||
connect(ui->listWidget,SIGNAL(currentRowChanged(int)),this,SLOT(slot_createSonPage(int)));
|
||||
/*透明度动画
|
||||
exitOpacity = new QGraphicsOpacityEffect (this);//创建QGraphicsOpacityEffect对象关联控件ui.widgetProcess
|
||||
exitOpacity->setOpacity(1);//设置透明度为0,隐藏控件
|
||||
this->setGraphicsEffect(exitOpacity);//控件添加绘图效果*/
|
||||
|
||||
}
|
||||
|
||||
basePage::~basePage()
|
||||
{
|
||||
qDebug() << "basepagepos = " << this->pos();
|
||||
//sleep(1000);
|
||||
//qDebug() << "~basePage" << "\n";
|
||||
/*
|
||||
if(sonPage != NULL)
|
||||
sonPage->~basePage();*/
|
||||
|
||||
//qDebug() << "~basePage deleted" << "\n";
|
||||
delete SPManager;
|
||||
delete ui;
|
||||
//qDebug() << "~basePage com" << "\n";
|
||||
}
|
||||
/*
|
||||
void basePage::playExitAnimation()
|
||||
{
|
||||
QPropertyAnimation *animation = new QPropertyAnimation(this,"windowOpacity");
|
||||
animation->setDuration(1000);
|
||||
animation->setStartValue(0);
|
||||
animation->setEndValue(1);
|
||||
animation->start();
|
||||
}
|
||||
*/
|
||||
void basePage::addItemsToList(pageListItem *itemWidget)
|
||||
{
|
||||
QListWidgetItem *tmpItem = new QListWidgetItem();
|
||||
ui->listWidget->addItem(tmpItem);
|
||||
ui->listWidget->setItemWidget(tmpItem, itemWidget);
|
||||
}
|
||||
|
||||
void basePage::setFather(QWidget *parent)
|
||||
{
|
||||
father = parent;
|
||||
}
|
||||
|
||||
void basePage::slot_createSonPage(int key)
|
||||
{
|
||||
if(isEnable(key) && key >= 0)
|
||||
{
|
||||
this->setDisabled(true);
|
||||
|
||||
listTimer = new QTimer(this);
|
||||
connect(listTimer, SIGNAL(timeout()), this, SLOT(slot_spgAnimationEnd()));
|
||||
listTimer->setSingleShot(true);
|
||||
listTimer->start(300);
|
||||
emit creatingSonPage();
|
||||
|
||||
ui->listWidget->setCurrentRow(-1);
|
||||
//qDebug() << "dev of basePage = " << dev.addr;
|
||||
sonPage = SPManager->selector(this,whoAmI(),key,dev);
|
||||
if(sonPage != NULL)
|
||||
{
|
||||
//ui->listWidget->setVisible(false);
|
||||
|
||||
/**/
|
||||
//sonPage->setVisible(false);
|
||||
|
||||
|
||||
animation_listHide->setDuration(300);
|
||||
animation_listHide->setEndValue(QRect(ui->listWidget->geometry().x(),ui->listWidget->geometry().y() + 50, ui->listWidget->width(),ui->listWidget->height()));
|
||||
animation_listHide->setStartValue(ui->listWidget->geometry());
|
||||
animation_listHide->setEasingCurve(QEasingCurve::OutQuart);
|
||||
animation_listHide->start();
|
||||
//sonPage->playLoadAnimation_sp();
|
||||
//animation->deleteLater();
|
||||
|
||||
/*
|
||||
qDebug() << "wgtHeight = " << wgtHeight;
|
||||
if(parent->width() <= 600)
|
||||
{
|
||||
animation->setEndValue(QRect(301 - 30, 117 - 6 - 11, 600,wgtHeight));
|
||||
}
|
||||
else
|
||||
{
|
||||
animation->setEndValue(QRect(301 - 30, 117 - 6 - 11, parent->width(),wgtHeight));
|
||||
}
|
||||
//animation->setStartValue(QPoint(301 + 50,117));
|
||||
animation->setStartValue(QRect(301 + 50 - 30, 117 - 6 - 11, parent->width()-50,wgtHeight));
|
||||
|
||||
animation->setEasingCurve(QEasingCurve::OutQuart);
|
||||
|
||||
this->show();
|
||||
animation->start();
|
||||
*/
|
||||
/**/
|
||||
}
|
||||
}
|
||||
ui->listWidget->setCurrentRow(-1);
|
||||
}
|
||||
|
||||
void basePage::spg_return_pushed()
|
||||
{
|
||||
sonPage->playExitAnimation_sp();
|
||||
QTimer *animationTimer = new QTimer(this);
|
||||
animationTimer->setSingleShot(true);
|
||||
animationTimer->start(300);
|
||||
connect(animationTimer, SIGNAL(timeout()), this, SLOT(slot_destroySonPage()));
|
||||
}
|
||||
|
||||
void basePage::slot_destroySonPage()
|
||||
{
|
||||
if(sonPage == NULL)
|
||||
throw "trying to destroy sonPage, but sonPage == NULL;";
|
||||
|
||||
delete sonPage;
|
||||
sonPage = NULL;
|
||||
|
||||
ui->listWidget->setVisible(true);
|
||||
playLoadAnimation_bp(this->height());
|
||||
}
|
||||
|
||||
QString basePage::whoAmI()
|
||||
{
|
||||
return myName;
|
||||
}
|
||||
|
||||
void basePage::whoYouAre(QString name)
|
||||
{
|
||||
myName = name;
|
||||
}
|
||||
|
||||
void basePage::setEnableValue(int *val)
|
||||
{
|
||||
for(int i = 0; i < 20 ; i++)
|
||||
{
|
||||
enableVal[i] = val[i];
|
||||
}
|
||||
}
|
||||
|
||||
bool basePage::isEnable(int k)
|
||||
{
|
||||
//qDebug() << "k=" << k;
|
||||
for(int i = 0; i < 20; i++)
|
||||
{
|
||||
if(enableVal[i] == k + 1)
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
void basePage::setDev(device device)
|
||||
{
|
||||
dev = device;
|
||||
}
|
||||
|
||||
void basePage::self_castrate()
|
||||
{
|
||||
delete ui->listWidget;
|
||||
delete ui->mainLayout;
|
||||
delete ui->verticalLayout;
|
||||
}
|
||||
|
||||
void basePage::unlock()
|
||||
{
|
||||
this->setDisabled(false);
|
||||
}
|
||||
|
||||
void basePage::slot_spgAnimationEnd()
|
||||
{
|
||||
ui->listWidget->setVisible(false);
|
||||
unlock();
|
||||
ui->mainLayout->addWidget(sonPage);
|
||||
sonPage->playLoadAnimation_sp(this->height());
|
||||
//sonPage->setVisible(true);
|
||||
}
|
75
QtAdb/basepage.h
Normal file
|
@ -0,0 +1,75 @@
|
|||
#ifndef BASEPAGE_H
|
||||
#define BASEPAGE_H
|
||||
|
||||
#include <QWidget>
|
||||
#include <QGraphicsEffect>
|
||||
#include <QGraphicsOpacityEffect>
|
||||
#include <QPropertyAnimation>
|
||||
#include <QScroller>
|
||||
#include <QScrollBar>
|
||||
|
||||
#include "pagelistitem.h"
|
||||
#include "sonPages/sonpagemanager.h"
|
||||
#include "animationwidget.h"
|
||||
|
||||
namespace Ui {
|
||||
class basePage;
|
||||
}
|
||||
|
||||
class basePage : public animationWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
signals:
|
||||
void creatingSonPage();
|
||||
|
||||
public:
|
||||
explicit basePage(QWidget *parent = nullptr);
|
||||
~basePage();
|
||||
|
||||
QWidget *parents;
|
||||
|
||||
basePage *lastPage;
|
||||
animationWidget *sonPage;
|
||||
QWidget *father;
|
||||
QString myName;
|
||||
sonPageManager *SPManager;
|
||||
int enableVal[20];
|
||||
//pageMaker *maker;
|
||||
device dev;
|
||||
|
||||
|
||||
void addItemsToList(pageListItem *itemWidget);
|
||||
void setFather(QWidget *parent);
|
||||
QString whoAmI();
|
||||
void whoYouAre(QString name);
|
||||
void setEnableValue(int val[20]);
|
||||
void setDev(device dev);
|
||||
|
||||
|
||||
|
||||
void self_castrate();
|
||||
|
||||
private:
|
||||
Ui::basePage *ui;
|
||||
|
||||
bool isEnable(int k);
|
||||
|
||||
QTimer *listTimer;
|
||||
QPropertyAnimation *animation_listHide;
|
||||
|
||||
//QGraphicsOpacityEffect* exitOpacity;
|
||||
|
||||
public slots:
|
||||
//void playExitAnimation();
|
||||
|
||||
//void refresh_listItem_effect();
|
||||
|
||||
private slots:
|
||||
void slot_createSonPage(int key);
|
||||
void slot_destroySonPage();
|
||||
void unlock();
|
||||
void slot_spgAnimationEnd();
|
||||
void spg_return_pushed();
|
||||
};
|
||||
|
||||
#endif // BASEPAGE_H
|
84
QtAdb/basepage.ui
Normal file
|
@ -0,0 +1,84 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>basePage</class>
|
||||
<widget class="QWidget" name="basePage">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>690</width>
|
||||
<height>550</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>LXGW WenKai Lite</family>
|
||||
</font>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Form</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgba(255, 255, 255, 0);</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<property name="leftMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="topMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="rightMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="bottomMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<item>
|
||||
<layout class="QVBoxLayout" name="mainLayout">
|
||||
<property name="rightMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QListWidget" name="listWidget">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>600</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>MiSans Medium</family>
|
||||
</font>
|
||||
</property>
|
||||
<property name="cursor" stdset="0">
|
||||
<cursorShape>ArrowCursor</cursorShape>
|
||||
</property>
|
||||
<property name="mouseTracking">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true"/>
|
||||
</property>
|
||||
<property name="verticalScrollBarPolicy">
|
||||
<enum>Qt::ScrollBarAsNeeded</enum>
|
||||
</property>
|
||||
<property name="horizontalScrollBarPolicy">
|
||||
<enum>Qt::ScrollBarAlwaysOff</enum>
|
||||
</property>
|
||||
<property name="sizeAdjustPolicy">
|
||||
<enum>QAbstractScrollArea::AdjustIgnored</enum>
|
||||
</property>
|
||||
<property name="autoScroll">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
3
QtAdb/cfg/name.cfg
Normal file
|
@ -0,0 +1,3 @@
|
|||
###NAME###
|
||||
CB512EJM8C:test
|
||||
###ENDNAME###
|
5
QtAdb/cfgs.qrc
Normal file
|
@ -0,0 +1,5 @@
|
|||
<RCC>
|
||||
<qresource prefix="/cfgs">
|
||||
<file>cfg/name.cfg</file>
|
||||
</qresource>
|
||||
</RCC>
|
59
QtAdb/devitem.cpp
Normal file
|
@ -0,0 +1,59 @@
|
|||
#include "devitem.h"
|
||||
#include "ui_devitem.h"
|
||||
|
||||
devItem::devItem(QWidget *parent) :
|
||||
QWidget(parent),
|
||||
ui(new Ui::devItem)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
explainer = new textExplainer();
|
||||
QGraphicsDropShadowEffect *shadowEffect_wgt = new QGraphicsDropShadowEffect(this);
|
||||
|
||||
shadowEffect_wgt->setOffset(0,0);
|
||||
shadowEffect_wgt->setColor(Qt::gray);
|
||||
shadowEffect_wgt->setBlurRadius(5);
|
||||
ui->widget_phone->setGraphicsEffect(shadowEffect_wgt);
|
||||
ui->widget_2->setStyleSheet("QToolTip{border:1px solid #BDBDBD; background-color: #ffffff; color:rgba(117, 117, 117, 0.9);font-family: MiSans Medium; font-size:12px;border-radius:4px;}");
|
||||
|
||||
ui->lineEdit->hide();
|
||||
}
|
||||
|
||||
devItem::~devItem()
|
||||
{
|
||||
delete ui;
|
||||
}
|
||||
|
||||
void devItem::setAddr(QString s)
|
||||
{
|
||||
ui->label_addr_info->setText("序列号\n" + s);
|
||||
}
|
||||
void devItem::setDevModel(QString s)
|
||||
{
|
||||
ui->label_model_info->setText("型号\n" + explainer->get_words_after(s, ":"));
|
||||
}
|
||||
|
||||
void devItem::setDevice(QString s)
|
||||
{
|
||||
ui->label_device_info->setText("设备代号\n" + explainer->get_words_after(s, ":"));
|
||||
}
|
||||
|
||||
void devItem::setName(QString s)
|
||||
{
|
||||
ui->lineEdit->setText(s);
|
||||
}
|
||||
|
||||
void devItem::setStat(QString s)
|
||||
{
|
||||
ui->label_stat_info->setText(s);
|
||||
if(s=="[未授权]")
|
||||
{
|
||||
ui->label_stat_info->setStyleSheet("background-color: rgba(237,90,101,0.6);"
|
||||
"border:0px solid #BDBDBD;"
|
||||
"border-radius:15px;");
|
||||
}
|
||||
}
|
||||
|
||||
void devItem::on_lineEdit_editingFinished()
|
||||
{
|
||||
emit addName(ui->label_addr_info->text(),ui->lineEdit->text());
|
||||
}
|
39
QtAdb/devitem.h
Normal file
|
@ -0,0 +1,39 @@
|
|||
#ifndef DEVITEM_H
|
||||
#define DEVITEM_H
|
||||
|
||||
#include <QWidget>
|
||||
#include <QGraphicsDropShadowEffect>
|
||||
//#include "abstract/comboboxlistwidget.h"
|
||||
#include "textexplainer.h"
|
||||
|
||||
namespace Ui {
|
||||
class devItem;
|
||||
}
|
||||
|
||||
class devItem : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit devItem(QWidget *parent = nullptr);
|
||||
~devItem();
|
||||
|
||||
void setAddr(QString);
|
||||
void setDevModel(QString);
|
||||
void setDevice(QString);
|
||||
void setName(QString);
|
||||
void setStat(QString);
|
||||
|
||||
textExplainer *explainer;
|
||||
|
||||
private slots:
|
||||
void on_lineEdit_editingFinished();
|
||||
|
||||
private:
|
||||
Ui::devItem *ui;
|
||||
|
||||
signals:
|
||||
void addName(QString,QString);
|
||||
};
|
||||
|
||||
#endif // DEVITEM_H
|
343
QtAdb/devitem.ui
Normal file
|
@ -0,0 +1,343 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>devItem</class>
|
||||
<widget class="QWidget" name="devItem">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>232</width>
|
||||
<height>317</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>LXGW WenKai Lite</family>
|
||||
</font>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Form</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">border:0px;
|
||||
border-radius:8px;
|
||||
background-color: rgba(255, 255, 255, 255);</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_3">
|
||||
<property name="leftMargin">
|
||||
<number>30</number>
|
||||
</property>
|
||||
<property name="rightMargin">
|
||||
<number>30</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QWidget" name="widget_2" native="true">
|
||||
<property name="toolTip">
|
||||
<string>点击选择此设备</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">/*background-color: rgb(255, 255, 255);*/
|
||||
border:0px solid #BDBDBD;border-radius:8px;background-color: rgba(0, 0, 0, 0.4);</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_2">
|
||||
<property name="leftMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="topMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="rightMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="bottomMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QWidget" name="widget_phone" native="true">
|
||||
<property name="cursor">
|
||||
<cursorShape>PointingHandCursor</cursorShape>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">/*background-color: rgb(255, 255, 255);*/
|
||||
border:0px solid #BDBDBD;border-radius:8px;background-color: rgba(0, 0, 0, 0.4);</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_7">
|
||||
<property name="spacing">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<property name="leftMargin">
|
||||
<number>6</number>
|
||||
</property>
|
||||
<property name="topMargin">
|
||||
<number>6</number>
|
||||
</property>
|
||||
<property name="rightMargin">
|
||||
<number>6</number>
|
||||
</property>
|
||||
<property name="bottomMargin">
|
||||
<number>3</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QWidget" name="widget" native="true">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Expanding">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">/*background-color: rgb(255, 255, 255);*/
|
||||
border:0px solid #BDBDBD;
|
||||
border-radius:8px;
|
||||
background-color:white;</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<property name="spacing">
|
||||
<number>5</number>
|
||||
</property>
|
||||
<property name="leftMargin">
|
||||
<number>5</number>
|
||||
</property>
|
||||
<property name="topMargin">
|
||||
<number>10</number>
|
||||
</property>
|
||||
<property name="rightMargin">
|
||||
<number>5</number>
|
||||
</property>
|
||||
<property name="bottomMargin">
|
||||
<number>10</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QLineEdit" name="lineEdit">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>30</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>LXGW WenKai Lite</family>
|
||||
</font>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgba(0,0,0,0.1);
|
||||
border:0px solid #BDBDBD;
|
||||
border-radius:15px;</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="label_model_info">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>30</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>LXGW WenKai Lite</family>
|
||||
</font>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgba(0,0,0,0.1);
|
||||
border:0px solid #BDBDBD;
|
||||
border-radius:15px;</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>型号</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
<property name="wordWrap">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="label_addr_info">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Minimum">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>30</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>LXGW WenKai Lite</family>
|
||||
</font>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgba(0,0,0,0.1);
|
||||
border:0px solid #BDBDBD;
|
||||
border-radius:15px;</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>序列号</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
<property name="wordWrap">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="label_device_info">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Minimum">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>30</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>LXGW WenKai Lite</family>
|
||||
</font>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgba(0,0,0,0.1);
|
||||
border:0px solid #BDBDBD;
|
||||
border-radius:15px;</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>设备代号</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
<property name="wordWrap">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="label_stat_info">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Minimum">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>30</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>30</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>30</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>LXGW WenKai Lite</family>
|
||||
</font>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgba(0,0,0,0.1);
|
||||
border:0px solid #BDBDBD;
|
||||
border-radius:15px;</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>状态未知</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
<property name="wordWrap">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
||||
<item>
|
||||
<widget class="QLabel" name="label">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>8</width>
|
||||
<height>8</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>8</width>
|
||||
<height>8</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">/*background-color: rgb(255, 255, 255);*/
|
||||
border:0px solid #BDBDBD;
|
||||
border-radius:4px;
|
||||
background-color:white;</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<spacer name="horizontalSpacer">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>10</width>
|
||||
<height>10</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
BIN
QtAdb/fonts/LXGWWenKaiLite-Bold.ttf
Normal file
BIN
QtAdb/fonts/LXGWWenKaiLite-Light.ttf
Normal file
BIN
QtAdb/fonts/LXGWWenKaiLite-Regular.ttf
Normal file
91
QtAdb/fonts/License.txt
Normal file
|
@ -0,0 +1,91 @@
|
|||
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||
This license is copied below, and is also available with a FAQ at:
|
||||
http://scripts.sil.org/OFL
|
||||
|
||||
|
||||
-----------------------------------------------------------
|
||||
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||
-----------------------------------------------------------
|
||||
|
||||
PREAMBLE
|
||||
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||
development of collaborative font projects, to support the font creation
|
||||
efforts of academic and linguistic communities, and to provide a free and
|
||||
open framework in which fonts may be shared and improved in partnership
|
||||
with others.
|
||||
|
||||
The OFL allows the licensed fonts to be used, studied, modified and
|
||||
redistributed freely as long as they are not sold by themselves. The
|
||||
fonts, including any derivative works, can be bundled, embedded,
|
||||
redistributed and/or sold with any software provided that any reserved
|
||||
names are not used by derivative works. The fonts and derivatives,
|
||||
however, cannot be released under any other type of license. The
|
||||
requirement for fonts to remain under this license does not apply
|
||||
to any document created using the fonts or their derivatives.
|
||||
|
||||
DEFINITIONS
|
||||
"Font Software" refers to the set of files released by the Copyright
|
||||
Holder(s) under this license and clearly marked as such. This may
|
||||
include source files, build scripts and documentation.
|
||||
|
||||
"Reserved Font Name" refers to any names specified as such after the
|
||||
copyright statement(s).
|
||||
|
||||
"Original Version" refers to the collection of Font Software components as
|
||||
distributed by the Copyright Holder(s).
|
||||
|
||||
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||
or substituting -- in part or in whole -- any of the components of the
|
||||
Original Version, by changing formats or by porting the Font Software to a
|
||||
new environment.
|
||||
|
||||
"Author" refers to any designer, engineer, programmer, technical
|
||||
writer or other person who contributed to the Font Software.
|
||||
|
||||
PERMISSION & CONDITIONS
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||
redistribute, and sell modified and unmodified copies of the Font
|
||||
Software, subject to the following conditions:
|
||||
|
||||
1) Neither the Font Software nor any of its individual components,
|
||||
in Original or Modified Versions, may be sold by itself.
|
||||
|
||||
2) Original or Modified Versions of the Font Software may be bundled,
|
||||
redistributed and/or sold with any software, provided that each copy
|
||||
contains the above copyright notice and this license. These can be
|
||||
included either as stand-alone text files, human-readable headers or
|
||||
in the appropriate machine-readable metadata fields within text or
|
||||
binary files as long as those fields can be easily viewed by the user.
|
||||
|
||||
3) No Modified Version of the Font Software may use the Reserved Font
|
||||
Name(s) unless explicit written permission is granted by the corresponding
|
||||
Copyright Holder. This restriction only applies to the primary font name as
|
||||
presented to the users.
|
||||
|
||||
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||
Software shall not be used to promote, endorse or advertise any
|
||||
Modified Version, except to acknowledge the contribution(s) of the
|
||||
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||
permission.
|
||||
|
||||
5) The Font Software, modified or unmodified, in part or in whole,
|
||||
must be distributed entirely under this license, and must not be
|
||||
distributed under any other license. The requirement for fonts to
|
||||
remain under this license does not apply to any document created
|
||||
using the Font Software.
|
||||
|
||||
TERMINATION
|
||||
This license becomes null and void if any of the above conditions are
|
||||
not met.
|
||||
|
||||
DISCLAIMER
|
||||
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||
OTHER DEALINGS IN THE FONT SOFTWARE.
|
7
QtAdb/fonts/fonts.qrc
Normal file
|
@ -0,0 +1,7 @@
|
|||
<RCC>
|
||||
<qresource prefix="/LXGW">
|
||||
<file>LXGWWenKaiLite-Bold.ttf</file>
|
||||
<file>LXGWWenKaiLite-Light.ttf</file>
|
||||
<file>LXGWWenKaiLite-Regular.ttf</file>
|
||||
</qresource>
|
||||
</RCC>
|
138
QtAdb/ico.qrc
Normal file
|
@ -0,0 +1,138 @@
|
|||
<RCC>
|
||||
<qresource prefix="/ico">
|
||||
<file>image/ico/android-line.svg</file>
|
||||
<file>image/ico/arrow-left-line.svg</file>
|
||||
<file>image/ico/barcode-line.svg</file>
|
||||
<file>image/ico/check-line.svg</file>
|
||||
<file>image/ico/close-circle-line.svg</file>
|
||||
<file>image/ico/cpu-line.svg</file>
|
||||
<file>image/ico/device-recover-line.svg</file>
|
||||
<file>image/ico/drag-move-line.svg</file>
|
||||
<file>image/ico/dvd-line.svg</file>
|
||||
<file>image/ico/file-copy-line.svg</file>
|
||||
<file>image/ico/fullscreen-line.svg</file>
|
||||
<file>image/ico/google-play-line.svg</file>
|
||||
<file>image/ico/grid-line.svg</file>
|
||||
<file>image/ico/install-line.svg</file>
|
||||
<file>image/ico/link.svg</file>
|
||||
<file>image/ico/play-line.svg</file>
|
||||
<file>image/ico/profile-line.svg</file>
|
||||
<file>image/ico/pulse-line.svg</file>
|
||||
<file>image/ico/refresh-line.svg</file>
|
||||
<file>image/ico/refund-line.svg</file>
|
||||
<file>image/ico/registered-line.svg</file>
|
||||
<file>image/ico/remote-control-2-line.svg</file>
|
||||
<file>image/ico/restart-line.svg</file>
|
||||
<file>image/ico/shut-down-line.svg</file>
|
||||
<file>image/ico/signal-wifi-3-fill.svg</file>
|
||||
<file>image/ico/smartphone-line.svg</file>
|
||||
<file>image/ico/spam-line.svg</file>
|
||||
<file>image/ico/terminal-box-line.svg</file>
|
||||
<file>image/ico/tools-line.svg</file>
|
||||
<file>image/ico/video-line.svg</file>
|
||||
<file>image/ico/btnEmulator/arrow-left-right-line.svg</file>
|
||||
<file>image/ico/btnEmulator/arrow-left-s-line.svg</file>
|
||||
<file>image/ico/btnEmulator/calculator-line.svg</file>
|
||||
<file>image/ico/btnEmulator/calendar-event-line.svg</file>
|
||||
<file>image/ico/btnEmulator/camera-3-line.svg</file>
|
||||
<file>image/ico/btnEmulator/contacts-book-line.svg</file>
|
||||
<file>image/ico/btnEmulator/disc-line.svg</file>
|
||||
<file>image/ico/btnEmulator/firefox-line.svg</file>
|
||||
<file>image/ico/btnEmulator/haze-line.svg</file>
|
||||
<file>image/ico/btnEmulator/home-2-line.svg</file>
|
||||
<file>image/ico/btnEmulator/lightbulb-line.svg</file>
|
||||
<file>image/ico/btnEmulator/menu-line.svg</file>
|
||||
<file>image/ico/btnEmulator/pause-line.svg</file>
|
||||
<file>image/ico/btnEmulator/phone-line.svg</file>
|
||||
<file>image/ico/btnEmulator/phone-off.svg</file>
|
||||
<file>image/ico/btnEmulator/psychotherapy-line.svg</file>
|
||||
<file>image/ico/btnEmulator/rest-time-line.svg</file>
|
||||
<file>image/ico/btnEmulator/settings-line.svg</file>
|
||||
<file>image/ico/btnEmulator/skip-back-line.svg</file>
|
||||
<file>image/ico/btnEmulator/skip-forward-line.svg</file>
|
||||
<file>image/ico/btnEmulator/stop-fill.svg</file>
|
||||
<file>image/ico/btnEmulator/sun-line.svg</file>
|
||||
<file>image/ico/btnEmulator/volume-down-line.svg</file>
|
||||
<file>image/ico/btnEmulator/volume-mute-line.svg</file>
|
||||
<file>image/ico/btnEmulator/volume-up-line.svg</file>
|
||||
<file>image/ico/btnEmulator/zzz-line.svg</file>
|
||||
<file>image/ico/connect.svg</file>
|
||||
<file>image/ico/about/alipay-line.svg</file>
|
||||
<file>image/ico/about/github-fill.svg</file>
|
||||
<file>image/ico/about/heart-line.svg</file>
|
||||
<file>image/ico/about/information-line.svg</file>
|
||||
<file>image/ico/about/wechat-pay-line.svg</file>
|
||||
<file>image/ico/about/chiken.svg</file>
|
||||
<file>image/ico/about/cola.svg</file>
|
||||
<file>image/ico/about/noodles.svg</file>
|
||||
<file>image/ico/about/header-logo.png</file>
|
||||
<file>image/ico/about/coolapklogo-b.png</file>
|
||||
<file>image/ico/about/alipay.svg</file>
|
||||
<file>image/ico/about/wechat.svg</file>
|
||||
<file>image/ico/logo.svg</file>
|
||||
<file>image/ico/code-s-slash-line.svg</file>
|
||||
<file>image/ico/share-box-line.svg</file>
|
||||
<file>image/ico/user-line.svg</file>
|
||||
<file>image/ico/user-settings-line.svg</file>
|
||||
<file>image/ico/signal-wifi-error-line.svg</file>
|
||||
<file>image/ico/donut-chart-line.svg</file>
|
||||
<file>image/ico/layout-top-2-line.svg</file>
|
||||
<file>image/ico/stack-line.svg</file>
|
||||
<file>image/ico/edit-line.svg</file>
|
||||
<file>image/ico/devices.svg</file>
|
||||
<file>image/ico/QQ_tencent-qq.svg</file>
|
||||
<file>image/ico/volume-vibrate-line.svg</file>
|
||||
<file>image/ico/plugin.svg</file>
|
||||
<file>image/ico/magisk.png</file>
|
||||
</qresource>
|
||||
<qresource prefix="/test">
|
||||
<file>image/test/back.png</file>
|
||||
<file>image/test/Lappland.png</file>
|
||||
<file>image/test/logo.png</file>
|
||||
</qresource>
|
||||
<qresource prefix="/gif">
|
||||
<file>image/gif/final.gif</file>
|
||||
</qresource>
|
||||
<qresource prefix="/activatorApps">
|
||||
<file>image/activatorApps/blackhole.png</file>
|
||||
<file>image/activatorApps/blackroom.png</file>
|
||||
<file>image/activatorApps/brevent.png</file>
|
||||
<file>image/activatorApps/icebox.png</file>
|
||||
<file>image/activatorApps/island.png</file>
|
||||
<file>image/activatorApps/shizuku.png</file>
|
||||
<file>image/activatorApps/taichi.png</file>
|
||||
<file>image/activatorApps/scene5.png</file>
|
||||
<file>image/activatorApps/watchfps.png</file>
|
||||
<file>image/activatorApps/permissiondog.png</file>
|
||||
<file>image/activatorApps/hail.png</file>
|
||||
<file>image/activatorApps/bg.png</file>
|
||||
<file>image/activatorApps/apkinstaller.png</file>
|
||||
<file>image/activatorApps/default.gif</file>
|
||||
</qresource>
|
||||
<qresource prefix="/linkIcons">
|
||||
<file>image/webicons/android.png</file>
|
||||
<file>image/webicons/cheri.png</file>
|
||||
<file>image/webicons/crd.png</file>
|
||||
<file>image/webicons/dot.png</file>
|
||||
<file>image/webicons/evoX.png</file>
|
||||
<file>image/webicons/havoc.png</file>
|
||||
<file>image/webicons/nus.png</file>
|
||||
<file>image/webicons/OF.png</file>
|
||||
<file>image/webicons/OFlogo.svg</file>
|
||||
<file>image/webicons/paranoid.png</file>
|
||||
<file>image/webicons/pp.png</file>
|
||||
<file>image/webicons/projectarcana.png</file>
|
||||
<file>image/webicons/rr.png</file>
|
||||
<file>image/webicons/spark.svg</file>
|
||||
<file>image/webicons/syb.png</file>
|
||||
<file>image/webicons/twrp.png</file>
|
||||
<file>image/webicons/atmb.png</file>
|
||||
<file>image/webicons/jamcz.png</file>
|
||||
<file>image/webicons/los.png</file>
|
||||
<file>image/webicons/lsposed.png</file>
|
||||
<file>image/webicons/magisk.png</file>
|
||||
<file>image/webicons/pe.png</file>
|
||||
<file>image/webicons/scrcpy.svg</file>
|
||||
<file>image/webicons/MIUI.png</file>
|
||||
</qresource>
|
||||
</RCC>
|
BIN
QtAdb/image/activatorApps/apkinstaller.png
Normal file
After Width: | Height: | Size: 58 KiB |
BIN
QtAdb/image/activatorApps/bg.png
Normal file
After Width: | Height: | Size: 36 KiB |
BIN
QtAdb/image/activatorApps/blackhole.png
Normal file
After Width: | Height: | Size: 85 KiB |
BIN
QtAdb/image/activatorApps/blackroom.png
Normal file
After Width: | Height: | Size: 55 KiB |
BIN
QtAdb/image/activatorApps/brevent.png
Normal file
After Width: | Height: | Size: 13 KiB |
BIN
QtAdb/image/activatorApps/default.gif
Normal file
After Width: | Height: | Size: 1002 KiB |
BIN
QtAdb/image/activatorApps/hail.png
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
QtAdb/image/activatorApps/icebox.png
Normal file
After Width: | Height: | Size: 31 KiB |
BIN
QtAdb/image/activatorApps/island.png
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
QtAdb/image/activatorApps/permissiondog.png
Normal file
After Width: | Height: | Size: 8.6 KiB |
BIN
QtAdb/image/activatorApps/scene5.png
Normal file
After Width: | Height: | Size: 3.8 KiB |
BIN
QtAdb/image/activatorApps/shizuku.png
Normal file
After Width: | Height: | Size: 34 KiB |
BIN
QtAdb/image/activatorApps/taichi.png
Normal file
After Width: | Height: | Size: 4.1 KiB |
BIN
QtAdb/image/activatorApps/watchfps.png
Normal file
After Width: | Height: | Size: 5.8 KiB |
BIN
QtAdb/image/gif/final.gif
Normal file
After Width: | Height: | Size: 12 KiB |
1
QtAdb/image/ico/QQ_tencent-qq.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?><svg width="24" height="24" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M23.7927 44.5178C20.1344 44.5178 16.7762 43.2933 14.6142 41.4646C13.5161 41.7927 12.1115 42.3204 11.2254 42.9751C10.4664 43.535 10.5613 44.1059 10.6979 44.3362C11.298 45.3491 20.9938 44.9831 23.7927 44.6678V44.5178ZM23.7927 44.5178C27.4516 44.5178 30.8095 43.2933 32.9718 41.4646C34.0693 41.7927 35.4742 42.3204 36.3606 42.9751C37.119 43.535 37.0244 44.1059 36.8875 44.3362C36.2874 45.3491 26.5919 44.9831 23.7927 44.6678V44.5178Z" fill="#333"/><path fill-rule="evenodd" clip-rule="evenodd" d="M36.3386 20.9326C34.6979 21.3809 29.856 22.5505 23.8144 22.5914H23.7698C17.5753 22.5491 12.6423 21.3214 11.1274 20.8999C10.816 20.8129 10.6458 20.6334 10.6458 20.6334C10.644 20.5785 10.6207 19.6503 10.6207 19.171C10.6207 11.1055 14.4284 3.00029 23.7922 3C33.1561 3.00029 36.9635 11.1052 36.9635 19.1713C36.9635 19.65 36.9402 20.5785 36.9387 20.6337C36.9387 20.6337 36.7297 20.8255 36.3386 20.9326ZM38.8284 25.3504C39.3462 26.7001 39.8573 28.1055 40.2318 29.3107C42.0176 35.0578 41.4388 37.4364 40.9986 37.4898C40.0532 37.6039 37.3187 33.1634 37.3187 33.1634C37.3187 37.6757 33.2448 44.604 23.916 44.6677H23.6685C14.3394 44.604 10.2655 37.6757 10.2655 33.1634C10.2655 33.1634 7.53131 37.6039 6.58588 37.4895C6.14542 37.4364 5.5666 35.0581 7.35268 29.3107C7.72717 28.1058 8.23827 26.7001 8.75609 25.3504C8.75609 25.3504 9.10519 25.3285 9.28207 25.3795C10.7319 25.798 12.2762 26.1689 13.8447 26.4792C13.5776 28.1343 13.4249 30.1827 13.5692 32.6021C13.9533 39.0363 17.7745 43.081 23.6727 43.1394H23.9121C29.8106 43.081 33.6314 39.0363 34.0161 32.6021C34.1604 30.1823 34.0075 28.1345 33.7402 26.4793C35.3363 26.1633 36.9076 25.7848 38.3798 25.3571C38.5307 25.3136 38.8284 25.3504 38.8284 25.3504ZM33.7402 26.4793C30.3004 27.1601 26.7448 27.5502 23.8144 27.5147H23.7698C20.8396 27.5498 17.2841 27.1598 13.8447 26.4792C13.8586 26.3929 13.8728 26.3076 13.8874 26.2234C17.3136 26.8989 20.8513 27.2853 23.769 27.2503H23.8137L23.814 27.25C26.7323 27.2856 30.2709 26.8989 33.6974 26.2231C33.712 26.3074 33.7262 26.3928 33.7402 26.4793ZM18.0376 11.6868C18.1059 13.5266 19.1912 14.9735 20.4615 14.916C21.7309 14.8594 22.7044 13.3208 22.6349 11.4802C22.566 9.6398 21.4811 8.19348 20.2122 8.2504C18.9419 8.30791 17.9687 9.84646 18.0376 11.6868ZM27.1253 14.916C28.3957 14.9735 29.4809 13.5263 29.5489 11.6868C29.6181 9.84646 28.6449 8.30791 27.3746 8.2504C26.1055 8.19378 25.0208 9.64009 24.9519 11.4805C24.8825 13.3208 25.8556 14.8591 27.1253 14.916ZM23.8148 15.9248C28.0469 15.9248 31.4658 16.7625 31.805 17.5141V17.5144C31.821 17.5477 31.8295 17.5841 31.8298 17.621C31.8294 17.6731 31.8131 17.7238 31.7831 17.7663C31.497 18.1835 27.701 20.2436 23.8148 20.2436H23.7692C19.8827 20.2436 16.0867 18.1829 15.8006 17.7663C15.7708 17.7239 15.7545 17.6734 15.7539 17.6216C15.7542 17.5845 15.7627 17.5479 15.7787 17.5144C16.1182 16.7625 19.5368 15.9248 23.7692 15.9248H23.8148Z" fill="#333"/><path d="M22.0218 11.7142C22.0799 12.441 21.6812 13.0867 21.1327 13.157C20.5831 13.2277 20.0912 12.6958 20.0329 11.969C19.9754 11.2416 20.3735 10.596 20.9211 10.5259C21.4716 10.4547 21.9643 10.9871 22.0218 11.7139V11.7142ZM25.5117 11.9571C25.624 11.7559 26.3885 10.6984 27.9714 11.0834C28.3874 11.1847 28.5797 11.3336 28.6203 11.392C28.6801 11.4784 28.6968 11.6015 28.6358 11.7673C28.5155 12.096 28.2671 12.087 28.1296 12.0227C28.0406 11.9813 26.9381 11.2463 25.9223 12.3429C25.8523 12.418 25.7274 12.4439 25.6091 12.3546C25.4903 12.2647 25.4416 12.0832 25.5117 11.9571Z" fill="#333"/><path d="M15.5039 26.7117V33.0437C15.5039 33.0437 18.4044 33.6286 21.3105 33.2235V27.383C19.4695 27.2788 17.4841 27.0468 15.5039 26.7117Z" fill="#333"/><path d="M36.9385 20.6337C36.9385 20.6337 31.2962 22.4148 23.8142 22.4653H23.7695C16.2998 22.4151 10.6648 20.6395 10.6456 20.6337L8.75586 25.35C13.4824 26.775 19.3401 27.6933 23.7695 27.6399H23.8142C28.2436 27.6933 34.101 26.775 38.8282 25.35L36.9385 20.6337Z" fill="#333"/></svg>
|
After Width: | Height: | Size: 3.9 KiB |
1
QtAdb/image/ico/about/alipay-line.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="12" height="12"><path fill="none" d="M0 0h24v24H0z"/><path d="M18.408 16.79c-2.173-.95-3.72-1.646-4.64-2.086-1.4 1.696-2.872 2.72-5.08 2.72S5 16.064 5.176 14.392c.12-1.096.872-2.888 4.128-2.576 1.72.16 2.504.48 3.912.944.36-.664.664-1.4.888-2.176H7.88v-.616h3.072V8.864H7.2v-.68h3.752V6.592s.032-.248.312-.248H12.8v1.848h4v.68h-4v1.104h3.264a12.41 12.41 0 0 1-1.32 3.32c.51.182 2.097.676 4.76 1.483a8 8 0 1 0-1.096 2.012zM12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm-3.568-5.632c1.44 0 2.824-.872 3.96-2.352-1.608-.776-2.944-1.16-4.44-1.16-1.304 0-1.984.8-2.104 1.416-.12.616.248 2.096 2.584 2.096z" fill="#000"/></svg>
|
After Width: | Height: | Size: 715 B |
1095
QtAdb/image/ico/about/alipay.svg
Normal file
After Width: | Height: | Size: 43 KiB |
1
QtAdb/image/ico/about/chiken.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 48 48"><g clip-path="url(#a)"><path stroke-linejoin="round" stroke-linecap="round" stroke-width="3" stroke="#333" d="M33.374 33.874c4.243-4.242 1.415-18.384-4.95-24.748-2.828-2.829-10.96-8.84-19.798 0-8.84 8.838-2.829 16.97 0 19.798 6.364 6.365 20.506 9.193 24.748 4.95Z" data-follow-stroke="#333"/><path stroke-width="3" stroke="#333" d="m41 41-7-7" data-follow-stroke="#333"/><circle fill="#333" transform="rotate(135 42.193 40.071)" r="2.5" cy="40.071" cx="42.193" data-follow-fill="#333"/><circle fill="#333" transform="rotate(135 40.071 42.193)" r="2.5" cy="42.193" cx="40.071" data-follow-fill="#333"/><circle fill="#333" r="2" cy="18" cx="17" data-follow-fill="#333"/><circle fill="#333" r="2" cy="21" cx="12" data-follow-fill="#333"/><circle fill="#333" r="2" cy="24" cx="17" data-follow-fill="#333"/></g><defs><clipPath id="a"><path fill="#333" d="M0 0h48v48H0z" data-follow-fill="#333"/></clipPath></defs></svg>
|
After Width: | Height: | Size: 986 B |
1
QtAdb/image/ico/about/cola.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 48 48"><path stroke-linejoin="round" stroke-linecap="round" stroke-width="3" stroke="#333" d="m36 37-2.79 6.4a1 1 0 0 1-.918.6H15.707a1 1 0 0 1-.916-.6L12 37M12 11l2.79-6.4a1 1 0 0 1 .918-.6h16.584a1 1 0 0 1 .917.6L36 11" data-follow-stroke="#333"/><path stroke-width="3" stroke="#333" d="M12 12a2 2 0 0 1 2-2h20a2 2 0 0 1 2 2v24a2 2 0 0 1-2 2H14a2 2 0 0 1-2-2V12Z" data-follow-stroke="#333"/><path stroke-linejoin="round" stroke-linecap="round" stroke-width="3" stroke="#333" d="m13 22.5 6.396-1.01a8.934 8.934 0 0 0 5.218-2.815v0a8.935 8.935 0 0 1 7.168-2.907L35.5 16M12.5 32.5l5.553-.252a9.54 9.54 0 0 0 7.998-5.067v0a9.54 9.54 0 0 1 5.974-4.754L35.5 21.5M36 12v20M12 16v20" data-follow-stroke="#333"/></svg>
|
After Width: | Height: | Size: 776 B |
BIN
QtAdb/image/ico/about/coolapklogo-b.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
1
QtAdb/image/ico/about/github-fill.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="12" height="12"><path fill="none" d="M0 0h24v24H0z"/><path d="M12 2C6.475 2 2 6.475 2 12a9.994 9.994 0 0 0 6.838 9.488c.5.087.687-.213.687-.476 0-.237-.013-1.024-.013-1.862-2.512.463-3.162-.612-3.362-1.175-.113-.288-.6-1.175-1.025-1.413-.35-.187-.85-.65-.013-.662.788-.013 1.35.725 1.538 1.025.9 1.512 2.338 1.087 2.912.825.088-.65.35-1.087.638-1.337-2.225-.25-4.55-1.113-4.55-4.938 0-1.088.387-1.987 1.025-2.688-.1-.25-.45-1.275.1-2.65 0 0 .837-.262 2.75 1.026a9.28 9.28 0 0 1 2.5-.338c.85 0 1.7.112 2.5.337 1.912-1.3 2.75-1.024 2.75-1.024.55 1.375.2 2.4.1 2.65.637.7 1.025 1.587 1.025 2.687 0 3.838-2.337 4.688-4.562 4.938.362.312.675.912.675 1.85 0 1.337-.013 2.412-.013 2.75 0 .262.188.574.688.474A10.016 10.016 0 0 0 22 12c0-5.525-4.475-10-10-10z" fill="#000"/></svg>
|
After Width: | Height: | Size: 839 B |
BIN
QtAdb/image/ico/about/header-logo.png
Normal file
After Width: | Height: | Size: 6.8 KiB |
1
QtAdb/image/ico/about/heart-line.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="12" height="12"><path fill="none" d="M0 0H24V24H0z"/><path d="M12.001 4.529c2.349-2.109 5.979-2.039 8.242.228 2.262 2.268 2.34 5.88.236 8.236l-8.48 8.492-8.478-8.492c-2.104-2.356-2.025-5.974.236-8.236 2.265-2.264 5.888-2.34 8.244-.228zm6.826 1.641c-1.5-1.502-3.92-1.563-5.49-.153l-1.335 1.198-1.336-1.197c-1.575-1.412-3.99-1.35-5.494.154-1.49 1.49-1.565 3.875-.192 5.451L12 18.654l7.02-7.03c1.374-1.577 1.299-3.959-.193-5.454z" fill="#000"/></svg>
|
After Width: | Height: | Size: 514 B |
1
QtAdb/image/ico/about/information-line.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="12" height="12"><path fill="none" d="M0 0h24v24H0z"/><path d="M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm0-2a8 8 0 1 0 0-16 8 8 0 0 0 0 16zM11 7h2v2h-2V7zm0 4h2v6h-2v-6z" fill="#000"/></svg>
|
After Width: | Height: | Size: 288 B |
1
QtAdb/image/ico/about/noodles.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 48 48"><path fill-opacity=".01" fill="#fff" d="M0 0h48v48H0z"/><path stroke-linejoin="round" stroke-linecap="round" stroke-width="3" stroke="#333" d="M32 44s0-3.864.002-3.872a17.964 17.964 0 0 0 4.726-3.4A17.943 17.943 0 0 0 42 24H6c0 4.97 2.015 9.47 5.272 12.728a18.085 18.085 0 0 0 4.741 3.407L16 44h16ZM24 18.008V8M36 18.008V12M12 18.008V12M40 8a4 4 0 0 0-4 4M28 4a4 4 0 0 0-4 4M16 8a4 4 0 0 0-4 4" data-follow-stroke="#333"/></svg>
|
After Width: | Height: | Size: 500 B |
1
QtAdb/image/ico/about/wechat-pay-line.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="12" height="12"><path fill="none" d="M0 0h24v24H0z"/><path d="M19.145 8.993l-9.799 5.608-.07.046a.646.646 0 0 1-.3.068.655.655 0 0 1-.58-.344l-.046-.092-1.83-3.95c-.024-.046-.024-.092-.024-.138 0-.184.139-.321.324-.321.07 0 .14.023.209.069l2.155 1.515c.162.092.348.161.556.161a.937.937 0 0 0 .348-.069l8.275-3.648C16.934 6.273 14.634 5.2 12 5.2c-4.42 0-7.9 3.022-7.9 6.6 0 1.366.5 2.673 1.432 3.781.048.057.12.137.214.235a4 4 0 0 1 1.101 3.102l-.025.297.716-.436a4 4 0 0 1 2.705-.536c.212.033.386.059.52.076.406.054.82.081 1.237.081 4.42 0 7.9-3.022 7.9-6.6 0-.996-.27-1.95-.755-2.807zM6.192 21.943a1 1 0 0 1-1.526-.932l.188-2.259a2 2 0 0 0-.55-1.551A6.993 6.993 0 0 1 4 16.868C2.806 15.447 2.1 13.695 2.1 11.8c0-4.75 4.432-8.6 9.9-8.6s9.9 3.85 9.9 8.6-4.432 8.6-9.9 8.6c-.51 0-1.01-.033-1.499-.098a23.61 23.61 0 0 1-.569-.084 2 2 0 0 0-1.353.268l-2.387 1.456z" fill="#000"/></svg>
|
After Width: | Height: | Size: 948 B |
1375
QtAdb/image/ico/about/wechat.svg
Normal file
After Width: | Height: | Size: 54 KiB |
1
QtAdb/image/ico/android-line.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="12" height="12"><path fill="none" stroke-width="1" d="M0 0h24v24H0z"/><path stroke-width="1" d="M19 13H5v7h14v-7zm0-2a7 7 0 0 0-14 0h14zM6.382 3.968A8.962 8.962 0 0 1 12 2c2.125 0 4.078.736 5.618 1.968l1.453-1.453 1.414 1.414-1.453 1.453A8.962 8.962 0 0 1 21 11v10a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V11c0-2.125.736-4.078 1.968-5.618L3.515 3.93l1.414-1.414 1.453 1.453zM9 9a1 1 0 1 1 0-2 1 1 0 0 1 0 2zm6 0a1 1 0 1 1 0-2 1 1 0 0 1 0 2z" fill="#000"/></svg>
|
After Width: | Height: | Size: 517 B |
1
QtAdb/image/ico/arrow-left-line.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="12" height="12"><path fill="none" d="M0 0h24v24H0z"/><path d="M7.828 11H20v2H7.828l5.364 5.364-1.414 1.414L4 12l7.778-7.778 1.414 1.414z"/></svg>
|
After Width: | Height: | Size: 212 B |
1
QtAdb/image/ico/barcode-line.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="12" height="12"><path fill="none" d="M0 0h24v24H0z"/><path d="M2 4h2v16H2V4zm4 0h1v16H6V4zm2 0h2v16H8V4zm3 0h2v16h-2V4zm3 0h2v16h-2V4zm3 0h1v16h-1V4zm2 0h3v16h-3V4z" fill="#000"/></svg>
|
After Width: | Height: | Size: 252 B |
1
QtAdb/image/ico/btnEmulator/arrow-left-right-line.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="12" height="12"><path fill="none" d="M0 0h24v24H0z"/><path d="M16.05 12.05L21 17l-4.95 4.95-1.414-1.414 2.536-2.537L4 18v-2h13.172l-2.536-2.536 1.414-1.414zm-8.1-10l1.414 1.414L6.828 6 20 6v2H6.828l2.536 2.536L7.95 11.95 3 7l4.95-4.95z" fill="#000"/></svg>
|
After Width: | Height: | Size: 323 B |
1
QtAdb/image/ico/btnEmulator/arrow-left-s-line.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="12" height="12"><path fill="none" d="M0 0h24v24H0z"/><path d="M10.828 12l4.95 4.95-1.414 1.414L8 12l6.364-6.364 1.414 1.414z" fill="#000"/></svg>
|
After Width: | Height: | Size: 212 B |
1
QtAdb/image/ico/btnEmulator/calculator-line.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="12" height="12"><path fill="none" d="M0 0h24v24H0z"/><path d="M4 2h16a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1zm1 2v16h14V4H5zm2 2h10v4H7V6zm0 6h2v2H7v-2zm0 4h2v2H7v-2zm4-4h2v2h-2v-2zm0 4h2v2h-2v-2zm4-4h2v6h-2v-6z" fill="#000"/></svg>
|
After Width: | Height: | Size: 323 B |
1
QtAdb/image/ico/btnEmulator/calendar-event-line.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="12" height="12"><path fill="none" d="M0 0h24v24H0z"/><path d="M17 3h4a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h4V1h2v2h6V1h2v2zm3 6V5h-3v2h-2V5H9v2H7V5H4v4h16zm0 2H4v8h16v-8zM6 13h5v4H6v-4z" fill="#000"/></svg>
|
After Width: | Height: | Size: 299 B |
1
QtAdb/image/ico/btnEmulator/camera-3-line.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="12" height="12"><path fill="none" d="M0 0h24v24H0z"/><path d="M2 6c0-.552.455-1 .992-1h18.016c.548 0 .992.445.992 1v14c0 .552-.455 1-.992 1H2.992A.994.994 0 0 1 2 20V6zm2 1v12h16V7H4zm10 9a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 2a5 5 0 1 1 0-10 5 5 0 0 1 0 10zM4 2h6v2H4V2z" fill="#000"/></svg>
|
After Width: | Height: | Size: 353 B |
1
QtAdb/image/ico/btnEmulator/contacts-book-line.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="12" height="12"><path fill="none" d="M0 0h24v24H0z"/><path d="M3 2h16.005C20.107 2 21 2.898 21 3.99v16.02c0 1.099-.893 1.99-1.995 1.99H3V2zm4 2H5v16h2V4zm2 16h10V4H9v16zm2-4a3 3 0 0 1 6 0h-6zm3-4a2 2 0 1 1 0-4 2 2 0 0 1 0 4zm8-6h2v4h-2V6zm0 6h2v4h-2v-4z" fill="#000"/></svg>
|
After Width: | Height: | Size: 341 B |
1
QtAdb/image/ico/btnEmulator/disc-line.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="12" height="12"><path fill="none" d="M0 0h24v24H0z"/><path d="M15 4.582V12a3 3 0 1 1-2-2.83V2.05c5.053.501 9 4.765 9 9.95 0 5.523-4.477 10-10 10S2 17.523 2 12c0-5.185 3.947-9.449 9-9.95v2.012A8.001 8.001 0 0 0 12 20a8 8 0 0 0 3-15.418z" fill="#000"/></svg>
|
After Width: | Height: | Size: 323 B |
1
QtAdb/image/ico/btnEmulator/firefox-line.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="12" height="12"><path fill="none" d="M0 0h24v24H0z"/><path d="M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12c0-1.464.314-2.854.88-4.106.466-.939 1.233-1.874 1.85-2.194-.653 1.283-.973 2.54-1.04 3.383.454-1.5 1.315-2.757 2.52-3.644 2.066-1.519 4.848-1.587 5.956-.62-2.056.707-4.296 3.548-3.803 6.876.08.55.245 1.084.489 1.582-.384-1.01-.418-2.433.202-3.358.692-1.03 1.678-1.248 2.206-1.136-.208-.044-.668.836-.736.991-.173.394-.259.82-.251 1.25a3.395 3.395 0 0 0 1.03 2.38c1.922 1.871 5.023 1.135 6.412-1.002.953-1.471 1.069-3.968-.155-5.952a6.915 6.915 0 0 0-1.084-1.32c-1.85-1.766-4.48-2.57-6.982-2.205-1.106.177-2.047.496-2.824.956C7.755 2.798 9.91 2 12 2zM6.875 7.705c-2.253.781-3.501 3.17-2.579 6.46a8.004 8.004 0 0 0 7.455 5.831L12 20a8 8 0 0 0 7.985-7.504l.009-.212c-.13.349-.283.674-.463.98l-.14.227c-2.104 3.239-6.681 4.075-9.48 1.348a5.392 5.392 0 0 1-.962-1.257l-.106-.201c-1.736-.387-2.584-1.326-2.543-2.817.027-.991.23-1.96.575-2.86z" fill="#000"/></svg>
|
After Width: | Height: | Size: 1.0 KiB |
1
QtAdb/image/ico/btnEmulator/haze-line.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="12" height="12"><path fill="none" d="M0 0h24v24H0z"/><path d="M6.083 13a6 6 0 1 1 11.834 0h-2.043a4 4 0 1 0-7.748 0H6.083zM2 15h10v2H2v-2zm12 0h8v2h-8v-2zm2 4h4v2h-4v-2zM4 19h10v2H4v-2zm7-18h2v3h-2V1zM3.515 4.929l1.414-1.414L7.05 5.636 5.636 7.05 3.515 4.93zM19.07 3.515l1.414 1.414-2.121 2.121-1.414-1.414 2.121-2.121zM23 11v2h-3v-2h3zM4 11v2H1v-2h3z" fill="#000"/></svg>
|
After Width: | Height: | Size: 439 B |
1
QtAdb/image/ico/btnEmulator/home-2-line.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="12" height="12"><path fill="none" d="M0 0h24v24H0z"/><path d="M19 21H5a1 1 0 0 1-1-1v-9H1l10.327-9.388a1 1 0 0 1 1.346 0L23 11h-3v9a1 1 0 0 1-1 1zM6 19h12V9.157l-6-5.454-6 5.454V19z" fill="#000"/></svg>
|
After Width: | Height: | Size: 269 B |
1
QtAdb/image/ico/btnEmulator/lightbulb-line.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="12" height="12"><path fill="none" d="M0 0h24v24H0z"/><path d="M9.973 18H11v-5h2v5h1.027c.132-1.202.745-2.194 1.74-3.277.113-.122.832-.867.917-.973a6 6 0 1 0-9.37-.002c.086.107.807.853.918.974.996 1.084 1.609 2.076 1.741 3.278zM10 20v1h4v-1h-4zm-4.246-5a8 8 0 1 1 12.49.002C17.624 15.774 16 17 16 18.5V21a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2v-2.5C8 17 6.375 15.774 5.754 15z" fill="#000"/></svg>
|
After Width: | Height: | Size: 455 B |
1
QtAdb/image/ico/btnEmulator/menu-line.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="12" height="12"><path fill="none" d="M0 0h24v24H0z"/><path d="M3 4h18v2H3V4zm0 7h18v2H3v-2zm0 7h18v2H3v-2z" fill="#000"/></svg>
|
After Width: | Height: | Size: 194 B |
1
QtAdb/image/ico/btnEmulator/pause-line.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="12" height="12"><path fill="none" d="M0 0h24v24H0z"/><path d="M6 5h2v14H6V5zm10 0h2v14h-2V5z" fill="#000"/></svg>
|
After Width: | Height: | Size: 180 B |
1
QtAdb/image/ico/btnEmulator/phone-line.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="12" height="12"><path fill="none" d="M0 0h24v24H0z"/><path d="M9.366 10.682a10.556 10.556 0 0 0 3.952 3.952l.884-1.238a1 1 0 0 1 1.294-.296 11.422 11.422 0 0 0 4.583 1.364 1 1 0 0 1 .921.997v4.462a1 1 0 0 1-.898.995c-.53.055-1.064.082-1.602.082C9.94 21 3 14.06 3 5.5c0-.538.027-1.072.082-1.602A1 1 0 0 1 4.077 3h4.462a1 1 0 0 1 .997.921A11.422 11.422 0 0 0 10.9 8.504a1 1 0 0 1-.296 1.294l-1.238.884zm-2.522-.657l1.9-1.357A13.41 13.41 0 0 1 7.647 5H5.01c-.006.166-.009.333-.009.5C5 12.956 11.044 19 18.5 19c.167 0 .334-.003.5-.01v-2.637a13.41 13.41 0 0 1-3.668-1.097l-1.357 1.9a12.442 12.442 0 0 1-1.588-.75l-.058-.033a12.556 12.556 0 0 1-4.702-4.702l-.033-.058a12.442 12.442 0 0 1-.75-1.588z" fill="#000"/></svg>
|
After Width: | Height: | Size: 780 B |
1
QtAdb/image/ico/btnEmulator/phone-off.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?><svg width="35" height="35" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg"><rect width="48" height="48" fill="white" fill-opacity="0.01"/><path d="M19.4438 21.5001C19.017 20.4326 18.8747 19.7007 18.8747 19.7007L21.2315 14.987C21.5266 14.3968 21.5116 13.6989 21.1913 13.1219L18.7448 8.71505C18.3922 8.07981 17.7228 7.68579 16.9962 7.68579L11.9236 7.68579C9.33993 7.68578 7.47453 10.088 8.30063 12.536C9.5121 16.126 11.5052 21.1307 14.3465 25.5001M26.6772 28.9116C27.9041 29.4333 28.7742 29.6002 28.7742 29.6002L33.4871 27.2437C34.0778 26.9484 34.7762 26.9637 35.3534 27.2846L39.7727 29.7416C40.4073 30.0944 40.8009 30.7635 40.8009 31.4896L40.8009 36.5631C40.8009 39.1467 38.3973 41.0117 35.9493 40.1856C32.2021 38.921 26.9142 36.8049 22.4161 33.7618" stroke="#333" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/><path d="M40 8L8 40" stroke="#333" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/></svg>
|
After Width: | Height: | Size: 993 B |
1
QtAdb/image/ico/btnEmulator/psychotherapy-line.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="12" height="12"><path fill="none" d="M0 0H24V24H0z"/><path d="M11 2c4.068 0 7.426 3.036 7.934 6.965l2.25 3.539c.148.233.118.58-.225.728L19 14.07V17c0 1.105-.895 2-2 2h-1.999L15 22H6v-3.694c0-1.18-.436-2.297-1.244-3.305C3.657 13.631 3 11.892 3 10c0-4.418 3.582-8 8-8zm0 2c-3.314 0-6 2.686-6 6 0 1.385.468 2.693 1.316 3.75C7.41 15.114 8 16.667 8 18.306V20h5l.002-3H17v-4.248l1.55-.664-1.543-2.425-.057-.442C16.566 6.251 14.024 4 11 4zm0 3c.552 0 1 .448 1 1v1h1c.552 0 1 .448 1 1s-.448 1-1 1h-1v1c0 .552-.448 1-1 1s-1-.448-1-1v-1.001L9 11c-.552 0-1-.448-1-1s.448-1 1-1l1-.001V8c0-.552.448-1 1-1z" fill="#000"/></svg>
|
After Width: | Height: | Size: 680 B |
1
QtAdb/image/ico/btnEmulator/rest-time-line.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="12" height="12"><path fill="none" d="M0 0H24V24H0z"/><path d="M11 6v2c-3.314 0-6 2.686-6 6s2.686 6 6 6c3.238 0 5.878-2.566 5.996-5.775L17 14h2c0 4.418-3.582 8-8 8s-8-3.582-8-8c0-4.335 3.58-8 8-8zm10-4v2l-5.327 6H21v2h-8v-2l5.326-6H13V2h8z" fill="#000"/></svg>
|
After Width: | Height: | Size: 326 B |
1
QtAdb/image/ico/btnEmulator/settings-line.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="12" height="12"><path fill="none" d="M0 0h24v24H0z"/><path d="M12 1l9.5 5.5v11L12 23l-9.5-5.5v-11L12 1zm0 2.311L4.5 7.653v8.694l7.5 4.342 7.5-4.342V7.653L12 3.311zM12 16a4 4 0 1 1 0-8 4 4 0 0 1 0 8zm0-2a2 2 0 1 0 0-4 2 2 0 0 0 0 4z" fill="#000"/></svg>
|
After Width: | Height: | Size: 319 B |
1
QtAdb/image/ico/btnEmulator/skip-back-line.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="12" height="12"><path fill="none" d="M0 0h24v24H0z"/><path d="M8 11.333l10.223-6.815a.5.5 0 0 1 .777.416v14.132a.5.5 0 0 1-.777.416L8 12.667V19a1 1 0 0 1-2 0V5a1 1 0 1 1 2 0v6.333zm9 4.93V7.737L10.606 12 17 16.263z" fill="#000"/></svg>
|
After Width: | Height: | Size: 302 B |
1
QtAdb/image/ico/btnEmulator/skip-forward-line.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="12" height="12"><path fill="none" d="M0 0h24v24H0z"/><path d="M16 12.667L5.777 19.482A.5.5 0 0 1 5 19.066V4.934a.5.5 0 0 1 .777-.416L16 11.333V5a1 1 0 0 1 2 0v14a1 1 0 0 1-2 0v-6.333zm-9-4.93v8.526L13.394 12 7 7.737z" fill="#000"/></svg>
|
After Width: | Height: | Size: 304 B |
1
QtAdb/image/ico/btnEmulator/stop-fill.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="12" height="12"><path fill="none" d="M0 0h24v24H0z"/><path d="M6 5h12a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1z" fill="#000"/></svg>
|
After Width: | Height: | Size: 221 B |
1
QtAdb/image/ico/btnEmulator/sun-line.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="12" height="12"><path fill="none" d="M0 0h24v24H0z"/><path d="M12 18a6 6 0 1 1 0-12 6 6 0 0 1 0 12zm0-2a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM11 1h2v3h-2V1zm0 19h2v3h-2v-3zM3.515 4.929l1.414-1.414L7.05 5.636 5.636 7.05 3.515 4.93zM16.95 18.364l1.414-1.414 2.121 2.121-1.414 1.414-2.121-2.121zm2.121-14.85l1.414 1.415-2.121 2.121-1.414-1.414 2.121-2.121zM5.636 16.95l1.414 1.414-2.121 2.121-1.414-1.414 2.121-2.121zM23 11v2h-3v-2h3zM4 11v2H1v-2h3z" fill="#000"/></svg>
|
After Width: | Height: | Size: 525 B |
1
QtAdb/image/ico/btnEmulator/volume-down-line.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="12" height="12"><path fill="none" d="M0 0h24v24H0z"/><path d="M13 7.22L9.603 10H6v4h3.603L13 16.78V7.22zM8.889 16H5a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1h3.889l5.294-4.332a.5.5 0 0 1 .817.387v15.89a.5.5 0 0 1-.817.387L8.89 16zm9.974.591l-1.422-1.422A3.993 3.993 0 0 0 19 12c0-1.43-.75-2.685-1.88-3.392l1.439-1.439A5.991 5.991 0 0 1 21 12c0 1.842-.83 3.49-2.137 4.591z" fill="#000"/></svg>
|
After Width: | Height: | Size: 447 B |
1
QtAdb/image/ico/btnEmulator/volume-mute-line.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="12" height="12"><path fill="none" d="M0 0h24v24H0z"/><path d="M10 7.22L6.603 10H3v4h3.603L10 16.78V7.22zM5.889 16H2a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1h3.889l5.294-4.332a.5.5 0 0 1 .817.387v15.89a.5.5 0 0 1-.817.387L5.89 16zm14.525-4l3.536 3.536-1.414 1.414L19 13.414l-3.536 3.536-1.414-1.414L17.586 12 14.05 8.464l1.414-1.414L19 10.586l3.536-3.536 1.414 1.414L20.414 12z" fill="#000"/></svg>
|
After Width: | Height: | Size: 453 B |
1
QtAdb/image/ico/btnEmulator/volume-up-line.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="12" height="12"><path fill="none" d="M0 0h24v24H0z"/><path d="M10 7.22L6.603 10H3v4h3.603L10 16.78V7.22zM5.889 16H2a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1h3.889l5.294-4.332a.5.5 0 0 1 .817.387v15.89a.5.5 0 0 1-.817.387L5.89 16zm13.517 4.134l-1.416-1.416A8.978 8.978 0 0 0 21 12a8.982 8.982 0 0 0-3.304-6.968l1.42-1.42A10.976 10.976 0 0 1 23 12c0 3.223-1.386 6.122-3.594 8.134zm-3.543-3.543l-1.422-1.422A3.993 3.993 0 0 0 16 12c0-1.43-.75-2.685-1.88-3.392l1.439-1.439A5.991 5.991 0 0 1 18 12c0 1.842-.83 3.49-2.137 4.591z" fill="#000"/></svg>
|
After Width: | Height: | Size: 599 B |
1
QtAdb/image/ico/btnEmulator/zzz-line.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="12" height="12"><path fill="none" d="M0 0H24V24H0z"/><path d="M11 11v2l-5.327 6H11v2H3v-2l5.326-6H3v-2h8zm10-8v2l-5.327 6H21v2h-8v-2l5.326-6H13V3h8z" fill="#000"/></svg>
|
After Width: | Height: | Size: 236 B |
1
QtAdb/image/ico/check-line.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" d="M0 0h24v24H0z"/><path d="M10 15.172l9.192-9.193 1.415 1.414L10 18l-6.364-6.364 1.414-1.414z"/></svg>
|
After Width: | Height: | Size: 204 B |
1
QtAdb/image/ico/close-circle-line.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="12" height="12"><path fill="none" d="M0 0h24v24H0z"/><path d="M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm0-2a8 8 0 1 0 0-16 8 8 0 0 0 0 16zm0-9.414l2.828-2.829 1.415 1.415L13.414 12l2.829 2.828-1.415 1.415L12 13.414l-2.828 2.829-1.415-1.415L10.586 12 7.757 9.172l1.415-1.415L12 10.586z"/></svg>
|
After Width: | Height: | Size: 392 B |