Some checks failed
All Builds / Qtk (-DCMAKE_PREFIX_PATH=/home/runner/work/qtk/Qt/$QT_VERSION/gcc_64/ $CONFIG, -j $(nproc), ubuntu-latest) (push) Failing after 23s
All Builds / Qtk-Library (-DCMAKE_PREFIX_PATH=/home/runner/work/qtk/Qt/$QT_VERSION/gcc_64/ $CONFIG, -j $(nproc), ubuntu-latest) (push) Failing after 22s
All Builds / Qtk-Plugins (-DCMAKE_PREFIX_PATH=/home/runner/work/qtk/Qt/$QT_VERSION/gcc_64/ $CONFIG, -j $(nproc), ubuntu-latest) (push) Failing after 20s
All Builds / Qtk-Assimp-Targets (-DCMAKE_PREFIX_PATH=/home/runner/work/qtk/Qt/$QT_VERSION/gcc_64/, ubuntu-latest) (push) Failing after 18s
Linting / Tidy (push) Failing after 24s
Linting / Format (app) (push) Failing after 23s
Linting / Format (src) (push) Failing after 23s
All Builds / Qtk (-DCMAKE_PREFIX_PATH=/home/runner/work/qtk/Qt/$QT_VERSION/gcc_64/ $CONFIG, -j $(nproc), macos-latest) (push) Has been cancelled
All Builds / Qtk (-DCMAKE_PREFIX_PATH=D:/a/qtk/qtk/Qt/$QT_VERSION/mingw81_64/ $CONFIG, , windows-latest) (push) Has been cancelled
All Builds / Qtk-Library (-DCMAKE_PREFIX_PATH=/home/runner/work/qtk/Qt/$QT_VERSION/gcc_64/ $CONFIG, -j $(nproc), macos-latest) (push) Has been cancelled
All Builds / Qtk-Library (-DCMAKE_PREFIX_PATH=D:/a/qtk/qtk/Qt/$QT_VERSION/mingw81_64/ $CONFIG, , windows-latest) (push) Has been cancelled
All Builds / Qtk-Plugins (-DCMAKE_PREFIX_PATH=/home/runner/work/qtk/Qt/$QT_VERSION/gcc_64/ $CONFIG, -j $(nproc), macos-latest) (push) Has been cancelled
All Builds / Qtk-Plugins (-DCMAKE_PREFIX_PATH=D:/a/qtk/qtk/Qt/$QT_VERSION/mingw81_64/ $CONFIG, , windows-latest) (push) Has been cancelled
All Builds / Qtk-Assimp-Targets (-DCMAKE_PREFIX_PATH=/home/runner/work/qtk/Qt/$QT_VERSION/gcc_64/, macos-latest) (push) Has been cancelled
60 lines
1.5 KiB
C++
60 lines
1.5 KiB
C++
/*##############################################################################
|
|
## 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>
|
|
#include <QDoubleSpinBox>
|
|
#include <QGroupBox>
|
|
|
|
|
|
#include "qtk/scene.h"
|
|
|
|
namespace Ui
|
|
{
|
|
class ToolBox;
|
|
}
|
|
|
|
namespace Qtk
|
|
{
|
|
class ToolBox : public QDockWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
/*************************************************************************
|
|
* Contructors / Destructors
|
|
*************************************************************************/
|
|
|
|
explicit ToolBox(QWidget * parent = nullptr);
|
|
|
|
~ToolBox();
|
|
|
|
void removePages();
|
|
|
|
void createPageProperties(const Object * object);
|
|
|
|
void createPageShader(const Object * object);
|
|
|
|
void updateFocus(const QString & name);
|
|
|
|
|
|
private:
|
|
/*************************************************************************
|
|
* Private Members
|
|
************************************************************************/
|
|
|
|
Ui::ToolBox * ui;
|
|
};
|
|
} // namespace Qtk
|
|
|
|
#endif // TOOLBOX_H
|