Pencil2D  ff90c0872e88be3bf81c548cd60f01983012ec49
Pencil2D is an animation software for both bitmap and vector graphics. It is free, multi-platform, and open source.
 All Classes Functions
displayoptionwidget.h
1 /*
2 
3 Pencil - Traditional Animation Software
4 Copyright (C) 2013-2017 Matt Chiawen Chang
5 
6 This program is free software; you can redistribute it and/or
7 modify it under the terms of the GNU General Public License
8 as published by the Free Software Foundation; version 2 of the License.
9 
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14 
15 */
16 
17 #ifndef DISPLAYOPTIONDOCKWIDGET_H
18 #define DISPLAYOPTIONDOCKWIDGET_H
19 
20 #include "basedockwidget.h"
21 
22 namespace Ui
23 {
24  class DisplayOption;
25 }
26 class Editor;
27 class QToolButton;
28 class ViewManager;
29 
31 {
32  Q_OBJECT
33 public:
34  explicit DisplayOptionWidget( QWidget* parent );
35  virtual ~DisplayOptionWidget();
36 
37  void initUI() override;
38  void updateUI() override;
39 
40  void makeConnectionToEditor(Editor* editor);
41 private:
42  void onionPrevButtonClicked( bool );
43  void onionNextButtonClicked( bool );
44  void onionBlueButtonClicked( bool );
45  void onionRedButtonClicked( bool );
46 
47  Ui::DisplayOption* ui = nullptr;
48 };
49 
50 #endif // DISPLAYOPTIONDOCKWIDGET_H
Definition: editor.h:45