|
Wireshark 5.1.0
The Wireshark network protocol analyzer
|
#include <QPixmap>#include <QSize>#include <QtGlobal>Go to the source code of this file.
Functions | |
| QPixmap | transparentIconPixmap (const QSize &logical, qreal scale) |
A fully transparent pixmap of logical size at device-pixel ratio scale, to be painted in logical coordinates. | |
Variables | |
| constexpr qreal | kIconDisabledOpacity = 0.4 |
| Opacity of an icon drawn in QIcon::Disabled mode. Shared by the theme icon engines so every disabled icon dims alike. | |
Wireshark - Network traffic analyzer By Gerald Combs geral.nosp@m.d@wi.nosp@m.resha.nosp@m.rk.o.nosp@m.rg Copyright 1998 Gerald Combs
SPDX-License-Identifier: GPL-2.0-or-later
|
inline |
A fully transparent pixmap of logical size at device-pixel ratio scale, to be painted in logical coordinates.
A new QPixmap is uninitialised, and filling it through a painter with Qt::transparent is a no-op under SourceOver, so it is cleared directly.