VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DerivedDialogWidget.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2012 MAK Technologies, Inc.
3  * All rights reserved.
4  *****************************************************************************/
5 
9 
10 #pragma once
11 
13 
14 #include "ExtraDialogInterface.h"
15 
16 #include <QtWidgets/QWidget> // Include Qt headers last due to boost-signals.
17 #include <QtWidgets/QLineEdit>
18 
19 
33  , public ExtraDialogInterface
34 {
35  Q_OBJECT
36 
37 public:
38 
40  DerivedDialogWidget(QWidget* parent=0, Qt::WindowFlags f=Qt::Widget);
41 
43  virtual ~DerivedDialogWidget();
44 
46  virtual void setFlipDdsEnabled(bool enabled);
47 
48 protected slots:
49 
54  virtual void on_enableFlagChanged(int state);
55 
56 protected:
57 
60 };
virtual void on_enableFlagChanged(int state)
Converts a Qt signal into a boost-signal. This slot is connected to the Qt signal of the new QCheckBo...
Interface for extending the widget. This class defines the implementation-agnostic interface for the ...
Definition: ExtraDialogInterface.h:23
Contains the DtLoaderSettingsWidget class declaration.
virtual void setFlipDdsEnabled(bool enabled)
Enables/disables the Flip DDS checkbox in the base class.
DerivedDialogWidget(QWidget *parent=0, Qt::WindowFlags f=Qt::Widget)
CTOR.
Contains the declaration for the ExtraDialogInterface class.
The main widget for the dialog-page. This class does not contain any application logic, but instead delegates the logic to another object (a logic-object) through signals emitted via the interface of this class. The interface allows the widget or logic to be independently re-factored without affecting the other. This widget extends the existing makVrv::DtLoaderSettingsWidget by adding a new checkbox which (when checked/unchecked) enables/disables the Flip DDS checkbox already existing in the base class.
Definition: DerivedDialogWidget.h:31
Widget for modifing loader settings.
Definition: DtLoaderSettingsWidget.h:31
QCheckBox * myEnableFlagCheckbox
The new checkbox that extends the base class widget.
Definition: DerivedDialogWidget.h:59
virtual ~DerivedDialogWidget()
DTOR.

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)