feat: add bluetooth battery
add bluetooth battery
@ -39,6 +39,7 @@ void Adapter::addDevice(const QJsonObject &deviceObj)
|
||||
const Device::State state = Device::State(deviceObj["State"].toInt());
|
||||
const bool connectState = deviceObj["ConnectState"].toBool();
|
||||
const QString bluetoothDeviceType = deviceObj["Icon"].toString();
|
||||
const int battery = deviceObj["Battery"].toInt();
|
||||
|
||||
removeDevice(id);
|
||||
|
||||
@ -53,6 +54,7 @@ void Adapter::addDevice(const QJsonObject &deviceObj)
|
||||
device->setRssi(rssi);
|
||||
device->setAdapterId(m_id);
|
||||
device->setDeviceType(bluetoothDeviceType);
|
||||
device->setBattery(battery);
|
||||
|
||||
m_devices[id] = device;
|
||||
|
||||
@ -80,6 +82,7 @@ void Adapter::updateDevice(const QJsonObject &dviceJson)
|
||||
const Device::State state = Device::State(dviceJson["State"].toInt());
|
||||
const bool connectState = dviceJson["ConnectState"].toBool();
|
||||
const QString bluetoothDeviceType = dviceJson["Icon"].toString();
|
||||
const int battery = dviceJson["Battery"].toInt();
|
||||
|
||||
// FIXME: Solve the problem that the device name in the Bluetooth list is blank
|
||||
if (name.isEmpty() && alias.isEmpty())
|
||||
@ -97,6 +100,7 @@ void Adapter::updateDevice(const QJsonObject &dviceJson)
|
||||
device->setConnectState(connectState);
|
||||
device->setState(state);
|
||||
device->setDeviceType(bluetoothDeviceType);
|
||||
device->setBattery(battery);
|
||||
emit deviceNameUpdated(device);
|
||||
}
|
||||
}
|
||||
@ -123,6 +127,7 @@ void Adapter::initDevicesList(const QJsonDocument &doc)
|
||||
const Device::State state = Device::State(deviceObj["State"].toInt());
|
||||
const bool connectState = deviceObj["ConnectState"].toBool();
|
||||
const QString bluetoothDeviceType = deviceObj["Icon"].toString();
|
||||
const int battery = deviceObj["Battery"].toInt();
|
||||
|
||||
auto device = new Device(this);
|
||||
device->setId(id);
|
||||
@ -134,6 +139,7 @@ void Adapter::initDevicesList(const QJsonDocument &doc)
|
||||
device->setRssi(rssi);
|
||||
device->setAdapterId(adapterId);
|
||||
device->setDeviceType(bluetoothDeviceType);
|
||||
device->setBattery(battery);
|
||||
|
||||
m_devices[id] = device;
|
||||
}
|
||||
|
@ -27,6 +27,7 @@ BluetoothDeviceItem::BluetoothDeviceItem(QStyle *style, const Device *device, DL
|
||||
, m_labelAction(nullptr)
|
||||
, m_stateAction(nullptr)
|
||||
, m_connAction(nullptr)
|
||||
, m_batteryAction(nullptr)
|
||||
, m_loading(new DSpinner(parent))
|
||||
, m_iconWidget(new QWidget(parent->viewport()))
|
||||
, m_connButton(new StateButton(m_iconWidget))
|
||||
@ -53,6 +54,7 @@ void BluetoothDeviceItem::initActionList()
|
||||
m_labelAction = new DViewItemAction(Qt::AlignLeft | Qt::AlignVCenter, QSize(), QSize(), false);
|
||||
m_stateAction = new DViewItemAction(Qt::AlignLeft | Qt::AlignVCenter, QSize(), QSize(), true);
|
||||
m_connAction = new DViewItemAction(Qt::AlignRight | Qt::AlignVCenter, QSize(16, 16), QSize(16, 16), false);
|
||||
m_batteryAction = new DViewItemAction(Qt::AlignLeft | Qt::AlignVCenter, QSize(20, 20), QSize(20, 20), false);
|
||||
|
||||
m_connButton->setType(StateButton::Check);
|
||||
m_connButton->setSwitchFork(true);
|
||||
@ -69,16 +71,54 @@ void BluetoothDeviceItem::initActionList()
|
||||
m_connAction->setWidget(m_iconWidget);
|
||||
|
||||
m_standarditem->setAccessibleText(m_device->alias());
|
||||
m_standarditem->setActionList(Qt::RightEdge, { m_stateAction, m_connAction });
|
||||
m_standarditem->setActionList(Qt::RightEdge, { m_batteryAction, m_stateAction, m_connAction });
|
||||
m_standarditem->setActionList(Qt::LeftEdge, { m_labelAction });
|
||||
|
||||
//蓝牙列表可用蓝牙设备信息文字显示高亮
|
||||
m_labelAction->setTextColorRole(DPalette::BrightText);
|
||||
m_labelAction->setText(m_device->alias());
|
||||
updateDeviceState(m_device->state());
|
||||
|
||||
m_batteryAction->setIcon(getBatteryIcon(m_device->battery()));
|
||||
m_batteryAction->setVisible(m_device->battery() > 0);
|
||||
|
||||
updateIconTheme(DGuiApplicationHelper::instance()->themeType());
|
||||
}
|
||||
|
||||
QIcon BluetoothDeviceItem::getBatteryIcon(int percentage)
|
||||
{
|
||||
/* 0-5%、6-10%、11%-20%、21-30%、31-40%、41-50%、51-60%、61%-70%、71-80%、81-90%、91-100% */
|
||||
QString percentageStr;
|
||||
if (percentage <= 5) {
|
||||
percentageStr = "000";
|
||||
} else if (percentage <= 10) {
|
||||
percentageStr = "010";
|
||||
} else if (percentage <= 20) {
|
||||
percentageStr = "020";
|
||||
} else if (percentage <= 30) {
|
||||
percentageStr = "030";
|
||||
} else if (percentage <= 40) {
|
||||
percentageStr = "040";
|
||||
} else if (percentage <= 50) {
|
||||
percentageStr = "050";
|
||||
} else if (percentage <= 60) {
|
||||
percentageStr = "060";
|
||||
} else if (percentage <= 70) {
|
||||
percentageStr = "070";
|
||||
} else if (percentage <= 80) {
|
||||
percentageStr = "080";
|
||||
} else if (percentage <= 90) {
|
||||
percentageStr = "090";
|
||||
} else if (percentage <= 100) {
|
||||
percentageStr = "100";
|
||||
} else {
|
||||
percentageStr = "unknow";
|
||||
}
|
||||
|
||||
return QIcon::fromTheme(QString("battery-%1-symbolic").arg(percentageStr));
|
||||
|
||||
}
|
||||
|
||||
void BluetoothDeviceItem::initConnect()
|
||||
{
|
||||
connect(DGuiApplicationHelper::instance(), &DGuiApplicationHelper::themeTypeChanged, this, &BluetoothDeviceItem::updateIconTheme);
|
||||
@ -95,11 +135,17 @@ void BluetoothDeviceItem::updateIconTheme(DGuiApplicationHelper::ColorType type)
|
||||
}
|
||||
m_deviceIcon = type == DGuiApplicationHelper::LightType ? LightString.arg("other") : DarkString.arg("other");
|
||||
m_labelAction->setIcon(QIcon::fromTheme(m_deviceIcon));
|
||||
|
||||
m_batteryAction->setIcon(getBatteryIcon(m_device->battery()));
|
||||
}
|
||||
|
||||
void BluetoothDeviceItem::updateDeviceState(Device::State state)
|
||||
{
|
||||
m_labelAction->setText(m_device->alias());
|
||||
|
||||
m_batteryAction->setIcon(getBatteryIcon(m_device->battery()));
|
||||
m_batteryAction->setVisible(m_device->battery() > 0);
|
||||
|
||||
if (state == Device::StateAvailable) {
|
||||
m_loading->start();
|
||||
m_stateAction->setVisible(true);
|
||||
|
@ -62,6 +62,7 @@ signals:
|
||||
private:
|
||||
void initActionList();
|
||||
void initConnect();
|
||||
QIcon getBatteryIcon(int percentage);
|
||||
|
||||
DStyleHelper m_style;
|
||||
QString m_deviceIcon;
|
||||
@ -71,6 +72,7 @@ private:
|
||||
DViewItemAction *m_labelAction;
|
||||
DViewItemAction *m_stateAction;
|
||||
DViewItemAction *m_connAction;
|
||||
DViewItemAction *m_batteryAction;
|
||||
DSpinner *m_loading;
|
||||
|
||||
QWidget *m_iconWidget;
|
||||
|
@ -16,6 +16,7 @@ Device::Device(QObject *parent)
|
||||
, m_rssi(0)
|
||||
, m_state(StateUnavailable)
|
||||
, m_connectState(false)
|
||||
, m_battery(0)
|
||||
{
|
||||
}
|
||||
|
||||
@ -81,6 +82,14 @@ void Device::setDeviceType(const QString &deviceType)
|
||||
m_deviceType = deviceType;
|
||||
}
|
||||
|
||||
void Device::setBattery(int battery)
|
||||
{
|
||||
if (m_battery != battery) {
|
||||
m_battery = battery;
|
||||
Q_EMIT batteryChanged(battery);
|
||||
}
|
||||
}
|
||||
|
||||
QDebug &operator<<(QDebug &stream, const Device *device)
|
||||
{
|
||||
stream << "Device name:" << device->name()
|
||||
|
@ -56,6 +56,9 @@ public:
|
||||
inline QString deviceType() const { return m_deviceType; }
|
||||
void setDeviceType(const QString &deviceType);
|
||||
|
||||
inline int battery() const { return m_battery; }
|
||||
void setBattery(int battery);
|
||||
|
||||
Q_SIGNALS:
|
||||
void nameChanged(const QString &name) const;
|
||||
void aliasChanged(const QString &alias) const;
|
||||
@ -63,6 +66,7 @@ Q_SIGNALS:
|
||||
void stateChanged(const State state) const;
|
||||
void connectStateChanged(const bool connectState) const;
|
||||
void rssiChanged(const int rssi) const;
|
||||
void batteryChanged(const int battery) const;
|
||||
|
||||
private:
|
||||
QString m_id;
|
||||
@ -76,6 +80,7 @@ private:
|
||||
bool m_connectState;
|
||||
QString m_adapterId;
|
||||
QString m_deviceType;
|
||||
int m_battery;
|
||||
};
|
||||
|
||||
QDebug &operator<<(QDebug &stream, const Device *device);
|
||||
|
@ -21,4 +21,30 @@
|
||||
<file>dark/buletooth_other_dark.svg</file>
|
||||
<file>light/buletooth_other_light.svg</file>
|
||||
</qresource>
|
||||
<qresource prefix="/icons/deepin/builtin">
|
||||
<file>dark/icons/battery-000-symbolic_20px.svg</file>
|
||||
<file>dark/icons/battery-010-symbolic_20px.svg</file>
|
||||
<file>dark/icons/battery-020-symbolic_20px.svg</file>
|
||||
<file>dark/icons/battery-030-symbolic_20px.svg</file>
|
||||
<file>dark/icons/battery-040-symbolic_20px.svg</file>
|
||||
<file>dark/icons/battery-050-symbolic_20px.svg</file>
|
||||
<file>dark/icons/battery-060-symbolic_20px.svg</file>
|
||||
<file>dark/icons/battery-070-symbolic_20px.svg</file>
|
||||
<file>dark/icons/battery-080-symbolic_20px.svg</file>
|
||||
<file>dark/icons/battery-090-symbolic_20px.svg</file>
|
||||
<file>dark/icons/battery-100-symbolic_20px.svg</file>
|
||||
<file>dark/icons/battery-unknow-symbolic_20px.svg</file>
|
||||
<file>light/icons/battery-000-symbolic_20px.svg</file>
|
||||
<file>light/icons/battery-010-symbolic_20px.svg</file>
|
||||
<file>light/icons/battery-020-symbolic_20px.svg</file>
|
||||
<file>light/icons/battery-030-symbolic_20px.svg</file>
|
||||
<file>light/icons/battery-040-symbolic_20px.svg</file>
|
||||
<file>light/icons/battery-050-symbolic_20px.svg</file>
|
||||
<file>light/icons/battery-060-symbolic_20px.svg</file>
|
||||
<file>light/icons/battery-070-symbolic_20px.svg</file>
|
||||
<file>light/icons/battery-080-symbolic_20px.svg</file>
|
||||
<file>light/icons/battery-090-symbolic_20px.svg</file>
|
||||
<file>light/icons/battery-100-symbolic_20px.svg</file>
|
||||
<file>light/icons/battery-unknow-symbolic_20px.svg</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
@ -0,0 +1,3 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20">
|
||||
<path fill="#FFF" fill-rule="evenodd" d="M15,-4.61852778e-14 C16.6568542,-4.61852778e-14 18,1.34314575 18,3 L18,9 C18,10.6568542 16.6568542,12 15,12 L3,12 C1.34314575,12 0,10.6568542 0,9 L0,3 C0,1.34314575 1.34314575,-4.61852778e-14 3,-4.61852778e-14 L15,-4.61852778e-14 Z M15,1 L3,1 C1.8954305,1 1,1.8954305 1,3 L1,9 C1,10.1045695 1.8954305,11 3,11 L15,11 C16.1045695,11 17,10.1045695 17,9 L17,3 C17,1.8954305 16.1045695,1 15,1 Z M20,3 L20,9 L19,9 L19,3 L20,3 Z" transform="translate(0 4)"/>
|
||||
</svg>
|
After Width: | Height: | Size: 586 B |
@ -0,0 +1,6 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20">
|
||||
<g fill="none" fill-rule="evenodd" transform="translate(0 4)">
|
||||
<path fill="#FF001F" d="M1,-3.41060513e-13 L1,-3.41060513e-13 L1,-3.41060513e-13 L1,8 C0.44771525,8 6.76353751e-17,7.55228475 0,7 L0,1 C-6.76353751e-17,0.44771525 0.44771525,-3.4095906e-13 1,-3.41060513e-13 Z" transform="translate(2 2)"/>
|
||||
<path fill="#FFF" d="M15,-4.61852778e-14 C16.6568542,-4.61852778e-14 18,1.34314575 18,3 L18,9 C18,10.6568542 16.6568542,12 15,12 L3,12 C1.34314575,12 0,10.6568542 0,9 L0,3 C0,1.34314575 1.34314575,-4.61852778e-14 3,-4.61852778e-14 L15,-4.61852778e-14 Z M15,1 L3,1 C1.8954305,1 1,1.8954305 1,3 L1,9 C1,10.1045695 1.8954305,11 3,11 L15,11 C16.1045695,11 17,10.1045695 17,9 L17,3 C17,1.8954305 16.1045695,1 15,1 Z M20,3 L20,9 L19,9 L19,3 L20,3 Z"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 856 B |
@ -0,0 +1,6 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20">
|
||||
<g fill="none" fill-rule="evenodd" transform="translate(0 4)">
|
||||
<path fill="#FF001F" d="M1,-1.70530257e-13 L2,-1.70530257e-13 L2,-1.70530257e-13 L2,8 L1,8 C0.44771525,8 6.76353751e-17,7.55228475 0,7 L0,1 C-6.76353751e-17,0.44771525 0.44771525,-1.70428804e-13 1,-1.70530257e-13 Z" transform="translate(2 2)"/>
|
||||
<path fill="#FFF" d="M15,-4.61852778e-14 C16.6568542,-4.61852778e-14 18,1.34314575 18,3 L18,9 C18,10.6568542 16.6568542,12 15,12 L3,12 C1.34314575,12 0,10.6568542 0,9 L0,3 C0,1.34314575 1.34314575,-4.61852778e-14 3,-4.61852778e-14 L15,-4.61852778e-14 Z M15,1 L3,1 C1.8954305,1 1,1.8954305 1,3 L1,9 C1,10.1045695 1.8954305,11 3,11 L15,11 C16.1045695,11 17,10.1045695 17,9 L17,3 C17,1.8954305 16.1045695,1 15,1 Z M20,3 L20,9 L19,9 L19,3 L20,3 Z"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 862 B |
@ -0,0 +1,6 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20">
|
||||
<g fill="none" fill-rule="evenodd" transform="translate(0 4)">
|
||||
<path fill="#FED027" d="M1,-6.82121026e-13 L4,-6.82121026e-13 L4,-6.82121026e-13 L4,8 L1,8 C0.44771525,8 6.76353751e-17,7.55228475 0,7 L0,1 C-6.76353751e-17,0.44771525 0.44771525,-6.82019573e-13 1,-6.82121026e-13 Z" transform="translate(2 2)"/>
|
||||
<path fill="#FFF" d="M15,-4.61852778e-14 C16.6568542,-4.61852778e-14 18,1.34314575 18,3 L18,9 C18,10.6568542 16.6568542,12 15,12 L3,12 C1.34314575,12 0,10.6568542 0,9 L0,3 C0,1.34314575 1.34314575,-4.61852778e-14 3,-4.61852778e-14 L15,-4.61852778e-14 Z M15,1 L3,1 C1.8954305,1 1,1.8954305 1,3 L1,9 C1,10.1045695 1.8954305,11 3,11 L15,11 C16.1045695,11 17,10.1045695 17,9 L17,3 C17,1.8954305 16.1045695,1 15,1 Z M20,3 L20,9 L19,9 L19,3 L20,3 Z"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 862 B |
@ -0,0 +1,6 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20">
|
||||
<g fill="none" fill-rule="evenodd" transform="translate(0 4)">
|
||||
<path fill="#3ACB00" d="M1,-3.41060513e-13 L6,-3.41060513e-13 L6,-3.41060513e-13 L6,8 L1,8 C0.44771525,8 6.76353751e-17,7.55228475 0,7 L0,1 C-6.76353751e-17,0.44771525 0.44771525,-3.4095906e-13 1,-3.41060513e-13 Z" transform="translate(2 2)"/>
|
||||
<path fill="#FFF" d="M15,-4.61852778e-14 C16.6568542,-4.61852778e-14 18,1.34314575 18,3 L18,9 C18,10.6568542 16.6568542,12 15,12 L3,12 C1.34314575,12 0,10.6568542 0,9 L0,3 C0,1.34314575 1.34314575,-4.61852778e-14 3,-4.61852778e-14 L15,-4.61852778e-14 Z M15,1 L3,1 C1.8954305,1 1,1.8954305 1,3 L1,9 C1,10.1045695 1.8954305,11 3,11 L15,11 C16.1045695,11 17,10.1045695 17,9 L17,3 C17,1.8954305 16.1045695,1 15,1 Z M20,3 L20,9 L19,9 L19,3 L20,3 Z"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 861 B |
@ -0,0 +1,6 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20">
|
||||
<g fill="none" fill-rule="evenodd" transform="translate(0 4)">
|
||||
<path fill="#3ACB00" d="M1,0 L7,0 L7,0 L7,8 L1,8 C0.44771525,8 6.76353751e-17,7.55228475 0,7 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 Z" transform="translate(2 2)"/>
|
||||
<path fill="#FFF" d="M15,-4.61852778e-14 C16.6568542,-4.61852778e-14 18,1.34314575 18,3 L18,9 C18,10.6568542 16.6568542,12 15,12 L3,12 C1.34314575,12 0,10.6568542 0,9 L0,3 C0,1.34314575 1.34314575,-4.61852778e-14 3,-4.61852778e-14 L15,-4.61852778e-14 Z M15,1 L3,1 C1.8954305,1 1,1.8954305 1,3 L1,9 C1,10.1045695 1.8954305,11 3,11 L15,11 C16.1045695,11 17,10.1045695 17,9 L17,3 C17,1.8954305 16.1045695,1 15,1 Z M20,3 L20,9 L19,9 L19,3 L20,3 Z"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 805 B |
@ -0,0 +1,6 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20">
|
||||
<g fill="none" fill-rule="evenodd" transform="translate(0 4)">
|
||||
<path fill="#3ACB00" d="M1,0 L8,0 L8,0 L8,8 L1,8 C0.44771525,8 6.76353751e-17,7.55228475 0,7 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 Z" transform="translate(2 2)"/>
|
||||
<path fill="#FFF" d="M15,-4.61852778e-14 C16.6568542,-4.61852778e-14 18,1.34314575 18,3 L18,9 C18,10.6568542 16.6568542,12 15,12 L3,12 C1.34314575,12 0,10.6568542 0,9 L0,3 C0,1.34314575 1.34314575,-4.61852778e-14 3,-4.61852778e-14 L15,-4.61852778e-14 Z M15,1 L3,1 C1.8954305,1 1,1.8954305 1,3 L1,9 C1,10.1045695 1.8954305,11 3,11 L15,11 C16.1045695,11 17,10.1045695 17,9 L17,3 C17,1.8954305 16.1045695,1 15,1 Z M20,3 L20,9 L19,9 L19,3 L20,3 Z"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 805 B |
@ -0,0 +1,6 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20">
|
||||
<g fill="none" fill-rule="evenodd" transform="translate(0 4)">
|
||||
<path fill="#3ACB00" d="M1,0 L9,0 L9,0 L9,8 L1,8 C0.44771525,8 6.76353751e-17,7.55228475 0,7 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 Z" transform="translate(2 2)"/>
|
||||
<path fill="#FFF" d="M15,-4.61852778e-14 C16.6568542,-4.61852778e-14 18,1.34314575 18,3 L18,9 C18,10.6568542 16.6568542,12 15,12 L3,12 C1.34314575,12 0,10.6568542 0,9 L0,3 C0,1.34314575 1.34314575,-4.61852778e-14 3,-4.61852778e-14 L15,-4.61852778e-14 Z M15,1 L3,1 C1.8954305,1 1,1.8954305 1,3 L1,9 C1,10.1045695 1.8954305,11 3,11 L15,11 C16.1045695,11 17,10.1045695 17,9 L17,3 C17,1.8954305 16.1045695,1 15,1 Z M20,3 L20,9 L19,9 L19,3 L20,3 Z"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 805 B |
@ -0,0 +1,6 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20">
|
||||
<g fill="none" fill-rule="evenodd" transform="translate(0 4)">
|
||||
<path fill="#3ACB00" d="M1,-1.86517468e-13 L11,-1.86517468e-13 L11,-1.86517468e-13 L11,8 L1,8 C0.44771525,8 6.76353751e-17,7.55228475 0,7 L0,1 C-6.76353751e-17,0.44771525 0.44771525,-1.86416015e-13 1,-1.86517468e-13 Z" transform="translate(2 2)"/>
|
||||
<path fill="#FFF" d="M15,-4.61852778e-14 C16.6568542,-4.61852778e-14 18,1.34314575 18,3 L18,9 C18,10.6568542 16.6568542,12 15,12 L3,12 C1.34314575,12 0,10.6568542 0,9 L0,3 C0,1.34314575 1.34314575,-4.61852778e-14 3,-4.61852778e-14 L15,-4.61852778e-14 Z M15,1 L3,1 C1.8954305,1 1,1.8954305 1,3 L1,9 C1,10.1045695 1.8954305,11 3,11 L15,11 C16.1045695,11 17,10.1045695 17,9 L17,3 C17,1.8954305 16.1045695,1 15,1 Z M20,3 L20,9 L19,9 L19,3 L20,3 Z"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 865 B |
@ -0,0 +1,6 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20">
|
||||
<g fill="none" fill-rule="evenodd" transform="translate(0 4)">
|
||||
<path fill="#3ACB00" d="M1,-3.73034936e-13 L13,-3.73034936e-13 L13,-3.73034936e-13 L13,8 L1,8 C0.44771525,8 6.76353751e-17,7.55228475 0,7 L0,1 C-6.76353751e-17,0.44771525 0.44771525,-3.72933483e-13 1,-3.73034936e-13 Z" transform="translate(2 2)"/>
|
||||
<path fill="#FFF" d="M15,-4.61852778e-14 C16.6568542,-4.61852778e-14 18,1.34314575 18,3 L18,9 C18,10.6568542 16.6568542,12 15,12 L3,12 C1.34314575,12 0,10.6568542 0,9 L0,3 C0,1.34314575 1.34314575,-4.61852778e-14 3,-4.61852778e-14 L15,-4.61852778e-14 Z M15,1 L3,1 C1.8954305,1 1,1.8954305 1,3 L1,9 C1,10.1045695 1.8954305,11 3,11 L15,11 C16.1045695,11 17,10.1045695 17,9 L17,3 C17,1.8954305 16.1045695,1 15,1 Z M20,3 L20,9 L19,9 L19,3 L20,3 Z"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 865 B |
@ -0,0 +1,6 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20">
|
||||
<g fill="none" fill-rule="evenodd" transform="translate(0 4)">
|
||||
<path fill="#3ACB00" d="M1,-1.86517468e-13 L13,-1.86517468e-13 C13.5522847,-1.86618921e-13 14,0.44771525 14,1 L14,7 C14,7.55228475 13.5522847,8 13,8 L1,8 C0.44771525,8 6.76353751e-17,7.55228475 0,7 L0,1 C-6.76353751e-17,0.44771525 0.44771525,-1.86416015e-13 1,-1.86517468e-13 Z" transform="translate(2 2)"/>
|
||||
<path fill="#FFF" d="M15,-4.61852778e-14 C16.6568542,-4.61852778e-14 18,1.34314575 18,3 L18,9 C18,10.6568542 16.6568542,12 15,12 L3,12 C1.34314575,12 0,10.6568542 0,9 L0,3 C0,1.34314575 1.34314575,-4.61852778e-14 3,-4.61852778e-14 L15,-4.61852778e-14 Z M15,1 L3,1 C1.8954305,1 1,1.8954305 1,3 L1,9 C1,10.1045695 1.8954305,11 3,11 L15,11 C16.1045695,11 17,10.1045695 17,9 L17,3 C17,1.8954305 16.1045695,1 15,1 Z M20,3 L20,9 L19,9 L19,3 L20,3 Z"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 925 B |
@ -0,0 +1,6 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20">
|
||||
<g fill="none" fill-rule="evenodd">
|
||||
<path fill="#FFF" d="M15,-4.61852778e-14 C16.6568542,-4.61852778e-14 18,1.34314575 18,3 L18,9 C18,10.6568542 16.6568542,12 15,12 L3,12 C1.34314575,12 0,10.6568542 0,9 L0,3 C0,1.34314575 1.34314575,-4.61852778e-14 3,-4.61852778e-14 L15,-4.61852778e-14 Z M15,1 L3,1 C1.8954305,1 1,1.8954305 1,3 L1,9 C1,10.1045695 1.8954305,11 3,11 L15,11 C16.1045695,11 17,10.1045695 17,9 L17,3 C17,1.8954305 16.1045695,1 15,1 Z M20,3 L20,9 L19,9 L19,3 L20,3 Z" transform="translate(0 4)"/>
|
||||
<path fill="#FFF" d="M7.24960955,9.17295223 C7.24960955,7.55198774 8.98558854,6.73505045 10.3818886,7.6117948 C10.9012329,7.93789395 10.8977923,8.94570718 10.4842054,9.30278852 C10.3726411,9.39911049 10.2473833,9.47583872 10.0333175,9.58418373 C9.975446,9.61330228 9.975446,9.61330228 9.91459846,9.64361911 C9.3945286,9.90299052 9.13632148,10.0754526 8.86329315,10.4241672 C8.54143819,10.8352436 8.49960955,11.0943269 8.49960955,12.1499222 L9.74960955,12.1499222 C9.74960955,11.3739441 9.76062141,11.3057375 9.84750825,11.1947648 C9.97325658,11.0341577 10.1089728,10.9435099 10.4724734,10.7622234 C10.5335228,10.7318093 10.5335228,10.7318093 10.5977966,10.6994699 C10.8949109,10.5490917 11.0963838,10.4256769 11.3010895,10.2489388 C12.3161432,9.37256501 12.3230323,7.35466185 11.0465976,6.55318158 C8.86860665,5.18560927 6,6.46427219 6,9.17295223 L7.24960955,9.17295223 Z M8.49960955,12.9008636 L9.74960955,12.9008636 L9.74960955,14.1508636 L8.49960955,14.1508636 L8.49960955,12.9008636 Z"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 1.6 KiB |
@ -0,0 +1,3 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20">
|
||||
<path fill-rule="evenodd" d="M15,-4.61852778e-14 C16.6568542,-4.61852778e-14 18,1.34314575 18,3 L18,9 C18,10.6568542 16.6568542,12 15,12 L3,12 C1.34314575,12 0,10.6568542 0,9 L0,3 C0,1.34314575 1.34314575,-4.61852778e-14 3,-4.61852778e-14 L15,-4.61852778e-14 Z M15,1 L3,1 C1.8954305,1 1,1.8954305 1,3 L1,9 C1,10.1045695 1.8954305,11 3,11 L15,11 C16.1045695,11 17,10.1045695 17,9 L17,3 C17,1.8954305 16.1045695,1 15,1 Z M20,3 L20,9 L19,9 L19,3 L20,3 Z" transform="translate(0 4)"/>
|
||||
</svg>
|
After Width: | Height: | Size: 574 B |
@ -0,0 +1,6 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20">
|
||||
<g fill="none" fill-rule="evenodd" transform="translate(0 4)">
|
||||
<path fill="#FF001F" d="M1,-3.41060513e-13 L1,-3.41060513e-13 L1,-3.41060513e-13 L1,8 C0.44771525,8 6.76353751e-17,7.55228475 0,7 L0,1 C-6.76353751e-17,0.44771525 0.44771525,-3.4095906e-13 1,-3.41060513e-13 Z" transform="translate(2 2)"/>
|
||||
<path fill="#000" d="M15,-4.61852778e-14 C16.6568542,-4.61852778e-14 18,1.34314575 18,3 L18,9 C18,10.6568542 16.6568542,12 15,12 L3,12 C1.34314575,12 0,10.6568542 0,9 L0,3 C0,1.34314575 1.34314575,-4.61852778e-14 3,-4.61852778e-14 L15,-4.61852778e-14 Z M15,1 L3,1 C1.8954305,1 1,1.8954305 1,3 L1,9 C1,10.1045695 1.8954305,11 3,11 L15,11 C16.1045695,11 17,10.1045695 17,9 L17,3 C17,1.8954305 16.1045695,1 15,1 Z M20,3 L20,9 L19,9 L19,3 L20,3 Z"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 856 B |
@ -0,0 +1,6 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20">
|
||||
<g fill="none" fill-rule="evenodd" transform="translate(0 4)">
|
||||
<path fill="#FF001F" d="M1,-1.70530257e-13 L2,-1.70530257e-13 L2,-1.70530257e-13 L2,8 L1,8 C0.44771525,8 6.76353751e-17,7.55228475 0,7 L0,1 C-6.76353751e-17,0.44771525 0.44771525,-1.70428804e-13 1,-1.70530257e-13 Z" transform="translate(2 2)"/>
|
||||
<path fill="#000" d="M15,-4.61852778e-14 C16.6568542,-4.61852778e-14 18,1.34314575 18,3 L18,9 C18,10.6568542 16.6568542,12 15,12 L3,12 C1.34314575,12 0,10.6568542 0,9 L0,3 C0,1.34314575 1.34314575,-4.61852778e-14 3,-4.61852778e-14 L15,-4.61852778e-14 Z M15,1 L3,1 C1.8954305,1 1,1.8954305 1,3 L1,9 C1,10.1045695 1.8954305,11 3,11 L15,11 C16.1045695,11 17,10.1045695 17,9 L17,3 C17,1.8954305 16.1045695,1 15,1 Z M20,3 L20,9 L19,9 L19,3 L20,3 Z"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 862 B |
@ -0,0 +1,6 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20">
|
||||
<g fill="none" fill-rule="evenodd" transform="translate(0 4)">
|
||||
<path fill="#FED027" d="M1,-6.82121026e-13 L4,-6.82121026e-13 L4,-6.82121026e-13 L4,8 L1,8 C0.44771525,8 6.76353751e-17,7.55228475 0,7 L0,1 C-6.76353751e-17,0.44771525 0.44771525,-6.82019573e-13 1,-6.82121026e-13 Z" transform="translate(2 2)"/>
|
||||
<path fill="#000" d="M15,-4.61852778e-14 C16.6568542,-4.61852778e-14 18,1.34314575 18,3 L18,9 C18,10.6568542 16.6568542,12 15,12 L3,12 C1.34314575,12 0,10.6568542 0,9 L0,3 C0,1.34314575 1.34314575,-4.61852778e-14 3,-4.61852778e-14 L15,-4.61852778e-14 Z M15,1 L3,1 C1.8954305,1 1,1.8954305 1,3 L1,9 C1,10.1045695 1.8954305,11 3,11 L15,11 C16.1045695,11 17,10.1045695 17,9 L17,3 C17,1.8954305 16.1045695,1 15,1 Z M20,3 L20,9 L19,9 L19,3 L20,3 Z"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 862 B |
@ -0,0 +1,6 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20">
|
||||
<g fill="none" fill-rule="evenodd" transform="translate(0 4)">
|
||||
<path fill="#3ACB00" d="M1,-3.41060513e-13 L6,-3.41060513e-13 L6,-3.41060513e-13 L6,8 L1,8 C0.44771525,8 6.76353751e-17,7.55228475 0,7 L0,1 C-6.76353751e-17,0.44771525 0.44771525,-3.4095906e-13 1,-3.41060513e-13 Z" transform="translate(2 2)"/>
|
||||
<path fill="#000" d="M15,-4.61852778e-14 C16.6568542,-4.61852778e-14 18,1.34314575 18,3 L18,9 C18,10.6568542 16.6568542,12 15,12 L3,12 C1.34314575,12 0,10.6568542 0,9 L0,3 C0,1.34314575 1.34314575,-4.61852778e-14 3,-4.61852778e-14 L15,-4.61852778e-14 Z M15,1 L3,1 C1.8954305,1 1,1.8954305 1,3 L1,9 C1,10.1045695 1.8954305,11 3,11 L15,11 C16.1045695,11 17,10.1045695 17,9 L17,3 C17,1.8954305 16.1045695,1 15,1 Z M20,3 L20,9 L19,9 L19,3 L20,3 Z"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 861 B |
@ -0,0 +1,6 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20">
|
||||
<g fill="none" fill-rule="evenodd" transform="translate(0 4)">
|
||||
<path fill="#3ACB00" d="M1,0 L7,0 L7,0 L7,8 L1,8 C0.44771525,8 6.76353751e-17,7.55228475 0,7 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 Z" transform="translate(2 2)"/>
|
||||
<path fill="#000" d="M15,-4.61852778e-14 C16.6568542,-4.61852778e-14 18,1.34314575 18,3 L18,9 C18,10.6568542 16.6568542,12 15,12 L3,12 C1.34314575,12 0,10.6568542 0,9 L0,3 C0,1.34314575 1.34314575,-4.61852778e-14 3,-4.61852778e-14 L15,-4.61852778e-14 Z M15,1 L3,1 C1.8954305,1 1,1.8954305 1,3 L1,9 C1,10.1045695 1.8954305,11 3,11 L15,11 C16.1045695,11 17,10.1045695 17,9 L17,3 C17,1.8954305 16.1045695,1 15,1 Z M20,3 L20,9 L19,9 L19,3 L20,3 Z"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 805 B |
@ -0,0 +1,6 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20">
|
||||
<g fill="none" fill-rule="evenodd" transform="translate(0 4)">
|
||||
<path fill="#3ACB00" d="M1,0 L8,0 L8,0 L8,8 L1,8 C0.44771525,8 6.76353751e-17,7.55228475 0,7 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 Z" transform="translate(2 2)"/>
|
||||
<path fill="#000" d="M15,-4.61852778e-14 C16.6568542,-4.61852778e-14 18,1.34314575 18,3 L18,9 C18,10.6568542 16.6568542,12 15,12 L3,12 C1.34314575,12 0,10.6568542 0,9 L0,3 C0,1.34314575 1.34314575,-4.61852778e-14 3,-4.61852778e-14 L15,-4.61852778e-14 Z M15,1 L3,1 C1.8954305,1 1,1.8954305 1,3 L1,9 C1,10.1045695 1.8954305,11 3,11 L15,11 C16.1045695,11 17,10.1045695 17,9 L17,3 C17,1.8954305 16.1045695,1 15,1 Z M20,3 L20,9 L19,9 L19,3 L20,3 Z"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 805 B |
@ -0,0 +1,6 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20">
|
||||
<g fill="none" fill-rule="evenodd" transform="translate(0 4)">
|
||||
<path fill="#3ACB00" d="M1,0 L9,0 L9,0 L9,8 L1,8 C0.44771525,8 6.76353751e-17,7.55228475 0,7 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 Z" transform="translate(2 2)"/>
|
||||
<path fill="#000" d="M15,-4.61852778e-14 C16.6568542,-4.61852778e-14 18,1.34314575 18,3 L18,9 C18,10.6568542 16.6568542,12 15,12 L3,12 C1.34314575,12 0,10.6568542 0,9 L0,3 C0,1.34314575 1.34314575,-4.61852778e-14 3,-4.61852778e-14 L15,-4.61852778e-14 Z M15,1 L3,1 C1.8954305,1 1,1.8954305 1,3 L1,9 C1,10.1045695 1.8954305,11 3,11 L15,11 C16.1045695,11 17,10.1045695 17,9 L17,3 C17,1.8954305 16.1045695,1 15,1 Z M20,3 L20,9 L19,9 L19,3 L20,3 Z"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 805 B |
@ -0,0 +1,6 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20">
|
||||
<g fill="none" fill-rule="evenodd" transform="translate(0 4)">
|
||||
<path fill="#3ACB00" d="M1,-1.86517468e-13 L11,-1.86517468e-13 L11,-1.86517468e-13 L11,8 L1,8 C0.44771525,8 6.76353751e-17,7.55228475 0,7 L0,1 C-6.76353751e-17,0.44771525 0.44771525,-1.86416015e-13 1,-1.86517468e-13 Z" transform="translate(2 2)"/>
|
||||
<path fill="#000" d="M15,-4.61852778e-14 C16.6568542,-4.61852778e-14 18,1.34314575 18,3 L18,9 C18,10.6568542 16.6568542,12 15,12 L3,12 C1.34314575,12 0,10.6568542 0,9 L0,3 C0,1.34314575 1.34314575,-4.61852778e-14 3,-4.61852778e-14 L15,-4.61852778e-14 Z M15,1 L3,1 C1.8954305,1 1,1.8954305 1,3 L1,9 C1,10.1045695 1.8954305,11 3,11 L15,11 C16.1045695,11 17,10.1045695 17,9 L17,3 C17,1.8954305 16.1045695,1 15,1 Z M20,3 L20,9 L19,9 L19,3 L20,3 Z"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 865 B |
@ -0,0 +1,6 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20">
|
||||
<g fill="none" fill-rule="evenodd" transform="translate(0 4)">
|
||||
<path fill="#3ACB00" d="M1,-3.73034936e-13 L13,-3.73034936e-13 L13,-3.73034936e-13 L13,8 L1,8 C0.44771525,8 6.76353751e-17,7.55228475 0,7 L0,1 C-6.76353751e-17,0.44771525 0.44771525,-3.72933483e-13 1,-3.73034936e-13 Z" transform="translate(2 2)"/>
|
||||
<path fill="#000" d="M15,-4.61852778e-14 C16.6568542,-4.61852778e-14 18,1.34314575 18,3 L18,9 C18,10.6568542 16.6568542,12 15,12 L3,12 C1.34314575,12 0,10.6568542 0,9 L0,3 C0,1.34314575 1.34314575,-4.61852778e-14 3,-4.61852778e-14 L15,-4.61852778e-14 Z M15,1 L3,1 C1.8954305,1 1,1.8954305 1,3 L1,9 C1,10.1045695 1.8954305,11 3,11 L15,11 C16.1045695,11 17,10.1045695 17,9 L17,3 C17,1.8954305 16.1045695,1 15,1 Z M20,3 L20,9 L19,9 L19,3 L20,3 Z"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 865 B |
@ -0,0 +1,6 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20">
|
||||
<g fill="none" fill-rule="evenodd" transform="translate(0 4)">
|
||||
<path fill="#3ACB00" d="M1,-1.86517468e-13 L13,-1.86517468e-13 C13.5522847,-1.86618921e-13 14,0.44771525 14,1 L14,7 C14,7.55228475 13.5522847,8 13,8 L1,8 C0.44771525,8 6.76353751e-17,7.55228475 0,7 L0,1 C-6.76353751e-17,0.44771525 0.44771525,-1.86416015e-13 1,-1.86517468e-13 Z" transform="translate(2 2)"/>
|
||||
<path fill="#000" d="M15,-4.61852778e-14 C16.6568542,-4.61852778e-14 18,1.34314575 18,3 L18,9 C18,10.6568542 16.6568542,12 15,12 L3,12 C1.34314575,12 0,10.6568542 0,9 L0,3 C0,1.34314575 1.34314575,-4.61852778e-14 3,-4.61852778e-14 L15,-4.61852778e-14 Z M15,1 L3,1 C1.8954305,1 1,1.8954305 1,3 L1,9 C1,10.1045695 1.8954305,11 3,11 L15,11 C16.1045695,11 17,10.1045695 17,9 L17,3 C17,1.8954305 16.1045695,1 15,1 Z M20,3 L20,9 L19,9 L19,3 L20,3 Z"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 925 B |
@ -0,0 +1,6 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20">
|
||||
<g fill="none" fill-rule="evenodd">
|
||||
<path fill="#000" d="M15,-4.61852778e-14 C16.6568542,-4.61852778e-14 18,1.34314575 18,3 L18,9 C18,10.6568542 16.6568542,12 15,12 L3,12 C1.34314575,12 0,10.6568542 0,9 L0,3 C0,1.34314575 1.34314575,-4.61852778e-14 3,-4.61852778e-14 L15,-4.61852778e-14 Z M15,1 L3,1 C1.8954305,1 1,1.8954305 1,3 L1,9 C1,10.1045695 1.8954305,11 3,11 L15,11 C16.1045695,11 17,10.1045695 17,9 L17,3 C17,1.8954305 16.1045695,1 15,1 Z M20,3 L20,9 L19,9 L19,3 L20,3 Z" transform="translate(0 4)"/>
|
||||
<path fill="#000" d="M7.24960955,9.17295223 C7.24960955,7.55198774 8.98558854,6.73505045 10.3818886,7.6117948 C10.9012329,7.93789395 10.8977923,8.94570718 10.4842054,9.30278852 C10.3726411,9.39911049 10.2473833,9.47583872 10.0333175,9.58418373 C9.975446,9.61330228 9.975446,9.61330228 9.91459846,9.64361911 C9.3945286,9.90299052 9.13632148,10.0754526 8.86329315,10.4241672 C8.54143819,10.8352436 8.49960955,11.0943269 8.49960955,12.1499222 L9.74960955,12.1499222 C9.74960955,11.3739441 9.76062141,11.3057375 9.84750825,11.1947648 C9.97325658,11.0341577 10.1089728,10.9435099 10.4724734,10.7622234 C10.5335228,10.7318093 10.5335228,10.7318093 10.5977966,10.6994699 C10.8949109,10.5490917 11.0963838,10.4256769 11.3010895,10.2489388 C12.3161432,9.37256501 12.3230323,7.35466185 11.0465976,6.55318158 C8.86860665,5.18560927 6,6.46427219 6,9.17295223 L7.24960955,9.17295223 Z M8.49960955,12.9008636 L9.74960955,12.9008636 L9.74960955,14.1508636 L8.49960955,14.1508636 L8.49960955,12.9008636 Z"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 1.6 KiB |