VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
vrfColorDialog.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2022 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
7 #pragma once
8 
10 #include <QtWidgets/QColorDialog>
11 
12 namespace makVrv
13 {
14  class DtDe;
15 }
16 
17 namespace makVrf
18 {
20  {
21  Q_OBJECT
22 
23  public:
24  DtVrfColorDialog(makVrv::DtDe& de, const QColor& color, QWidget* parent = nullptr);
25 
26  virtual ~DtVrfColorDialog() override;
27 
28  virtual QColor getColor(const QString& title, bool* ok,
29  QColorDialog::ColorDialogOptions options = ColorDialogOptions());
30 
32  virtual QColor getColor(int force, const QString& title, bool* ok,
33  QColorDialog::ColorDialogOptions options = ColorDialogOptions());
34 
35  protected slots:
36  virtual void resetToForceColor();
37  virtual void checkCurrentColor(const QColor& c);
38 
39  protected:
41  int myForceType = -1;
42  bool myResetToForce = false;
43  };
44 }
makVrv::DtDe & myDe
Definition: vrfColorDialog.h:40
Definition: vrfColorDialog.h:19
#define DT_DLL_VRFGUICOMMONQT
Definition: vrfGuiCommonQt.h:20
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.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)