File indexing completed on 2024-09-22 04:58:53
0001 /* 0002 This file is part of LightDM-KDE. 0003 0004 Copyright 2011, 2012 David Edmundson <kde@davidedmundson.co.uk> 0005 0006 LightDM-KDE is free software: you can redistribute it and/or modify 0007 it under the terms of the GNU General Public License as published by 0008 the Free Software Foundation, either version 3 of the License, or 0009 (at your option) any later version. 0010 0011 LightDM-KDE is distributed in the hope that it will be useful, 0012 but WITHOUT ANY WARRANTY; without even the implied warranty of 0013 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 0014 GNU General Public License for more details. 0015 0016 You should have received a copy of the GNU General Public License 0017 along with LightDM-KDE. If not, see <http://www.gnu.org/licenses/>. 0018 */ 0019 0020 #ifndef SELECTIMAGEBUTTONDESIGNERFACTORY_H 0021 #define SELECTIMAGEBUTTONDESIGNERFACTORY_H 0022 0023 #include <QDesignerCustomWidgetInterface> 0024 #include <QObject> 0025 0026 class SelectImageButtonDesignerFactory : public QObject, public QDesignerCustomWidgetInterface 0027 { 0028 Q_OBJECT 0029 Q_INTERFACES(QDesignerCustomWidgetInterface) 0030 public: 0031 SelectImageButtonDesignerFactory(QObject *parent = 0); 0032 0033 bool isContainer() const; 0034 QIcon icon() const; 0035 QString group() const; 0036 QString includeFile() const; 0037 QString name() const; 0038 QString toolTip() const; 0039 QString whatsThis() const; 0040 QWidget *createWidget(QWidget *parent); 0041 }; 0042 0043 0044 0045 #endif // SELECTIMAGEBUTTONDESIGNERFACTORY_H