qwt_plot_xml.cpp 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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. #include "qwt_plot.h"
  10. /*!
  11. This method is intended for manipulating the plot widget
  12. from a specific editor in the Qwt designer plugin.
  13. \warning The plot editor has never been implemented.
  14. */
  15. void QwtPlot::applyProperties( const QString & /* xmlDocument */ )
  16. {
  17. #if 0
  18. // Temporary dummy code, for designer tests
  19. setTitle( xmlDocument );
  20. replot();
  21. #endif
  22. }
  23. /*!
  24. This method is intended for manipulating the plot widget
  25. from a specific editor in the Qwt designer plugin.
  26. \warning The plot editor has never been implemented.
  27. */
  28. QString QwtPlot::grabProperties() const
  29. {
  30. #if 0
  31. // Temporary dummy code, for designer tests
  32. return title().text();
  33. #else
  34. return QString::null;
  35. #endif
  36. }