VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
vrfOverlayTreeView.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2002 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: vrfOverlayTreeView.h,v $ $Revision: 1.4 $ $State: Exp $
7 *******************************************************************************/
8 
9 #pragma once
13 #include <QtWidgets/QTreeWidget>
14 #include <QtCore/QStringList>
15 
16 namespace makVrf
17 {
19  {
20  Q_OBJECT
21 
22  public:
24  DtVrfOverlayTreeView( makVrv::DtDe& de, QWidget* parent = 0 );
25 
27  virtual ~DtVrfOverlayTreeView();
28 
29  virtual std::string selectedOverlay() const;
30 
31  boost::signal<void (const QStringList& children, std::string overlay)> signal_itemMoved;
32 
33  protected:
34 
35  virtual QMimeData* mimeData(const QList<QTreeWidgetItem*> list) const;
36 
38  virtual bool canDropOnItem(QTreeWidgetItem*, const QStringList& globalIds, QDragMoveEvent* event) const;
39 
41  virtual void dropItems(const QStringList& globalIds, QTreeWidgetItem*);
42 
43  virtual bool isOverlay( QTreeWidgetItem* item ) const;
44 
47  virtual makVrv::DtUniqueID uniqueIDForListItem(QTreeWidgetItem* item) const;
48 
49  virtual void createRightClickMenu();
50 
51  signals:
52  void renameOverlay();
53 
54  protected slots:
55  virtual void showContextMenu(QTreeWidgetItem* item, QMouseEvent* e, int col);
56  virtual void onShowHideLayer();
57  virtual void onLockUnlockLayer();
58  virtual void onHideAllButThis();
59  virtual void onShowAllLayers();
60  virtual void onHideAllLayers();
61  virtual void onSaveOverlayAsShapeFiles();
62  virtual void onImportShapeFileOntoOverlay();
63  virtual void onChangeDefaultHidden();
64  virtual void onRenameOverlay();
65 
66  private:
69  DtVrfOverlayTreeView& operator=(const DtVrfOverlayTreeView& rhs);
70 
71  public:
82  };
83 }

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)