File indexing completed on 2024-04-28 05:46:31
0001 /* 0002 SPDX-FileCopyrightText: 2010 Volker Lanz <vl@fidra.de> 0003 0004 SPDX-License-Identifier: GPL-3.0-or-later 0005 */ 0006 0007 #if !defined(APPLYPROGRESSDETAILSWIDGET_H) 0008 0009 #define APPLYPROGRESSDETAILSWIDGET_H 0010 0011 #include "ui_applyprogressdetailswidgetbase.h" 0012 0013 /** Details widget for the ProgressDialog. 0014 @author Volker Lanz <vl@fidra.de> 0015 */ 0016 class ApplyProgressDetailsWidget : public QWidget, public Ui::ApplyProgressDetailsWidgetBase 0017 { 0018 public: 0019 explicit ApplyProgressDetailsWidget(QWidget* parent) : QWidget(parent) { 0020 setupUi(this); 0021 } 0022 0023 public: 0024 QTextEdit& editReport() { 0025 Q_ASSERT(m_EditReport); 0026 return *m_EditReport; 0027 } 0028 QPushButton& buttonSave() { 0029 Q_ASSERT(m_ButtonSave); 0030 return *m_ButtonSave; 0031 } 0032 QPushButton& buttonBrowser() { 0033 Q_ASSERT(m_ButtonBrowser); 0034 return *m_ButtonBrowser; 0035 } 0036 }; 0037 0038 #endif