• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdepim
  • Sitemap
  • Contact Us
 

kaddressbook

configurecardviewdialog.h

Go to the documentation of this file.
00001 /*
00002     This file is part of KAddressBook.
00003     Copyright (c) 2002 Mike Pilone <mpilone@slac.com>
00004 
00005     This program is free software; you can redistribute it and/or modify
00006     it under the terms of the GNU General Public License as published by
00007     the Free Software Foundation; either version 2 of the License, or
00008     (at your option) any later version.
00009 
00010     This program is distributed in the hope that it will be useful,
00011     but WITHOUT ANY WARRANTY; without even the implied warranty of
00012     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
00013     GNU General Public License for more details.
00014 
00015     You should have received a copy of the GNU General Public License
00016     along with this program; if not, write to the Free Software
00017     Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
00018 
00019     As a special exception, permission is given to link this program
00020     with any edition of Qt, and distribute the resulting executable,
00021     without including the source code for Qt in the source distribution.
00022 */
00023 
00024 #ifndef CONFIGURECARDVIEWDIALOG_H
00025 #define CONFIGURECARDVIEWDIALOG_H
00026 
00027 #include "viewconfigurewidget.h"
00028 
00029 #include <kvbox.h>
00030 
00031 class QCheckBox;
00032 class QFont;
00033 class QLabel;
00034 class QWidget;
00035 
00036 class KConfig;
00037 
00038 namespace KABC { class AddressBook; }
00039 
00040 namespace KPIM { class ColorListBox; }
00041 
00047 class ConfigureCardViewWidget : public ViewConfigureWidget
00048 {
00049   public:
00050     ConfigureCardViewWidget( KABC::AddressBook *ab, QWidget *parent );
00051     virtual ~ConfigureCardViewWidget();
00052 
00053     virtual void restoreSettings( const KConfigGroup &group);
00054     virtual void saveSettings( KConfigGroup & );
00055 
00056   private:
00057     class CardViewLookNFeelPage *mAdvancedPage;
00058 };
00059 
00079 class CardViewLookNFeelPage : public KVBox {
00080 
00081   Q_OBJECT
00082 
00083   public:
00084     CardViewLookNFeelPage( QWidget *parent=0 );
00085     ~CardViewLookNFeelPage();
00086 
00087     void restoreSettings( const KConfigGroup& );
00088     void saveSettings( KConfigGroup & );
00089 
00090   private Q_SLOTS:
00091     void setTextFont();
00092     void setHeaderFont();
00093     void enableFonts();
00094     void enableColors();
00095 
00096   private:
00097     void initGUI();
00098     void updateFontLabel( QFont, QLabel * );
00099 
00100     QCheckBox *cbEnableCustomFonts,
00101               *cbEnableCustomColors,
00102               *cbDrawSeps, *cbDrawBorders,
00103               *cbShowFieldLabels, *cbShowEmptyFields;
00104     KPIM::ColorListBox *lbColors;
00105     QLabel *lTextFont, *lHeaderFont;
00106     class KPushButton *btnFont, *btnHeaderFont;
00107     class QSpinBox *sbMargin, *sbSpacing, *sbSepWidth;
00108 
00109     class QWidget *vbFonts;
00110 };
00111 
00112 #endif

kaddressbook

Skip menu "kaddressbook"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

kdepim

Skip menu "kdepim"
  • akonadi
  •   clients
  •   kabc
  •   kcal
  •   kcm
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • kmobiletools
  • knode
  • knotes
  • kontact
  • kontactinterfaces
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  • libkdepim
  • libkholidays
  • libkleo
  • libkpgp
  • maildir
Generated for kdepim by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal