VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtLoaderSettingsWidget.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2025 MAK Technologies, Inc.
3  * All rights reserved.
4  *****************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvOsgQt/vrvOsgQt.h>
14 
16 
17 #include <QtWidgets/QWidget>
18 
19 class QCheckBox;
20 class QVBoxLayout;
21 class QLabel;
22 class QComboBox;
23 class QSlider;
24 class QGroupBox;
25 class QRadioButton;
26 class QSpinBox;
27 class QDoubleSpinBox;
28 class DtSliderSpinboxWidget;
29 
30 namespace makVrv
31 {
32 
36  : public QWidget, public DtLoaderSettingsInterface
37  {
38 
39  Q_OBJECT
40 
41  public:
42 
44  DtLoaderSettingsWidget( QWidget* parent, Qt::WindowFlags f = Qt::Widget );
45 
47  virtual ~DtLoaderSettingsWidget();
48 
50  virtual void setDdsFlip( bool state ) override;
51 
54  virtual void setIndirectBufferUpdateTimeBudget( int milliseconds ) override;
55 
58  virtual void setCdbParallelForThreadCount( int threadCount ) override;
59  protected slots:
60 
62  void on_ddsFlipCheckChanged( int state );
63  void on_indirectBufferUpdateTimeBudgetChanged( int milliseconds );
64  void on_cdbParallelForThreadCountChanged( int threads );
65  protected:
66 
69  void setupGui();
70 
71  protected:
72 
74  QVBoxLayout* myMainLayout;
75 
78  };
79 
80 }
Interface for loader settings gui.
Contains the definition for makVrv::DtSliderSpinboxWidget.
A widget for pairing a horizontal slider with a spinbox. The spin box must be clamped to a min and ma...
Definition: DtSliderSpinboxWidget.h:30
#define DT_DLL_VRVOSGQT
Definition: vrvOsgQt.h:22
Contains DLL export macros.
QCheckBox * myDdsFlipCheckbox
Definition: DtLoaderSettingsWidget.h:73
The interface between the logic and widget for loader settings.
Definition: DtLoaderSettingsInterface.h:18
QVBoxLayout * myMainLayout
Definition: DtLoaderSettingsWidget.h:74
Widget for modifing loader settings.
Definition: DtLoaderSettingsWidget.h:35
DtSliderSpinboxWidget * myCdbThreadSlider
Definition: DtLoaderSettingsWidget.h:77
DtSliderSpinboxWidget * myIndirectSlider
Definition: DtLoaderSettingsWidget.h:76

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)