kspread Library API Documentation

kspread_dlg_sort.h

00001 /* This file is part of the KDE project
00002    Copyright (C) 2002-2003 Norbert Andres <nandres@web.de>
00003              (C) 2002 Ariya Hidayat <ariya@kde.org>
00004              (C) 2002 John Dailey <dailey@vt.edu>
00005              (C) 2002 Werner Trobin <trobin@kde.org>
00006              (C) 2001-2002 Philipp Mueller <philipp.mueller@gmx.de>
00007              (C) 1999-2002 Laurent Montel <montel@kde.org>
00008              (C) 2000 David Faure <faure@kde.org>
00009              (C) 1998-2000 Torben Weis <weis@kde.org>
00010 
00011    This library is free software; you can redistribute it and/or
00012    modify it under the terms of the GNU Library General Public
00013    License as published by the Free Software Foundation; either
00014    version 2 of the License, or (at your option) any later version.
00015 
00016    This library is distributed in the hope that it will be useful,
00017    but WITHOUT ANY WARRANTY; without even the implied warranty of
00018    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00019    Library General Public License for more details.
00020 
00021    You should have received a copy of the GNU Library General Public License
00022    along with this library; see the file COPYING.LIB.  If not, write to
00023    the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
00024    Boston, MA 02111-1307, USA.
00025 */
00026 
00027 #ifndef __kspread_dlg_sort__
00028 #define __kspread_dlg_sort__
00029 
00030 
00031 #include <kdialogbase.h>
00032 #include <qstringlist.h>
00033 
00034 class KSpreadView;
00035 
00036 class QCheckBox;
00037 class QComboBox;
00038 class QLabel;
00039 class QLineEdit;
00040 class QPushButton;
00041 class QRadioButton;
00042 class QTabWidget;
00043 class QWidget;
00044 
00045 class KSpreadSortDlg : public KDialogBase
00046 {
00047   Q_OBJECT
00048 
00049  public:
00050   KSpreadSortDlg( KSpreadView * parent, const char * name = 0,
00051                   bool modal = false );
00052   ~KSpreadSortDlg();
00053 
00054  private slots:
00055   void sortKey2textChanged( int );
00056   void useCustomListsStateChanged( int );
00057   void firstRowHeaderChanged( int );
00058   virtual void slotOk();
00059   void slotOrientationChanged(int id);
00060 
00061  private:
00062   void init();
00063 
00064   KSpreadView  * m_pView;
00065 
00066   QStringList    m_listColumn;
00067   QStringList    m_listRow;
00068 
00069   QWidget      * m_page1;
00070   QWidget      * m_page2;
00071 
00072   QTabWidget   * m_tabWidget;
00073 
00074   QComboBox    * m_sortKey1;
00075   QComboBox    * m_sortOrder1;
00076   QComboBox    * m_sortKey2;
00077   QComboBox    * m_sortOrder2;
00078   QComboBox    * m_sortKey3;
00079   QComboBox    * m_sortOrder3;
00080 
00081   QCheckBox    * m_useCustomLists;
00082   QComboBox    * m_customList;
00083 
00084   QRadioButton * m_sortColumn;
00085   QRadioButton * m_sortRow;
00086 
00087   QCheckBox    * m_copyLayout;
00088   QCheckBox    * m_firstRowHeader;
00089   QCheckBox    * m_respectCase;
00090 
00091   QComboBox    * m_outputSheet;
00092   QLineEdit    * m_outputCell;
00093 
00094 
00095 };
00096 
00097 #endif
KDE Logo
This file is part of the documentation for kspread Library Version 1.4.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Mon Feb 13 09:43:02 2006 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003