File indexing completed on 2024-05-12 16:35:23

0001 /* This file is part of the KDE project
0002    Copyright (C) 2003 Norbert Andres <nandres@web.de>
0003              (C) 2002 Philipp Mueller <philipp.mueller@gmx.de>
0004              (C) 2002 John Dailey <dailey@vt.edu>
0005              (C) 2000-2002 Laurent Montel <montel@kde.org>
0006 
0007    This library is free software; you can redistribute it and/or
0008    modify it under the terms of the GNU Library General Public
0009    License as published by the Free Software Foundation; either
0010    version 2 of the License, or (at your option) any later version.
0011 
0012    This library is distributed in the hope that it will be useful,
0013    but WITHOUT ANY WARRANTY; without even the implied warranty of
0014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
0015    Library General Public License for more details.
0016 
0017    You should have received a copy of the GNU Library General Public License
0018    along with this library; see the file COPYING.LIB.  If not, write to
0019    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
0020    Boston, MA 02110-1301, USA.
0021 */
0022 
0023 #ifndef CALLIGRA_SHEETS_PASTE_INSERT_DIALOG
0024 #define CALLIGRA_SHEETS_PASTE_INSERT_DIALOG
0025 
0026 #include <KoDialog.h>
0027 
0028 class QRadioButton;
0029 
0030 namespace Calligra
0031 {
0032 namespace Sheets
0033 {
0034 class Selection;
0035 
0036 /**
0037  * \ingroup UI
0038  * Dialog to select the direction for the paste with insertion action.
0039  */
0040 class PasteInsertDialog : public KoDialog
0041 {
0042     Q_OBJECT
0043 public:
0044     PasteInsertDialog(QWidget* parent, Selection* selection);
0045 
0046 public Q_SLOTS:
0047     void slotOk();
0048 private:
0049     Selection* m_selection;
0050     QRadioButton *rb1;
0051     QRadioButton *rb2;
0052     QRect  rect;
0053 };
0054 
0055 } // namespace Sheets
0056 } // namespace Calligra
0057 
0058 #endif // CALLIGRA_SHEETS_PASTE_INSERT_DIALOG