VR-Forces 4.0.4 Class Documentation
include/vrvCoreQt/DtObserverModePersistenceWidget.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 2008 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 /******************************************************************************
00006 ** $RCSfile: DtObserverModePersistenceWidget.h,v $ $Revision: 1.12 $ $State: Exp $
00007 ******************************************************************************/
00008 
00014 
00015 #pragma once 
00016 
00017 #include <vrvCoreQt/vrvCoreQt.h>
00018 #include <vrvCoreQt/DtPersistenceToolbarWidget.h>
00019 #include <QtGui/QWidget>
00020 #include <QtGui/QDialog>
00021 
00022 class QButtonGroup;
00023 class QPushButton;
00024 
00025 namespace makVrv
00026 {
00030    class DT_DLL_VRVCOREQT DtObserverModePersistenceWidget 
00031       : public DtPersistenceToolbarWidget
00032    {
00033    Q_OBJECT
00034 
00035    public:
00037       DtObserverModePersistenceWidget(DtDe& de, QWidget* parent = 0, Qt::WindowFlags f = 0);
00038 
00040       virtual ~DtObserverModePersistenceWidget();
00041 
00042       virtual void restoreSelected( bool fromFactory );
00043       virtual void restoreAll( bool fromFactory );
00044       
00045    protected:
00046       virtual void on_myRestoreButton_clicked();
00047       virtual void on_myRestoreFactoryButton_clicked();
00048 
00049    };
00050 
00053    class DT_DLL_VRVCOREQT DtRestoreTypeDialog : public QDialog
00054    {
00055       Q_OBJECT
00056 
00057    public:
00058       DtRestoreTypeDialog(bool fromFactory, QWidget* parent = 0, 
00059          Qt::WindowFlags f = Qt::Tool);
00060       virtual ~DtRestoreTypeDialog();
00061 
00062       void setupGui();
00063 
00064    protected:
00065       virtual void accept();
00066 
00067    protected:
00068       QButtonGroup* myRestoreTypeButtons;
00069       bool myRestoreFromFactory;
00070 
00071    };
00072 }
00073 
00074 

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)