OpendTect  6.3
uipluginsel.h
Go to the documentation of this file.
1 #pragma once
2 
3 /*+
4 ________________________________________________________________________
5 
6  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
7  Author: A.H. Bril
8  Date: Feb 2006
9 ________________________________________________________________________
10 
11 -*/
12 
13 #include "uitoolsmod.h"
14 #include "uidialog.h"
15 #include "uitreeview.h"
16 #include "plugins.h"
17 #include "bufstringset.h"
18 
19 class uiButton;
20 class uiCheckBox;
21 class uiTreeView;
22 struct PluginProduct;
23 struct PluginVendor;
24 class IOPar;
25 
26 
27 mExpClass(uiTools) uiPluginSel : public uiDialog
29 public:
31  ~uiPluginSel();
32 
33  int nrPlugins() const { return products_.size(); }
34 
35 
36  static const char* sKeyDoAtStartup();
37 
38 protected:
39 
40  void readPackageList();
41  void makeProductList(
43  void createUI();
44  int getProductIndex(const char* prodnm) const;
45  bool isVendorSelected(int) const;
46  int getVendorIndex(const char*) const;
47  void readVendorList();
48 
49  bool acceptOK();
50 
54 };
#define mExpClass(module)
Definition: commondefs.h:157
uiTreeView * treefld_
Definition: uipluginsel.h:53
int nrPlugins() const
Definition: uipluginsel.h:33
#define mODTextTranslationClass(clss)
Definition: uistring.h:37
Definition: uiparent.h:24
Definition: uidialog.h:40
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:53
Definition: uitreeview.h:29
ObjectSet< PluginVendor > vendors_
Definition: uipluginsel.h:52
ObjectSet< PluginProduct > products_
Definition: uipluginsel.h:51
Definition: uipluginsel.h:27
Definition: uibutton.h:130

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2017