Logo Search packages:      
Sourcecode: ktechlab version File versions  Download package


 *   Copyright (C) 2005 by David Saxton                                    *
 *   david@bluehaze.org                                                    *
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *


#include <kconfigdialog.h>
#include <qmap.h>

class AsmFormattingWidget;
class GeneralOptionsWidget;
class GpasmSettingsWidget;
class LogicWidget;
class PicProgrammerConfigWidget;
class PicProgrammerSettings;
class SDCCOptionsWidget;

@author David Saxton
00029 class SettingsDlg : public KConfigDialog
            SettingsDlg( QWidget *parent, const char *name, KConfigSkeleton *config );
            static int refreshRateToSliderValue( int refreshRate );
            static int sliderValueToRefreshRate( int sliderValue );
            virtual void show();

      public slots:
            void slotUpdateRefreshRateLabel( int sliderValue );
            void slotUpdatePicProgrammerDescription();
            void slotAddProgrammerConfig();
            void slotRemoveProgrammerConfig();
            void slotSaveCurrentProgrammerConfig();
      protected slots:
            void slotUpdateSettings();
            void slotUpdateWidgets();
            virtual void updateSettings();
            virtual void updateWidgets();
            virtual void updateWidgetsDefault();
            virtual bool hasChanged();
            virtual bool isDefault();
            PicProgrammerSettings * m_pPicProgrammerSettings;
            GeneralOptionsWidget * m_generalOptionsWidget;
            GpasmSettingsWidget * m_gpasmSettingsWidget;
            SDCCOptionsWidget * m_sdccOptionsWidget;
            AsmFormattingWidget * m_asmFormattingWidget;
            LogicWidget * m_logicWidget;
            PicProgrammerConfigWidget * m_picProgrammerConfigWidget;


Generated by  Doxygen 1.6.0   Back to index