Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F94230952
systempanel.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Wed, Dec 4, 23:14
Size
1 KB
Mime Type
text/x-c++
Expires
Fri, Dec 6, 23:14 (1 d, 17 h)
Engine
blob
Format
Raw Data
Handle
22738487
Attached To
rSYMKIT symkit
systempanel.h
View Options
#ifndef SYSTEMPANEL_H
#define SYSTEMPANEL_H
#include "actorpanel.h"
#include <list>
#include <memory>
class SymSystem;
class SystemPanel;
class QVBoxLayout;
class QSplitter;
class QTabWidget;
class VectorEdit;
/* System panel declaration */
class SystemPanel : public ActorPanel
{
Q_OBJECT
SymSystem * system;
std::list<SKViewerPanel*> nestedPanels;
QVBoxLayout * centerLayout;
/* Splitter between screen and values, vertical */
QSplitter * screenSplitter;
QTabWidget * actorScreen;
QWidget * valuesWidget;
/* Splitter between offset and dedicated, horizontal */
QSplitter * valueSplitter;
QVBoxLayout * centerValues;
VectorEdit * offsetEdit;
QWidget * dedicated;
private slots:
void offsetChange(std::size_t, double);
protected:
virtual void updatePlugin() {}
public:
SystemPanel(SymSystem*, QWidget* parent = 0);
~SystemPanel();
void setSystem(SymSystem*);
SymSystem * getSystem();
const SymSystem * getSystem() const;
/* Screen panel modifiers */
void pushToScreen(SKViewerPanel*);
void clear();
virtual QWidget * getDedicated() override;
/* Override update */
virtual void updatePanel() override;
};
#endif // SYSTEMPANEL_H
Event Timeline
Log In to Comment