00001 // -*- Mode: C++; tab-width: 2; -*- 00002 // vi: set ts=2: 00003 // 00004 00005 #ifndef BALL_VIEW_DIALOGS_OPENBRUKER2DFILE_H 00006 #define BALL_VIEW_DIALOGS_OPENBRUKER2DFILE_H 00007 00008 #ifndef BALL_COMMON_GLOBAL_H 00009 # include <BALL/COMMON/global.h> 00010 #endif 00011 00012 #ifndef BALL_COMMON_H 00013 # include <BALL/common.h> 00014 #endif 00015 00016 #ifndef BALL_VIEW_WIDGETS_REGULARDATA2DWIDGET_H 00017 # include <BALL/VIEW/WIDGETS/regularData2DWidget.h> 00018 #endif 00019 00020 #ifndef BALL_FORMAT_BRUKER2DFILE_H 00021 # include <BALL/FORMAT/bruker2DFile.h> 00022 #endif 00023 00024 #include <QtGui/QWidget> 00025 00026 namespace BALL 00027 { 00028 namespace VIEW 00029 { 00033 class BALL_VIEW_EXPORT OpenBruker2DFile 00034 : public QWidget, 00035 public ModularWidget 00036 { 00037 Q_OBJECT 00038 BALL_EMBEDDABLE(OpenBruker2DFile, ModularWidget) 00039 public: 00040 00044 00045 OpenBruker2DFile(QWidget *parent = 0, const char *name = 0); 00046 00048 virtual ~OpenBruker2DFile(); 00050 00057 virtual void initializeWidget(MainControl& main_control); 00058 00059 public slots: 00060 00063 virtual void openFile(); 00064 00065 }; 00066 } 00067 } 00068 00069 #endif