nodebrowser.h
1 /***************************************************************************
2  Copyright (C) 2002-2015 Kentaro Kitagawa
3  kitagawa@phys.s.u-tokyo.ac.jp
4 
5  This program is free software; you can redistribute it and/or
6  modify it under the terms of the GNU Library General Public
7  License as published by the Free Software Foundation; either
8  version 2 of the License, or (at your option) any later version.
9 
10  You should have received a copy of the GNU Library General
11  Public License and a list of authors along with this program;
12  see the files COPYING and AUTHORS.
13  ***************************************************************************/
14 //---------------------------------------------------------------------------
15 
16 #ifndef nodebrowserH
17 #define nodebrowserH
18 //---------------------------------------------------------------------------
19 #include "xnodeconnector.h"
20 
21 class Ui_FrmNodeBrowser;
23 
24 class XNodeBrowser : public XQConnector {
25  Q_OBJECT
26 public:
28  const shared_ptr<XNode> &root, FrmNodeBrowser *form);
29  virtual ~XNodeBrowser();
30 private slots:
31  virtual void process();
32 private:
33  QTimer *m_pTimer;
34 
35  const weak_ptr<XNode> m_root;
36  FrmNodeBrowser *const m_pForm;
37 
38  shared_ptr<XNode> m_lastPointed;
39  const shared_ptr<XStringNode> m_desc;
40 
41  shared_ptr<XNode> connectedNode(QWidget *widget);
42 
43  const xqcon_ptr m_conDesc;
44  xqcon_ptr m_conValue;
45 };
46 
47 #endif

Generated for KAME4 by  doxygen 1.8.3