Pencil2D Animation
Download Community News Docs Contribute
  • Overview
  • Articles
  • Code
  •  
  • Class List
  • Class Index
  • Class Hierarchy
  • Class Members
  • File List
Loading...
Searching...
No Matches
  • app
  • src
timelinepage.h
1/*
2
3Pencil2D - Traditional Animation Software
4Copyright (C) 2005-2007 Patrick Corrieri & Pascal Naidon
5Copyright (C) 2012-2020 Matthew Chiawen Chang
6
7This program is free software; you can redistribute it and/or
8modify it under the terms of the GNU General Public License
9as published by the Free Software Foundation; version 2 of the License.
10
11This program is distributed in the hope that it will be useful,
12but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14GNU General Public License for more details.
15
16*/
17
18#ifndef TIMELINEPAGE_H
19#define TIMELINEPAGE_H
20
21class PreferenceManager;
22
23namespace Ui {
24class TimelinePage;
25}
26
27class TimelinePage : public QWidget
28{
29Q_OBJECT
30public:
31 TimelinePage();
32 ~TimelinePage() override;
33
34 void setManager(PreferenceManager* p) { mManager = p; }
35
36public slots:
37 void updateValues();
38
39 void timelineLengthChanged(int);
40 void fontSizeChanged(int);
41 void scrubChanged(int);
42 void drawEmptyKeyRadioButtonToggled(bool);
43 void flipRollMsecSliderChanged(int value);
44 void flipRollMsecSpinboxChanged(int value);
45 void flipRollNumDrawingsSliderChanged(int value);
46 void flipRollNumDrawingsSpinboxChanged(int value);
47 void flipInbetweenMsecSliderChanged(int value);
48 void flipInbetweenMsecSpinboxChanged(int value);
49 void soundScrubActiveChanged(int i);
50 void soundScrubMsecSliderChanged(int value);
51 void soundScrubMsecSpinboxChanged(int value);
52 void layerVisibilityChanged(int);
53 void layerVisibilityThresholdChanged(int);
54
55signals:
56 void soundScrubChanged(bool b);
57 void soundScrubMsecChanged(int mSec);
58
59private:
60 Ui::TimelinePage* ui = nullptr;
61 PreferenceManager* mManager = nullptr;
62};
63
64#endif // TIMELINEPAGE_H
PreferenceManager
Definition: preferencemanager.h:28
TimelinePage
Definition: timelinepage.h:28
QObject::Q_OBJECT
Q_OBJECTQ_OBJECT
QWidget
Generated on Thu May 8 2025 04:47:53 for Pencil2D by doxygen 1.9.6 based on revision 4513250b1d5b1a3676ec0e67b06b7a885ceaae39