File indexing completed on 2024-05-19 05:35:22
0001 #ifndef oxygenanimationconfigwidget_h 0002 #define oxygenanimationconfigwidget_h 0003 0004 ////////////////////////////////////////////////////////////////////////////// 0005 // oxygenanimationconfigwidget.h 0006 // animation configuration item 0007 // ------------------- 0008 // 0009 // SPDX-FileCopyrightText: 2010 Hugo Pereira Da Costa <hugo.pereira@free.fr> 0010 // 0011 // SPDX-License-Identifier: MIT 0012 ////////////////////////////////////////////////////////////////////////////// 0013 0014 #include "oxygenbaseanimationconfigwidget.h" 0015 0016 namespace Oxygen 0017 { 0018 class GenericAnimationConfigItem; 0019 class FollowMouseAnimationConfigItem; 0020 0021 class AnimationConfigWidget : public BaseAnimationConfigWidget 0022 { 0023 Q_OBJECT 0024 0025 public: 0026 //* constructor 0027 explicit AnimationConfigWidget(QWidget * = nullptr); 0028 0029 public Q_SLOTS: 0030 0031 //* read current configuration 0032 void load(void) override; 0033 0034 //* save current configuration 0035 void save(void) override; 0036 0037 protected Q_SLOTS: 0038 0039 //* check whether configuration is changed and emit appropriate signal if yes 0040 void updateChanged() override; 0041 0042 private: 0043 GenericAnimationConfigItem *_genericAnimations = nullptr; 0044 GenericAnimationConfigItem *_progressBarAnimations = nullptr; 0045 GenericAnimationConfigItem *_progressBarBusyAnimations = nullptr; 0046 GenericAnimationConfigItem *_stackedWidgetAnimations = nullptr; 0047 GenericAnimationConfigItem *_labelAnimations = nullptr; 0048 GenericAnimationConfigItem *_lineEditAnimations = nullptr; 0049 GenericAnimationConfigItem *_comboBoxAnimations = nullptr; 0050 FollowMouseAnimationConfigItem *_toolBarAnimations = nullptr; 0051 FollowMouseAnimationConfigItem *_menuBarAnimations = nullptr; 0052 FollowMouseAnimationConfigItem *_menuAnimations = nullptr; 0053 }; 0054 } 0055 0056 #endif