//============================================================================= // // OpenFlipper // Copyright (C) 2008 by Computer Graphics Group, RWTH Aachen // www.openflipper.org // //----------------------------------------------------------------------------- // // License // // OpenFlipper is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // OpenFlipper is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public License // along with OpenFlipper. If not, see . // //----------------------------------------------------------------------------- // // $Revision: 1909 $ // $Author: wilden $ // $Date: 2008-06-03 18:45:21 +0200 (Tue, 03 Jun 2008) $ // //============================================================================= #ifndef OPTIONSWIDGET_HH #define OPTIONSWIDGET_HH #include "ui_optionsWidget.hh" #include #include #include class OptionsWidget : public QWidget, public Ui::OptionsWidget { Q_OBJECT public: OptionsWidget(std::vector& _plugins, std::vector& _core, QWidget *parent = 0 ); signals: void applyOptions(); void saveOptions(); private slots: /// Hide widget, Update Options and tell others about changed Options void slotApply(); /// Only hide widget void slotCancel(); /// Checks for updates // void slotCheckUpdates(); protected: void showEvent ( QShowEvent * event ); private: //key-bindings std::vector& plugins_; std::vector& coreKeys_; }; #endif //OPTIONSWIDGET_HH