![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2010 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: disQtDictionary.h,v $ $Revision: 1.3 $ $State: Exp $ 00007 *******************************************************************************/ 00008 00011 00014 #pragma once 00015 00016 #include <vrfGuiCoreQt/vrfGuiCoreQt.h> 00017 00018 #include <vrfGuiCore/disDictionary.h> 00019 00020 class QProgressDialog; 00021 00022 namespace makVrf 00023 { 00024 class DT_DLL_VRFGUICOREQT DtQtDisDictionary : public DtDisDictionary 00025 { 00026 public: 00027 DtQtDisDictionary(); 00028 virtual ~DtQtDisDictionary(); 00029 00030 virtual void setShowProgress(bool); 00031 00032 bool showProgress() const 00033 { 00034 return (myProgressDialog != 0); 00035 } 00036 00037 virtual bool loadFromFile(const std::string& file); 00038 00039 protected: 00040 virtual void lineProcessed(int line); 00041 00042 protected: 00043 QProgressDialog* myProgressDialog; 00044 bool myShowProgress; 00045 int myNumLines; 00046 }; 00047 }