3rdparty
qwt
src
qwt.cpp
Go to the documentation of this file.
1
/******************************************************************************
2
* Qwt Widget Library
3
* Copyright (C) 1997 Josef Wilgen
4
* Copyright (C) 2002 Uwe Rathmann
5
*
6
* This library is free software; you can redistribute it and/or
7
* modify it under the terms of the Qwt License, Version 1.0
8
*****************************************************************************/
9
10
#include "
qwt.h
"
11
#include <qapplication.h>
12
13
#define QWT_GLOBAL_STRUT
14
15
#if QT_VERSION >= 0x050000
16
#if QT_VERSION >= 0x060000 || !QT_DEPRECATED_SINCE(5, 15)
17
#undef QWT_GLOBAL_STRUT
18
#endif
19
#endif
20
21
QSize
qwtExpandedToGlobalStrut
(
const
QSize&
size
)
22
{
23
#ifdef QWT_GLOBAL_STRUT
24
return
size
.expandedTo( QApplication::globalStrut() );
25
#else
26
return
size
;
27
#endif
28
}
qwtExpandedToGlobalStrut
QSize qwtExpandedToGlobalStrut(const QSize &size)
Definition:
qwt.cpp:21
nonstd::span_lite::size
span_constexpr std::size_t size(span< T, Extent > const &spn)
Definition:
span.hpp:1554
qwt.h
plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:45