#pragma once #include "cafPdmUiFieldLabelEditorHandle.h" #include #include #include #include namespace caf { class PdmUiCheckBoxTristateEditor : public PdmUiFieldLabelEditorHandle { Q_OBJECT CAF_PDM_UI_FIELD_EDITOR_HEADER_INIT; public: PdmUiCheckBoxTristateEditor() {} ~PdmUiCheckBoxTristateEditor() override {} protected: QWidget* createEditorWidget( QWidget* parent ) override; void configureAndUpdateUi( const QString& uiConfigName ) override; protected slots: void slotClicked( bool ); private: QPointer m_checkBox; }; } // end namespace caf