麒麟编译,数学库头文件定义
This commit is contained in:
parent
d739152896
commit
86d142d093
|
|
@ -13,7 +13,7 @@ static Value getData(const QMap<const QtProperty *, PrivateData> &propertyMap,
|
||||||
const QtProperty *property, const Value &defaultValue = Value())
|
const QtProperty *property, const Value &defaultValue = Value())
|
||||||
{
|
{
|
||||||
typedef QMap<const QtProperty *, PrivateData> PropertyToData;
|
typedef QMap<const QtProperty *, PrivateData> PropertyToData;
|
||||||
typedef PropertyToData::const_iterator PropertyToDataConstIterator;
|
typedef typename PropertyToData::const_iterator PropertyToDataConstIterator;
|
||||||
const PropertyToDataConstIterator it = propertyMap.constFind(property);
|
const PropertyToDataConstIterator it = propertyMap.constFind(property);
|
||||||
if (it == propertyMap.constEnd())
|
if (it == propertyMap.constEnd())
|
||||||
return defaultValue;
|
return defaultValue;
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
#include "Gradient.h"
|
#include "Gradient.h"
|
||||||
#include <QCoreApplication>
|
#include <QCoreApplication>
|
||||||
|
|
||||||
|
#include "math.h"
|
||||||
//extern char *GetBinDir(char *str);
|
//extern char *GetBinDir(char *str);
|
||||||
|
|
||||||
BYTE GetRValue(COLORREF colour)
|
BYTE GetRValue(COLORREF colour)
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/*
|
/*
|
||||||
* QtColorSchemeComboBox.cpp
|
* QtColorSchemeComboBox.cpp
|
||||||
*
|
*
|
||||||
* Created on: 2013-5-27
|
* Created on: 2013-5-27
|
||||||
|
|
@ -12,6 +12,7 @@
|
||||||
#include <QTextStream>
|
#include <QTextStream>
|
||||||
#include "qtColorSchemeComboBox.h"
|
#include "qtColorSchemeComboBox.h"
|
||||||
#include "Gradient.h"
|
#include "Gradient.h"
|
||||||
|
#include <math.h>
|
||||||
|
|
||||||
QtColorSchemeComboBox::QtColorSchemeComboBox(QWidget *parent):QtComboBox(parent), m_isShowText(true)
|
QtColorSchemeComboBox::QtColorSchemeComboBox(QWidget *parent):QtComboBox(parent), m_isShowText(true)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user