File indexing completed on 2024-06-16 04:47:08

0001 /*
0002     SPDX-FileCopyrightText: 2010 Fernando Vilas <kmymoney-devel@kde.org>
0003     SPDX-License-Identifier: GPL-2.0-or-later
0004 */
0005 
0006 #ifndef EFFECTIVEDATEWIZARDPAGE_H
0007 #define EFFECTIVEDATEWIZARDPAGE_H
0008 
0009 // ----------------------------------------------------------------------------
0010 // QT Includes
0011 
0012 #include <QWizardPage>
0013 
0014 // ----------------------------------------------------------------------------
0015 // KDE Includes
0016 
0017 // ----------------------------------------------------------------------------
0018 // Project Includes
0019 
0020 namespace Ui {
0021 class EffectiveDateWizardPage;
0022 }
0023 
0024 /**
0025  * This class implements the Effective Date page of the
0026  * @ref KNewLoanWizard.
0027  */
0028 
0029 class EffectiveDateWizardPage : public QWizardPage
0030 {
0031     Q_OBJECT
0032 public:
0033     explicit EffectiveDateWizardPage(QWidget *parent = nullptr);
0034     ~EffectiveDateWizardPage();
0035 
0036     /**
0037      * Overload the isComplete function to control the Next button
0038      */
0039     bool isComplete() const final override;
0040 
0041     /**
0042      * Overload the initializePage function to set widgets based on
0043      * the inputs from previous pages.
0044      */
0045     void initializePage() final override;
0046 
0047     Ui::EffectiveDateWizardPage *ui;
0048 };
0049 
0050 #endif