File indexing completed on 2023-10-01 03:49:26
0001 /* 0002 SPDX-FileCopyrightText: 2007, 2008 Carsten Niehaus <cniehaus@kde.org> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #ifndef ISOTOPETABLEDIALOG_H 0008 #define ISOTOPETABLEDIALOG_H 0009 0010 #include "ui_isotopedialog.h" 0011 0012 #include <QDialog> 0013 0014 class IsotopeItem; 0015 0016 /** 0017 * This class is the drawing widget for the whole table 0018 * 0019 * @author Pino Toscano 0020 * @author Carsten Niehaus 0021 */ 0022 class IsotopeTableDialog : public QDialog 0023 { 0024 Q_OBJECT 0025 0026 public: 0027 explicit IsotopeTableDialog(QWidget *parent = nullptr); 0028 0029 private: 0030 Ui::isotopeWidget ui; 0031 0032 public Q_SLOTS: 0033 void setMode(int mode); 0034 void updateMode(); 0035 0036 private Q_SLOTS: 0037 void updateDockWidget(IsotopeItem *); 0038 void zoom(int); 0039 void slotZoomLevelChanged(double); 0040 }; 0041 0042 #endif // ISOTOPETABLEDIALOG_H