qwt_plot_xml.cpp 1.1 KB
Newer Older
pixhawk's avatar
pixhawk committed
1 2 3 4 5 6 7 8 9 10 11
/* -*- 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"

Bryant's avatar
Bryant committed
12 13 14 15 16 17 18
/*!
  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 */ )
pixhawk's avatar
pixhawk committed
19
{
Bryant's avatar
Bryant committed
20
#if 0
pixhawk's avatar
pixhawk committed
21
    // Temporary dummy code, for designer tests
Bryant's avatar
Bryant committed
22
    setTitle( xmlDocument );
pixhawk's avatar
pixhawk committed
23 24 25 26
    replot();
#endif
}

Bryant's avatar
Bryant committed
27 28 29 30 31 32 33
/*!
  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.
*/
pixhawk's avatar
pixhawk committed
34 35
QString QwtPlot::grabProperties() const
{
Bryant's avatar
Bryant committed
36
#if 0
pixhawk's avatar
pixhawk committed
37 38
    // Temporary dummy code, for designer tests
    return title().text();
Bryant's avatar
Bryant committed
39 40
#else
    return QString::null;
pixhawk's avatar
pixhawk committed
41
#endif
42
}