qt_demoe/qwtdemo/qwt/qwt_plot_xml.cpp

43 lines
1.1 KiB
C++
Raw Normal View History

2019-11-07 02:55:57 +00:00
/* -*- 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
*****************************************************************************/
#include "qwt_plot.h"
/*!
This method is intended for manipulating the plot widget
from a specific editor in the Qwt designer plugin.
\warning The plot editor has never been implemented.
*/
void QwtPlot::applyProperties( const QString & /* xmlDocument */ )
{
#if 0
// Temporary dummy code, for designer tests
setTitle( xmlDocument );
replot();
#endif
}
/*!
This method is intended for manipulating the plot widget
from a specific editor in the Qwt designer plugin.
\return QString::null
\warning The plot editor has never been implemented.
*/
QString QwtPlot::grabProperties() const
{
#if 0
// Temporary dummy code, for designer tests
return title().text();
#else
return QString::null;
#endif
}