File indexing completed on 2024-04-28 17:05:53
0001 /* 0002 SPDX-FileCopyrightText: 2000 Shie Erlich <krusader@users.sourceforge.net> 0003 SPDX-FileCopyrightText: 2000 Rafi Yanai <krusader@users.sourceforge.net> 0004 SPDX-FileCopyrightText: 2004-2022 Krusader Krew <https://krusader.org> 0005 0006 SPDX-License-Identifier: GPL-2.0-or-later 0007 */ 0008 #ifndef KRMASKCHOICE_H 0009 #define KRMASKCHOICE_H 0010 0011 // QtWidgets 0012 #include <QDialog> 0013 0014 class QLabel; 0015 class QListWidgetItem; 0016 class QPushButton; 0017 class KComboBox; 0018 class KrListWidget; 0019 0020 class KrMaskChoice : public QDialog 0021 { 0022 Q_OBJECT 0023 0024 public: 0025 explicit KrMaskChoice(QWidget *parent = nullptr); 0026 ~KrMaskChoice() override; 0027 0028 KComboBox *selection; 0029 QLabel *PixmapLabel1; 0030 QLabel *label; 0031 KrListWidget *preSelections; 0032 QPushButton *PushButton7; 0033 QPushButton *PushButton7_2; 0034 QPushButton *PushButton7_3; 0035 0036 public slots: 0037 virtual void addSelection(); 0038 virtual void clearSelections(); 0039 virtual void deleteSelection(); 0040 virtual void acceptFromList(QListWidgetItem *); 0041 virtual void currentItemChanged(QListWidgetItem *); 0042 }; 0043 0044 #endif // KRMASKCHOICE_H