Wireshark 5.1.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
zoom_scaling.h File Reference
#include <QString>

Go to the source code of this file.

Namespaces

namespace  ZoomScaling
 Text zoom scaling of pixel lengths and widget metrics.

Functions

int ZoomScaling::scaledPixels (int px, qreal factor)
 Scales a pixel value designed for zoom level 0 by factor.
int ZoomScaling::scaledSizeLimit (int design, qreal factor)
 Scales one component of a widget size limit by factor.
QString ZoomScaling::scaleStyleSheetLengths (const QString &qss, qreal factor)
 Scales the pixel lengths of a stylesheet by factor.
Current zoom level
int ZoomScaling::scaledPixels (int px)
int ZoomScaling::scaledSizeLimit (int design)
void ZoomScaling::scaleSizeLimits (QWidget *widget)
void ZoomScaling::scaleIconSize (QWidget *widget)
void ZoomScaling::scaleLayoutMetrics (QLayout *layout)
int ZoomScaling::barIconSize ()

Detailed Description

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