Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
3rdparty
qwt
src
qwt.cpp
Go to the documentation of this file.
1
/* -*- mode: C++ ; c-file-style: "stroustrup" -*- *****************************
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_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
qwt.h
plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Dec 6 2020 03:48:10