File indexing completed on 2024-12-22 04:17:29
0001 /*************************************************************************** 0002 * * 0003 * copyright : (C) 2007 The University of Toronto * 0004 * netterfield@astro.utoronto.ca * 0005 * * 0006 * This program is free software; you can redistribute it and/or modify * 0007 * it under the terms of the GNU General Public License as published by * 0008 * the Free Software Foundation; either version 2 of the License, or * 0009 * (at your option) any later version. * 0010 * * 0011 ***************************************************************************/ 0012 0013 #ifndef DEBUGDIALOG_H 0014 #define DEBUGDIALOG_H 0015 0016 #include <QDialog> 0017 0018 #include "ui_debugdialog.h" 0019 0020 #include "kst_export.h" 0021 #include "objectstore.h" 0022 0023 namespace Kst { 0024 0025 class LogWidget; 0026 0027 class DebugDialog : public QDialog, Ui::DebugDialog 0028 { 0029 Q_OBJECT 0030 public: 0031 explicit DebugDialog(QWidget *parent); 0032 virtual ~DebugDialog(); 0033 0034 void setObjectStore(ObjectStore* store) { _store = store; } 0035 0036 Q_SIGNALS: 0037 void notifyOfError(); 0038 void notifyAllClear(); 0039 0040 public Q_SLOTS: 0041 void clear(); 0042 void show(); 0043 void clearDSSettings(); 0044 0045 protected: 0046 bool event(QEvent *e); 0047 0048 private: 0049 LogWidget *_log; 0050 ObjectStore *_store; 0051 }; 0052 0053 } 0054 0055 #endif 0056 0057 // vim: ts=2 sw=2 et