qwt_global.h

来自「This a framework to test new ideas in tr」· C头文件 代码 · 共 81 行

H
81
字号
/* -*- mode: C++ ; c-file-style: "stroustrup" -*- ***************************** * Qwt Widget Library * Copyright (C) 1997   Josef Wilgen * Copyright (C) 2002   Uwe Rathmann *  * This library is free software; you can redistribute it and/or * modify it under the terms of the Qwt License, Version 1.0 *****************************************************************************/// vim: expandtab#ifndef QWT_GLOBAL_H#define QWT_GLOBAL_H#include <qmodules.h>#include <qglobal.h>#define QWT_VERSION       0x040200#define QWT_VERSION_STR   "4.2.0"//// Create Qwt DLL if QWT_DLL is defined (Windows only)//#if defined(Q_WS_WIN)#if defined(_MSC_VER) /* MSVC Compiler *//* template-class specialization 'identifier' is already instantiated */#pragma warning(disable: 4660)#endif#if defined(QWT_NODLL)#undef QWT_MAKEDLL#undef QWT_DLL#undef QWT_TEMPLATEDLL#endif#ifdef QWT_DLL#if defined(QWT_MAKEDLL)     /* create a Qwt DLL library */#undef QWT_DLL#define QWT_EXPORT  __declspec(dllexport)#define QWT_TEMPLATEDLL#endif#endif#if defined(QWT_DLL)     /* use a Qwt DLL library */#define QWT_EXPORT  __declspec(dllimport)#define QWT_TEMPLATEDLL#endif#else // ! Q_WS_WIN#undef QWT_MAKEDLL       /* ignore these for other platforms */#undef QWT_DLL#undef QWT_TEMPLATEDLL#endif#ifndef QWT_EXPORT#define QWT_EXPORT#endif#if QT_VERSION < 300// Use old QArray instead of QMemArray#define QWT_NO_MEMARRAY #endif// #define QWT_NO_COMPAT 1 // disable withdrawn functionality#undef QWT_NO_STL// #define QWT_NO_STL // disable Standard Template Library based classes#if defined(_MSC_VER)#if QT_VERSION < 300// tmake does not produce the missing -GX flag for exception handling#define QWT_NO_STL#else// qmake.conf contains QMAKE_CFLAGS_STL_ON = -GX, great#undef QWT_NO_STL#endif // QT_VERSION#endif // _MSVC_VER#endif // QWT_GLOBAL_H

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?