File indexing completed on 2024-04-28 04:02:52
0001 /*************************************************************************** 0002 dlgspeedwalkprogress.h 0003 ------------------- 0004 begin : Wed May 30 2001 0005 copyright : (C) 2001 by Kmud Developer Team 0006 email : kmud-devel@kmud.de 0007 ***************************************************************************/ 0008 0009 /*************************************************************************** 0010 * * 0011 * This program is free software; you can redistribute it and/or modify * 0012 * it under the terms of the GNU General Public License as published by * 0013 * the Free Software Foundation; either version 2 of the License, or * 0014 * (at your option) any later version. * 0015 * * 0016 ***************************************************************************/ 0017 0018 #ifndef DLGSPEEDWALKPROGRESS_H 0019 #define DLGSPEEDWALKPROGRESS_H 0020 0021 #include <QDialog> 0022 #include "ui_dlgspeedwalkprogressbase.h" 0023 0024 /** 0025 *@author Kmud Developer Team 0026 */ 0027 0028 class DlgSpeedwalkProgress : public QDialog, private Ui::DlgSpeedwalkProgressBase 0029 { 0030 Q_OBJECT 0031 public: 0032 DlgSpeedwalkProgress(QWidget *parent=nullptr); 0033 ~DlgSpeedwalkProgress() override; 0034 0035 void setProgress(int progress); 0036 void setTotalSteps(int steps); 0037 0038 int getTotalSteps(void); 0039 0040 protected slots: 0041 void slotAbort(); 0042 0043 signals: 0044 void abortSpeedwalk(); 0045 }; 0046 0047 #endif