Warning, file /office/skrooge/skgbankguidesigner/skgbkwidgetcollectiondesignerplugin.cpp was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 /***************************************************************************
0002  * SPDX-FileCopyrightText: 2022 S. MANKOWSKI stephane@mankowski.fr
0003  * SPDX-FileCopyrightText: 2022 G. DE BURE support@mankowski.fr
0004  * SPDX-License-Identifier: GPL-3.0-or-later
0005  ***************************************************************************/
0006 /** @file
0007  * A collection of widgets for skrooge (qt designer plugin).
0008  *
0009  * @author Stephane MANKOWSKI / Guillaume DE BURE
0010  */
0011 #include "skgbkwidgetcollectiondesignerplugin.h"
0012 
0013 
0014 
0015 #include "skgpredicatcreatordesignerplugin.h"
0016 #include "skgquerycreatordesignerplugin.h"
0017 #include "skgunitcomboboxdesignerplugin.h"
0018 
0019 SKGBKWidgetCollectionDesignerPlugin::SKGBKWidgetCollectionDesignerPlugin(QObject* iParent)
0020     : QObject(iParent)
0021 {
0022     m_widgets.append(new SKGQueryCreatorDesignerPlugin(this));
0023     m_widgets.append(new SKGPredicatCreatorDesignerPlugin(this));
0024     m_widgets.append(new SKGUnitComboBoxDesignerPlugin(this));
0025 }
0026 
0027 QList<QDesignerCustomWidgetInterface*> SKGBKWidgetCollectionDesignerPlugin::customWidgets() const
0028 {
0029     return m_widgets;
0030 }