2023-03-12 02:02:26 +00:00
|
|
|
/*##############################################################################
|
|
|
|
## Author: Shaun Reed ##
|
|
|
|
## Legal: All Content (c) 2023 Shaun Reed, all rights reserved ##
|
|
|
|
## About: Toolbox plugin for object details and options ##
|
|
|
|
## ##
|
|
|
|
## Contact: shaunrd0@gmail.com | URL: www.shaunreed.com | GitHub: shaunrd0 ##
|
|
|
|
################################################################################
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef TOOLBOX_H
|
|
|
|
#define TOOLBOX_H
|
|
|
|
|
|
|
|
#include <QDesignerExportWidget>
|
|
|
|
#include <QDockWidget>
|
2023-12-27 19:36:47 +00:00
|
|
|
#include <QDoubleSpinBox>
|
|
|
|
#include <QGroupBox>
|
|
|
|
|
|
|
|
|
|
|
|
#include "qtk/scene.h"
|
2023-03-12 02:02:26 +00:00
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class ToolBox;
|
|
|
|
}
|
|
|
|
|
|
|
|
namespace Qtk {
|
|
|
|
class ToolBox : public QDockWidget {
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
/*************************************************************************
|
|
|
|
* Contructors / Destructors
|
|
|
|
*************************************************************************/
|
|
|
|
|
|
|
|
explicit ToolBox(QWidget * parent = nullptr);
|
|
|
|
|
|
|
|
~ToolBox();
|
|
|
|
|
2023-12-27 19:36:47 +00:00
|
|
|
void removePages();
|
|
|
|
|
|
|
|
void createPageProperties(const Object * object);
|
|
|
|
|
|
|
|
void createPageShader(const Object * object);
|
|
|
|
|
|
|
|
void updateFocus(const QString & name);
|
|
|
|
|
|
|
|
|
2023-03-12 02:02:26 +00:00
|
|
|
private:
|
|
|
|
/*************************************************************************
|
|
|
|
* Private Members
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
Ui::ToolBox * ui;
|
|
|
|
};
|
|
|
|
} // namespace Qtk
|
|
|
|
|
|
|
|
#endif // TOOLBOX_H
|