Menu

[r69]: / FragmentDBWindow.h  Maximize  Restore  History

Download this file

51 lines (37 with data), 1.2 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#pragma once
#include "OpenGLControl.h"
#include "afxwin.h"
// FragmentDBWindow – dialog
class FragmentDBWindow : public CDialog
{
DECLARE_DYNAMIC(FragmentDBWindow)
public:
FragmentDBWindow(CWnd* pParent = NULL); // standardní konstruktor
virtual ~FragmentDBWindow();
// Data dialogu
#ifdef AFX_DESIGN_TIME
enum { IDD = IDD_FRAGMENT_DB_DIALOG };
#endif
protected:
COpenGLControl openGLControl;
virtual void DoDataExchange(CDataExchange* pDX); // Podpora DDX/DDV
virtual BOOL OnInitDialog();
vector<FragmentDBStruct> m_fragment_db;
CString m_search_key;
DECLARE_MESSAGE_MAP()
public:
afx_msg void OnBnClickedOk();
afx_msg void OnBnClickedCancel();
//afx_msg void OnMouseMove(UINT nFlags, CPoint point);
//afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
//afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
void readFragmentDB();
void refreshDBList(CString key);
void loadFromDB(CString name);
afx_msg void OnLbnSelchangeList1();
CListBox m_listBox;
afx_msg void OnEnChangeEditSearchDb();
CEdit m_selected_name;
CEdit m_shelx_restr;
CEdit m_atom_list;
};