VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
markingTextSignalItemDelegate.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2020 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 #pragma once
7 
9 
10 #include <QtWidgets/QStyledItemDelegate>
11 
12 class QLineEdit;
13 
14 namespace makVrf
15 {
16  class DtObjectListViewItem;
17 
20  {
21  Q_OBJECT
22 
23  public:
26 
27  virtual QWidget* createEditor(QWidget *parent, const QStyleOptionViewItem &option,
28  const QModelIndex &index) const;
29 
30  protected:
31  virtual void editingItemDestroyed();
32  virtual void editingFinished(QLineEdit*);
33 
34  protected slots:
35  virtual void editingFinished();
36  virtual void cleanup();
37  virtual void textChanged(const QString&);
38 
39  signals:
40  void markingTextChanged(DtObjectListViewItem*, const QString&);
41 
42  protected:
45  mutable bool myNameChanged;
46  };
47 }
#define DT_DLL_VRFGUICOMMONQT
Definition: vrfGuiCommonQt.h:20
Delegate that will signal marking text change when item is edited.
Definition: markingTextSignalItemDelegate.h:19
makVrv::DtDe & myDe
Definition: markingTextSignalItemDelegate.h:43
DtObjectListViewItem * myCurrentlyEditing
Definition: markingTextSignalItemDelegate.h:44
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:72
bool myNameChanged
Definition: markingTextSignalItemDelegate.h:45
This tree widget item can be used in any tree that wants to display an icon next to the name of an ob...
Definition: objectListViewItem.h:55

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)