• Main Page
  • Modules
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

C:/Users/David/Documents/QtProjects/visualsc/scformview/customtreewidgetitem.h

Go to the documentation of this file.
00001 /*
00002     visualsc - Visual State Chart Editing for SCXML State Engines
00003     Copyright (C) 2011  David W. Drell (david@davidwdrell.net) and
00004     Contributing Authors:
00005 
00006 
00007     This program is free software: you can redistribute it and/or modify
00008     it under the terms of the GNU General Public License as published by
00009     the Free Software Foundation, either version 3 of the License, or
00010     (at your option) any later version.
00011 
00012     This program is distributed in the hope that it will be useful,
00013     but WITHOUT ANY WARRANTY; without even the implied warranty of
00014     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015     GNU General Public License for more details.
00016 
00017     You should have received a copy of the GNU General Public License
00018     along with this program.  If not, see <http://www.gnu.org/licenses/>.
00019 */
00020 
00021 
00022 #ifndef CUSTOMTREEWIDGETITEM_H
00023 #define CUSTOMTREEWIDGETITEM_H
00024 
00025 #include <QTreeWidgetItem>
00026 class QObject;
00027 
00038 class CustomTreeWidgetItem : public QTreeWidgetItem
00039 {
00040 public:
00041     CustomTreeWidgetItem(CustomTreeWidgetItem * parent=NULL);
00042 
00043     void setData(QObject* d);
00044     QObject * data();
00045 
00046 
00047 private:
00048     QObject * _stateOrTransitionItem;
00049 
00050 };
00051 
00052 #endif // CUSTOMTREEWIDGETITEM_H

Generated on Mon Sep 26 2011 06:59:25 for visualsc by  doxygen 1.7.1