From 78359c2b7bae49b0b592c914a68b683fe0e6760e Mon Sep 17 00:00:00 2001
From: George Shapovalov
Date: Fri, 6 Dec 2002 19:53:36 +0000
Subject: completing broken commit
---
app-sci/vstgl/files/digest-vstgl-0.6.1 | 1 +
app-sci/vstgl/files/vstgl-0.6.1-qt3-gcc32.patch | 10301 ++++++++++++++++++++++
2 files changed, 10302 insertions(+)
create mode 100644 app-sci/vstgl/files/digest-vstgl-0.6.1
create mode 100644 app-sci/vstgl/files/vstgl-0.6.1-qt3-gcc32.patch
(limited to 'app-sci/vstgl')
diff --git a/app-sci/vstgl/files/digest-vstgl-0.6.1 b/app-sci/vstgl/files/digest-vstgl-0.6.1
new file mode 100644
index 000000000000..47672c0b0069
--- /dev/null
+++ b/app-sci/vstgl/files/digest-vstgl-0.6.1
@@ -0,0 +1 @@
+MD5 5d3e6adb1c1ea6853c5fa9a1699e307b vstgl-0.6.1.tar.gz 503218
diff --git a/app-sci/vstgl/files/vstgl-0.6.1-qt3-gcc32.patch b/app-sci/vstgl/files/vstgl-0.6.1-qt3-gcc32.patch
new file mode 100644
index 000000000000..3745a954d050
--- /dev/null
+++ b/app-sci/vstgl/files/vstgl-0.6.1-qt3-gcc32.patch
@@ -0,0 +1,10301 @@
+Only in vstgl-0.6.1: #CHObject.h#
+diff -u -r -c vstgl-0.6.1.orig/CAboutBox.h vstgl-0.6.1/CAboutBox.h
+*** vstgl-0.6.1.orig/CAboutBox.h Sat Mar 31 22:09:48 2001
+--- vstgl-0.6.1/CAboutBox.h Wed Sep 25 19:20:28 2002
+***************
+*** 53,56 ****
+ */
+ CAboutBox( QWidget *parent, QString name );
+
+! };
+\ No newline at end of file
+--- 53,56 ----
+ */
+ CAboutBox( QWidget *parent, QString name );
+
+! };
+diff -u -r -c vstgl-0.6.1.orig/CDoc.cpp vstgl-0.6.1/CDoc.cpp
+*** vstgl-0.6.1.orig/CDoc.cpp Sat Mar 31 22:09:48 2001
+--- vstgl-0.6.1/CDoc.cpp Wed Sep 25 19:14:50 2002
+***************
+*** 42,47 ****
+--- 42,49 ----
+
+ #include "Pixmaps/link.xbm"
+ #include "Pixmaps/linkmask.xbm"
++ #include
++ using namespace std;
+
+ extern CSettings Settings;
+
+***************
+*** 2075,2094 ****
+ //QFileDialog *dlg = new QFileDialog( this, "eps dialog", true );
+ QFileDialog *dlg = new QFileDialog( ".", "Encapsulated PostScript (*.eps)",
+ this, "eps dialog", true );
+ dlg->setCaption( "EPS Writer" );
+ QString str = m_doc_name.left( m_doc_name.length()-3 );
+ str = str.append( "eps" );
+ //QString fileName = dlg.getSaveFileName( str, "*.eps", this, "EPS" );
+ dlg->setSelection( str );
+ dlg->setFilter( "Encapsulated PostScript (*.eps)" );
+! if( !dlg->exec() )
+ return;
+!
+ QString fileName = dlg->selectedFile();
+
+ if( fileName.isEmpty() )
+ return;
+!
+ QFile f( d.filePath(fileName) );
+ if ( f.open(IO_WriteOnly) ) { // file opened successfully
+ QTextStream t( &f ); // use a text stream
+--- 2077,2097 ----
+ //QFileDialog *dlg = new QFileDialog( this, "eps dialog", true );
+ QFileDialog *dlg = new QFileDialog( ".", "Encapsulated PostScript (*.eps)",
+ this, "eps dialog", true );
++ dlg->setMode(QFileDialog::AnyFile);
+ dlg->setCaption( "EPS Writer" );
+ QString str = m_doc_name.left( m_doc_name.length()-3 );
+ str = str.append( "eps" );
+ //QString fileName = dlg.getSaveFileName( str, "*.eps", this, "EPS" );
+ dlg->setSelection( str );
+ dlg->setFilter( "Encapsulated PostScript (*.eps)" );
+! if( dlg->exec()!= QDialog::Accepted )
+ return;
+! //cout<<"dialog finished\n";
+ QString fileName = dlg->selectedFile();
+
+ if( fileName.isEmpty() )
+ return;
+! //cout<<"got fname "<
+ #include
+ #include
+ #include
+ #include
+!
+
+
+ //
+--- 12,24 ----
+ //
+ //////////////////////////////////////////////////////////////////////////////////
+ #include "CDoc.h"
+! #include
+ #include
+ #include
+ #include
+ #include
+! #include
+! using namespace std;
+
+
+ //
+Only in vstgl-0.6.1: CDoc_file.cpp.bak
+diff -u -r -c vstgl-0.6.1.orig/CHObject.h vstgl-0.6.1/CHObject.h
+*** vstgl-0.6.1.orig/CHObject.h Sat Mar 31 22:09:48 2001
+--- vstgl-0.6.1/CHObject.h Wed Sep 25 17:26:50 2002
+***************
+*** 25,33 ****
+ */
+
+
+! class CHObject/* : public QWidget*/
+ {
+! Q_OBJECT
+
+ private:
+ // Dummy member variable
+--- 25,33 ----
+ */
+
+
+! class CHObject /*: public QObject*/
+ {
+! //Q_OBJECT
+
+ private:
+ // Dummy member variable
+diff -u -r -c vstgl-0.6.1.orig/CHProp.cpp vstgl-0.6.1/CHProp.cpp
+*** vstgl-0.6.1.orig/CHProp.cpp Sat Mar 31 22:09:48 2001
+--- vstgl-0.6.1/CHProp.cpp Wed Sep 25 19:21:34 2002
+***************
+*** 27,33 ****
+ *
+ ****************************************************************************/
+ #include "CHProp.h"
+!
+
+ CHProp::CHProp( QWidget *parent, const char *name, CDoc *pDoc )
+ : QDialog( parent, name, true )
+--- 27,34 ----
+ *
+ ****************************************************************************/
+ #include "CHProp.h"
+! #include "iostream"
+! using namespace std;
+
+ CHProp::CHProp( QWidget *parent, const char *name, CDoc *pDoc )
+ : QDialog( parent, name, true )
+diff -u -r -c vstgl-0.6.1.orig/CMainApp.cpp vstgl-0.6.1/CMainApp.cpp
+*** vstgl-0.6.1.orig/CMainApp.cpp Sat Mar 31 22:09:48 2001
+--- vstgl-0.6.1/CMainApp.cpp Wed Sep 25 19:20:21 2002
+***************
+*** 697,700 ****
+ void CMainApp::StylePlatinum() {
+
+ qApp->setStyle( new QPlatinumStyle );
+! }
+\ No newline at end of file
+--- 697,700 ----
+ void CMainApp::StylePlatinum() {
+
+ qApp->setStyle( new QPlatinumStyle );
+! }
+diff -u -r -c vstgl-0.6.1.orig/CNet.cpp vstgl-0.6.1/CNet.cpp
+*** vstgl-0.6.1.orig/CNet.cpp Sat Mar 31 22:09:48 2001
+--- vstgl-0.6.1/CNet.cpp Wed Sep 25 19:22:57 2002
+***************
+*** 1,5 ****
+ #include // strcpy(), strcmp().
+! #include
+ #include
+ #include "Simulation.h"
+ #include "CPlace.h"
+--- 1,5 ----
+ #include // strcpy(), strcmp().
+! #include
+ #include
+ #include "Simulation.h"
+ #include "CPlace.h"
+***************
+*** 192,198 ****
+ #ifdef _DEBUG
+ cout << ">> Net Builder connects "
+ << A->GetName() << " to: " << B->GetName() << endl;
+! #endif;
+ }
+ }
+
+--- 192,198 ----
+ #ifdef _DEBUG
+ cout << ">> Net Builder connects "
+ << A->GetName() << " to: " << B->GetName() << endl;
+! #endif
+ }
+ }
+
+***************
+*** 265,271 ****
+ #ifdef _DEBUG
+ cout << ">> The Net consist of : " << m_components.GetCount()
+ << " komponenter" << endl;
+! #endif;
+
+ int i = 0;
+
+--- 265,271 ----
+ #ifdef _DEBUG
+ cout << ">> The Net consist of : " << m_components.GetCount()
+ << " komponenter" << endl;
+! #endif
+
+ int i = 0;
+
+***************
+*** 273,279 ****
+ m_ptr = GetCompFromIndex(i);
+ #ifdef _DEBUG
+ cout << ">> " << i << " : " << m_ptr->GetName() << endl;
+! #endif;
+ i++;
+ }
+ }
+--- 273,279 ----
+ m_ptr = GetCompFromIndex(i);
+ #ifdef _DEBUG
+ cout << ">> " << i << " : " << m_ptr->GetName() << endl;
+! #endif
+ i++;
+ }
+ }
+***************
+*** 327,333 ****
+
+ #ifdef _DEBUG
+ cout << ">> Fire network: " << endl;
+! #endif;
+
+ m_last_fired.RemoveAll();
+
+--- 327,333 ----
+
+ #ifdef _DEBUG
+ cout << ">> Fire network: " << endl;
+! #endif
+
+ m_last_fired.RemoveAll();
+
+***************
+*** 353,359 ****
+ else {
+ #ifdef _DEBUG
+ cout << ">> DEAD-LOCK detected!" << endl;
+! #endif;
+ }
+
+ return &m_last_fired;
+--- 353,359 ----
+ else {
+ #ifdef _DEBUG
+ cout << ">> DEAD-LOCK detected!" << endl;
+! #endif
+ }
+
+ return &m_last_fired;
+***************
+*** 367,373 ****
+
+ #ifdef _DEBUG
+ cout << ">> Fire network in Parallel: " << endl;
+! #endif;
+
+ m_last_fired.RemoveAll();
+
+--- 367,373 ----
+
+ #ifdef _DEBUG
+ cout << ">> Fire network in Parallel: " << endl;
+! #endif
+
+ m_last_fired.RemoveAll();
+
+diff -u -r -c vstgl-0.6.1.orig/CPrefs.cpp vstgl-0.6.1/CPrefs.cpp
+*** vstgl-0.6.1.orig/CPrefs.cpp Sat Mar 31 22:09:48 2001
+--- vstgl-0.6.1/CPrefs.cpp Wed Sep 25 16:32:22 2002
+***************
+*** 45,60 ****
+ tab->setShape ( QTabBar::RoundedAbove );
+
+ t1 = new QTab;
+! t1->label = QString( "EPS Writer" );
+ tab->addTab( t1 );
+
+ t2 = new QTab;
+! t2->label = QString( "Editor" );
+ tab->addTab( t2 );
+
+ /*
+ t3 = new QTab;
+! t3->label = QString( "Misc" );
+ tab->addTab( t3 );
+ */
+
+--- 45,60 ----
+ tab->setShape ( QTabBar::RoundedAbove );
+
+ t1 = new QTab;
+! t1->setText(QString( "EPS Writer" ));
+ tab->addTab( t1 );
+
+ t2 = new QTab;
+! t2->setText(QString( "Editor" ));
+ tab->addTab( t2 );
+
+ /*
+ t3 = new QTab;
+! t3->setText(QString( "Misc" ));
+ tab->addTab( t3 );
+ */
+
+***************
+*** 101,104 ****
+ prop2->SetSettings();
+
+ done( Accepted );
+! }
+\ No newline at end of file
+--- 101,104 ----
+ prop2->SetSettings();
+
+ done( Accepted );
+! }
+diff -u -r -c vstgl-0.6.1.orig/CSSignal.cpp vstgl-0.6.1/CSSignal.cpp
+*** vstgl-0.6.1.orig/CSSignal.cpp Sat Mar 31 22:09:48 2001
+--- vstgl-0.6.1/CSSignal.cpp Wed Sep 25 19:23:03 2002
+***************
+*** 117,120 ****
+ m_signal_value = UNKNOWN;
+ return false;
+ }
+! }
+\ No newline at end of file
+--- 117,120 ----
+ m_signal_value = UNKNOWN;
+ return false;
+ }
+! }
+diff -u -r -c vstgl-0.6.1.orig/CSet2.cpp vstgl-0.6.1/CSet2.cpp
+*** vstgl-0.6.1.orig/CSet2.cpp Sat Mar 31 22:09:48 2001
+--- vstgl-0.6.1/CSet2.cpp Wed Sep 25 19:24:11 2002
+***************
+*** 60,63 ****
+ Settings.SetPopTransDlg( m_PopTransDlg->isChecked() );
+ Settings.SetGuiStyle( m_guiStyleBox->currentItem() );
+
+! }
+\ No newline at end of file
+--- 60,63 ----
+ Settings.SetPopTransDlg( m_PopTransDlg->isChecked() );
+ Settings.SetGuiStyle( m_guiStyleBox->currentItem() );
+
+! }
+diff -u -r -c vstgl-0.6.1.orig/CSet2.h vstgl-0.6.1/CSet2.h
+*** vstgl-0.6.1.orig/CSet2.h Sat Mar 31 22:09:48 2001
+--- vstgl-0.6.1/CSet2.h Wed Sep 25 16:31:16 2002
+***************
+*** 6,12 ****
+ #include
+ #include
+ #include
+!
+
+ /*!
+ \class CSet2 CSet2.h
+--- 6,12 ----
+ #include
+ #include
+ #include
+! #include
+
+ /*!
+ \class CSet2 CSet2.h
+diff -u -r -c vstgl-0.6.1.orig/CSettings.cpp vstgl-0.6.1/CSettings.cpp
+*** vstgl-0.6.1.orig/CSettings.cpp Sat Mar 31 22:09:48 2001
+--- vstgl-0.6.1/CSettings.cpp Wed Sep 25 19:23:53 2002
+***************
+*** 19,25 ****
+ #include
+
+ #include
+! #include
+
+
+
+--- 19,25 ----
+ #include
+
+ #include
+! #include
+
+
+
+***************
+*** 28,37 ****
+ // Set default values
+
+ m_nb_recent_files = 0;
+! m_recent1 = NULL;
+! m_recent2 = NULL;
+! m_recent3 = NULL;
+! m_recent4 = NULL;
+
+ //////// Window size and position ///////
+ m_last_pos = QPoint( 20, 20 );
+--- 28,37 ----
+ // Set default values
+
+ m_nb_recent_files = 0;
+! m_recent1 = (char*)NULL;
+! m_recent2 = (char*)NULL;
+! m_recent3 = (char*)NULL;
+! m_recent4 = (char*)NULL;
+
+ //////// Window size and position ///////
+ m_last_pos = QPoint( 20, 20 );
+***************
+*** 63,69 ****
+ m_gui_style = STYLE_CDE;
+
+ // Yikes, hard-wired path!
+! m_help_path = QString( "/usr/doc/vstgl-0.6.0/Help" );
+ }
+
+
+--- 63,69 ----
+ m_gui_style = STYLE_CDE;
+
+ // Yikes, hard-wired path!
+! m_help_path = QString( "/usr/share/doc/vstgl-0.6.1/Help" );
+ }
+
+
+***************
+*** 159,165 ****
+ rewrite_rc = true;
+ //cout << "Ver. " << word << endl;
+ }
+! word = NULL;
+ }
+
+ // Position
+--- 159,165 ----
+ rewrite_rc = true;
+ //cout << "Ver. " << word << endl;
+ }
+! word = (char*)NULL;
+ }
+
+ // Position
+***************
+*** 171,177 ****
+ p.setY( word.toInt() );
+ SetPos( p );
+ //cout << "Pos: " << p.x() << "," << p.y() << endl;
+! word = NULL;
+ }
+
+ // Size
+--- 171,177 ----
+ p.setY( word.toInt() );
+ SetPos( p );
+ //cout << "Pos: " << p.x() << "," << p.y() << endl;
+! word = (char*)NULL;
+ }
+
+ // Size
+***************
+*** 183,214 ****
+ sz.setHeight( word.toInt() );
+ SetSize( sz );
+ //cout << "Size: " << sz.width() << "," << sz.height() << endl;
+! word = NULL;
+ }
+
+ // Recently opened files
+ if( word == QString("recent1") ) {
+ GetNextWord( s, word );
+ SetRecent1( word );
+! word = NULL;
+ }
+
+ if( word == QString("recent2") ) {
+ GetNextWord( s, word );
+ SetRecent2( word );
+! word = NULL;
+ }
+
+ if( word == QString("recent3") ) {
+ GetNextWord( s, word );
+ SetRecent3( word );
+! word = NULL;
+ }
+
+ if( word == QString("recent4") ) {
+ GetNextWord( s, word );
+ SetRecent4( word );
+! word = NULL;
+ }
+
+
+--- 183,214 ----
+ sz.setHeight( word.toInt() );
+ SetSize( sz );
+ //cout << "Size: " << sz.width() << "," << sz.height() << endl;
+! word = (char*)NULL;
+ }
+
+ // Recently opened files
+ if( word == QString("recent1") ) {
+ GetNextWord( s, word );
+ SetRecent1( word );
+! word = (char*)NULL;
+ }
+
+ if( word == QString("recent2") ) {
+ GetNextWord( s, word );
+ SetRecent2( word );
+! word = (char*)NULL;
+ }
+
+ if( word == QString("recent3") ) {
+ GetNextWord( s, word );
+ SetRecent3( word );
+! word = (char*)NULL;
+ }
+
+ if( word == QString("recent4") ) {
+ GetNextWord( s, word );
+ SetRecent4( word );
+! word = (char*)NULL;
+ }
+
+
+***************
+*** 217,264 ****
+ GetNextWord( s, word );
+ int b = word.toInt();
+ m_use_eps_margin = (bool)b;
+! word = NULL;
+ }
+
+ if( word == QString("eps_margin") ) {
+ GetNextWord( s, word );
+ float b = word.toFloat();
+ m_eps_margin = b;
+! word = NULL;
+ }
+
+ if( word == QString("eps_line_width") ) {
+ GetNextWord( s, word );
+ float b = word.toFloat();
+ m_eps_line_width = b;
+! word = NULL;
+ }
+
+ if( word == QString("eps_border") ) {
+ GetNextWord( s, word );
+ int b = word.toInt();
+ m_eps_border = (bool)b;
+! word = NULL;
+ }
+
+ if( word == QString("pop_trans_dlg") ) {
+ GetNextWord( s, word );
+ int b = word.toInt();
+ m_pop_trans_dlg = (bool)b;
+! word = NULL;
+ }
+
+ if( word == QString("gui_style") ) {
+ GetNextWord( s, word );
+ int b = word.toInt();
+ m_gui_style = b;
+! word = NULL;
+ }
+
+ if( word == QString("help_path") ) {
+ GetNextWord( s, word );
+ m_help_path = word;
+! word = NULL;
+ }
+
+
+--- 217,264 ----
+ GetNextWord( s, word );
+ int b = word.toInt();
+ m_use_eps_margin = (bool)b;
+! word = (char*)NULL;
+ }
+
+ if( word == QString("eps_margin") ) {
+ GetNextWord( s, word );
+ float b = word.toFloat();
+ m_eps_margin = b;
+! word = (char*)NULL;
+ }
+
+ if( word == QString("eps_line_width") ) {
+ GetNextWord( s, word );
+ float b = word.toFloat();
+ m_eps_line_width = b;
+! word = (char*)NULL;
+ }
+
+ if( word == QString("eps_border") ) {
+ GetNextWord( s, word );
+ int b = word.toInt();
+ m_eps_border = (bool)b;
+! word = (char*)NULL;
+ }
+
+ if( word == QString("pop_trans_dlg") ) {
+ GetNextWord( s, word );
+ int b = word.toInt();
+ m_pop_trans_dlg = (bool)b;
+! word = (char*)NULL;
+ }
+
+ if( word == QString("gui_style") ) {
+ GetNextWord( s, word );
+ int b = word.toInt();
+ m_gui_style = b;
+! word = (char*)NULL;
+ }
+
+ if( word == QString("help_path") ) {
+ GetNextWord( s, word );
+ m_help_path = word;
+! word = (char*)NULL;
+ }
+
+
+***************
+*** 382,399 ****
+
+ void CSettings::UpdateRecent( QString file ) {
+
+! if( m_recent1 == NULL ) {
+ m_recent1 = file;
+ return;
+ }
+ /*
+! if( m_recent2 == NULL ) {
+ if( m_recent1 != file )
+ m_recent2 = file;
+ return;
+ }
+
+! if( m_recent3 == NULL ) {
+ if( m_recent1 != file && m_recent2 != file )
+ m_recent3 = file;
+ else {
+--- 382,399 ----
+
+ void CSettings::UpdateRecent( QString file ) {
+
+! if( m_recent1 == (char*)NULL ) {
+ m_recent1 = file;
+ return;
+ }
+ /*
+! if( m_recent2 == (char*)NULL ) {
+ if( m_recent1 != file )
+ m_recent2 = file;
+ return;
+ }
+
+! if( m_recent3 == (char*)NULL ) {
+ if( m_recent1 != file && m_recent2 != file )
+ m_recent3 = file;
+ else {
+***************
+*** 403,409 ****
+ return;
+ }
+
+! if( m_recent4 == NULL ) {
+ m_recent4 = file;
+ return;
+ }
+--- 403,409 ----
+ return;
+ }
+
+! if( m_recent4 == (char*)NULL ) {
+ m_recent4 = file;
+ return;
+ }
+***************
+*** 542,545 ****
+
+ QString CSettings::GetHelpPath() {
+ return m_help_path;
+! }
+\ No newline at end of file
+--- 542,545 ----
+
+ QString CSettings::GetHelpPath() {
+ return m_help_path;
+! }
+diff -u -r -c vstgl-0.6.1.orig/CTabCtrl.cpp vstgl-0.6.1/CTabCtrl.cpp
+*** vstgl-0.6.1.orig/CTabCtrl.cpp Sat Mar 31 22:09:48 2001
+--- vstgl-0.6.1/CTabCtrl.cpp Wed Sep 25 16:26:07 2002
+***************
+*** 35,49 ****
+ tab->setShape ( QTabBar::RoundedBelow );
+
+ t1 = new QTab;
+! t1->label=QString( "Signals" );
+ tab->addTab( t1 );
+
+ t2 = new QTab;
+! t2->label=QString( "Flow" );
+ tab->addTab( t2 );
+
+ t3 = new QTab;
+! t3->label=QString( "File" );
+ tab->addTab( t3 );
+
+ wStack = new QWidgetStack( this );
+--- 35,49 ----
+ tab->setShape ( QTabBar::RoundedBelow );
+
+ t1 = new QTab;
+! t1->setText(QString( "Signals" ));
+ tab->addTab( t1 );
+
+ t2 = new QTab;
+! t2->setText(QString( "Flow" ));
+ tab->addTab( t2 );
+
+ t3 = new QTab;
+! t3->setText(QString( "File" ));
+ tab->addTab( t3 );
+
+ wStack = new QWidgetStack( this );
+diff -u -r -c vstgl-0.6.1.orig/CTrans.cpp vstgl-0.6.1/CTrans.cpp
+*** vstgl-0.6.1.orig/CTrans.cpp Sat Mar 31 22:09:48 2001
+--- vstgl-0.6.1/CTrans.cpp Wed Sep 25 19:19:49 2002
+***************
+*** 11,17 ****
+ #include
+ #include
+ #include
+! #include
+ #include
+ #include
+ #include "CDoc.h"
+--- 11,17 ----
+ #include
+ #include
+ #include
+! #include
+ #include
+ #include
+ #include "CDoc.h"
+diff -u -r -c vstgl-0.6.1.orig/Doc/CAboutBox.html vstgl-0.6.1/Doc/CAboutBox.html
+*** vstgl-0.6.1.orig/Doc/CAboutBox.html Sat Mar 31 22:09:48 2001
+--- vstgl-0.6.1/Doc/CAboutBox.html Wed Sep 25 17:51:01 2002
+***************
+*** 1,48 ****
+
+
+ class CAboutBox
+
+-
+
+!
+
+
+
+
+!
+! class CAboutBox
+! An about box with a pixmap and a text label. More...
+
+!
+!
+
+
+
+
+!
+ Public Methods CAboutBox ( QWidget *parent, QString name )
+
+! Detailed Description
+ An about box with a pixmap and a text label.
+!
CAboutBox is inherited from QDialog, and provides merely an
+ Ok button of interaction.
+!
Information about build time/date and version is provided through
+! <tt>defs.h</tt> and <tt>compile.h</tt>. <tt>compile.h</tt> is
+ automatically updated with the current time and date from the
+ makefile using the operating system command date.
+!
CAboutBox ( QWidget *parent, QString name )
+!
+ Constructs an about box.
+!
Author : Sune Frankild and Hans P. Palbøl
+! Generated : hans@hanspp on Sat Mar 31 23:09:47 2001, using kdoc 2.0a35.
+--- 1,50 ----
+
+
+ class CAboutBox
++
+
+
+!
+
+
+
+
+!
+! class CAboutBox
+
+!
+! An about box with a pixmap and a text label. More...
+
+
+
+
+!
+ Public Methods CAboutBox ( QWidget *parent, QString name )
+
+!
+ An about box with a pixmap and a text label.
+!
+! CAboutBox is inherited from QDialog, and provides merely an
+ Ok button of interaction.
+!
+! Information about build time/date and version is provided through
+! defs.h and compile.h . compile.h is
+ automatically updated with the current time and date from the
+ makefile using the operating system command date.
+!
+!
+! CAboutBox ( QWidget *parent, QString name )
+! CAboutBox
+ Constructs an about box.
+!
+! Author : Sune Frankild and Hans P. Palbøl
+! Generated : chrb on europa.dcs.ed.ac.uk on Wed Sep 25 17:51:01 2002, using kdoc 2.0a54.
+diff -u -r -c vstgl-0.6.1.orig/Doc/CAboutBox_h.html vstgl-0.6.1/Doc/CAboutBox_h.html
+*** vstgl-0.6.1.orig/Doc/CAboutBox_h.html Sat Mar 31 22:09:48 2001
+--- vstgl-0.6.1/Doc/CAboutBox_h.html Wed Sep 25 17:51:01 2002
+***************
+*** 1,31 ****
+
+
+ Source: CAboutBox.h
+
+-
+
+!
+
+
+
+
+!
+! Source: CAboutBox.h
+
+!
+!
+
+
+
+
+!
+
+ /////////////////////////////////////////////////////////////////////////////
+--- 1,29 ----
+
+
+ Source: CAboutBox.h
++
+
+
+!
+
+
+
+
+!
+! Source: CAboutBox.h
+
+!
+
+
+
+
+!
+
+ /////////////////////////////////////////////////////////////////////////////
+***************
+*** 47,53 ****
+ //
+ // Filename CAboutBox.h
+ //
+! // Author Hans Palbøl & Sune Frankild
+ //
+ // Created 18-01-2000
+ //
+--- 45,51 ----
+ //
+ // Filename CAboutBox.h
+ //
+! // Author Hans Palbøl & Sune Frankild
+ //
+ // Created 18-01-2000
+ //
+***************
+*** 56,62 ****
+ // Description
+ //
+ /////////////////////////////////////////////////////////////////////////////
+! #include <qdialog.h>
+
+
+ /**
+--- 54,60 ----
+ // Description
+ //
+ /////////////////////////////////////////////////////////////////////////////
+! #include
+
+
+ /**
+***************
+*** 66,72 ****
+ * Ok button of interaction.
+ *
+ * Information about build time/date and version is provided through
+! * <tt>defs.h</tt> and <tt>compile.h</tt>. <tt>compile.h</tt> is
+ * automatically updated with the current time and date from the
+ * makefile using the operating system command date.
+ *
+--- 64,70 ----
+ * Ok button of interaction.
+ *
+ * Information about build time/date and version is provided through
+! * defs.h and compile.h . compile.h is
+ * automatically updated with the current time and date from the
+ * makefile using the operating system command date.
+ *
+***************
+*** 86,92 ****
+ };
+
+
+! Generated by: hans@hanspp on Sat Mar 31 23:09:47 2001, using kdoc 2.0a35.
+
+
+
+--- 84,90 ----
+ };
+
+
+! Generated by: chrb on europa.dcs.ed.ac.uk on Wed Sep 25 17:51:01 2002, using kdoc 2.0a54.
+
+
+
+diff -u -r -c vstgl-0.6.1.orig/Doc/CArrow.html vstgl-0.6.1/Doc/CArrow.html
+*** vstgl-0.6.1.orig/Doc/CArrow.html Sat Mar 31 22:09:48 2001
+--- vstgl-0.6.1/Doc/CArrow.html Wed Sep 25 17:51:01 2002
+***************
+*** 1,73 ****
+
+
+ class CArrow
+
+-
+
+!
+
+
+
+
+!
+! class CArrow
+! This class is the graphical presentation of the links between net components. More...
+
+!
+!
+
+
+
+
+!
+! Public Methods CArrow ()
+
+! CArrow ( CComp *to, CComp *from, int toIndex, int fromIndex )
+
+! void Draw ( QPainter *p )
+
+! void Set ( QPoint from, QPoint to )
+
+! void SetPointers ( CComp *to, CComp *from )
+
+! QPoint From ()
+
+! QPoint To ()
+
+! bool IsLinkedWith ( CComp *obj )
+
+! bool IsLinkedTo ( CComp *obj )
+
+! bool IsLinkedFrom ( CComp *obj )
+
+! int GetToIndex ()
+
+! int GetFromIndex ()
+
+! bool WriteEPS ( char *eps )
+
+! Private Members QPoint m_from
+! QPoint m_to
+! CComp *m_to_obj
+! CComp *m_from_obj
+! int m_to_index
+! int m_from_index
+! double alpha
+! Detailed Description
+ This class is the graphical presentation of the links between net components.
+ The drawing procedure is quite complex since the arrow has to draw it self
+ differently depending on which types of components it connects.
+!
The WriteEPS() member function draws the object in the PostScript language.
+!
Author : Sune Frankild and Hans Palbøl
+! Generated : hans@hanspp on Sat Mar 31 23:09:47 2001, using kdoc 2.0a35.
+--- 1,93 ----
+
+
+ class CArrow
++
+
+
+!
+
+
+
+
+!
+! class CArrow
+
+!
+! This class is the graphical presentation of the links between net components. More...
+
+
+
+
+!
+! Public Methods Private Members
+ This class is the graphical presentation of the links between net components.
+ The drawing procedure is quite complex since the arrow has to draw it self
+ differently depending on which types of components it connects.
+!
+! The WriteEPS() member function draws the object in the PostScript language.
+!
+!
+! [private]
[private]
CComp * m_to_obj
+! m_to_obj
[private]
CComp * m_from_obj
+! m_from_obj
[private]
int m_to_index
+! m_to_index
[private]
int m_from_index
+! m_from_index
[private]
[private]
CArrow ( CComp *to, CComp *from, int toIndex, int fromIndex )
+! CArrow
void Draw ( QPainter *p )
+! Draw
void Set ( QPoint from, QPoint to )
+! Set
void SetPointers ( CComp *to, CComp *from )
+! SetPointers
bool IsLinkedWith ( CComp *obj )
+! IsLinkedWith
bool IsLinkedTo ( CComp *obj )
+! IsLinkedTo
bool IsLinkedFrom ( CComp *obj )
+! IsLinkedFrom
int GetToIndex ()
+! GetToIndex
int GetFromIndex ()
+! GetFromIndex
bool WriteEPS ( char *eps )
+! WriteEPS
Author : Sune Frankild and Hans Palbøl
+! Generated : chrb on europa.dcs.ed.ac.uk on Wed Sep 25 17:51:01 2002, using kdoc 2.0a54.
+diff -u -r -c vstgl-0.6.1.orig/Doc/CArrow_h.html vstgl-0.6.1/Doc/CArrow_h.html
+*** vstgl-0.6.1.orig/Doc/CArrow_h.html Sat Mar 31 22:09:48 2001
+--- vstgl-0.6.1/Doc/CArrow_h.html Wed Sep 25 17:51:01 2002
+***************
+*** 1,38 ****
+
+
+ Source: CArrow.h
+
+-
+
+!
+
+
+
+
+!
+! Source: CArrow.h
+
+!
+!
+
+
+
+
+!
+
+ /// ////////////////////////////////////////////////////////////////////////////
+ //
+ // Filename CArrow.h
+ //
+! // Author Hans Palbøl & Sune Frankild
+ //
+ // Created 18-01-1999
+ //
+--- 1,36 ----
+
+
+ Source: CArrow.h
++
+
+
+!
+
+
+
+
+!
+! Source: CArrow.h
+
+!
+
+
+
+
+!
+
+ /// ////////////////////////////////////////////////////////////////////////////
+ //
+ // Filename CArrow.h
+ //
+! // Author Hans Palbøl & Sune Frankild
+ //
+ // Created 18-01-1999
+ //
+***************
+*** 45,51 ****
+ #define __GFX_H__
+
+ #include "CComp.h"
+! #include <qpainter.h>
+
+
+ /**
+--- 43,49 ----
+ #define __GFX_H__
+
+ #include "CComp.h"
+! #include
+
+
+ /**
+***************
+*** 94,100 ****
+
+
+
+! Generated by: hans@hanspp on Sat Mar 31 23:09:47 2001, using kdoc 2.0a35.
+
+
+
+--- 92,98 ----
+
+
+
+! Generated by: chrb on europa.dcs.ed.ac.uk on Wed Sep 25 17:51:01 2002, using kdoc 2.0a54.
+
+
+
+diff -u -r -c vstgl-0.6.1.orig/Doc/CComp.html vstgl-0.6.1/Doc/CComp.html
+*** vstgl-0.6.1.orig/Doc/CComp.html Sat Mar 31 22:09:48 2001
+--- vstgl-0.6.1/Doc/CComp.html Wed Sep 25 17:51:01 2002
+***************
+*** 1,88 ****
+
+
+ class CComp
+
+-
+
+!
+
+
+
+
+!
+! class CComp
+! Petrinet component base class. More...
+
+!
+!
+
+
+
+
+!
+ Public Methods CComp ( QWidget *parent, const char *name, CDoc *doc )
+
+! virtual ~ CComp ()
+
+ virtual void Draw ( QPainter *P )
+
+ virtual void CreateMask ()
+
+! virtual bool WriteEPS ( char *eps )
+
+! void MoveTo ( int xpos, int ypos )
+
+! void MoveTo ( QPoint pos )
+
+! void Offset ( int dx, int dy )
+
+! void Offset ( QPoint point )
+
+! QPoint GetPos ()
+
+! void SetPos ( QPoint p )
+
+! QRect GetBound ()
+
+! void AddLinkFrom ( CComp *obj )
+
+! void AddLinkTo ( CComp *obj )
+
+! void RemoveLinkFrom ( CComp *A )
+
+! void RemoveLinkTo ( CComp *B )
+
+! void RemoveLinks ()
+
+! bool IsLinkedTo ( CComp *obj )
+
+! int GetNbLinkTo ()
+
+! CComp * GetOutputAt ( int index )
+
+! unsigned int GetType ()
+
+! bool PtHit ( QPoint )
+
+! QString GetName ()
+
+! void Rename ( const char* n )
+
+! void Select ( bool val )
+
+! QPoint Pos ()
+
+ Signals void leftClicked ( CComp * )
+
+--- 1,85 ----
+
+
+ class CComp
++
+
+
+!
+
+
+
+
+!
+! class CComp
+
+!
+! Petrinet component base class. More...
+
+
+
+
+!
+ Public Methods Signals Public Members CHObArray m_input
+! CHObArray m_output
+! int m_nb_input
+! int m_nb_output
+! QString m_type_text
+ Protected Methods void paintEvent ( QPaintEvent *event )
+
+ void mousePressEvent ( QMouseEvent *e )
+
+! void mouseMoveEvent ( QMouseEvent *e )
+
+! void mouseReleaseEvent ( QMouseEvent *e )
+
+! Protected Members UINT m_type
+! QString m_name
+! CDoc *m_doc
+! QPoint m_pos
+! QRect m_bound
+! bool m_selected
+! Detailed Description
+ Petrinet component base class. This class defines the interface to the
+ various petrinet components. Many member functions are pure virtual, and
+ they should all be overloaded when instantiating a class inherited from
+ CComp.
+!
CComp ( QWidget *parent, const char *name, CDoc *doc )
+!
+ Constructs a CComp object. The parent and name parameters are
+ transfered directly to a call to the QWidget constructor.
+!
[virtual]
+ Destructs CComp object.
+!
void Draw ( QPainter *P )
+!
[pure virtual]
+ Pure virtual drawing function. All derived subclasses should
+ implement this function to be able to draw them selves.
+!
[pure virtual]
+ Creates a bitmap mask telling where the component is
+ transparent or opaqe.
+!
void paintEvent ( QPaintEvent *event )
+!
[protected]
+ Overloaded from QWidget to process paint events. For now all this
+ implementation does is to set up a painter and call the virtual Draw()
+ member.
+!
void mousePressEvent ( QMouseEvent *e )
+!
[protected]
+ Processes the event generated by pressing on the component.
+!
void leftClicked ( CComp * )
+!
[signal]
+ Signal emitted when the component is clicked upon with the left
+ mouse button.
+!
void rightClicked ( CComp * )
+!
[signal]
+ Signal emitted when the component is clicked upon with the right
+ mouse button.
+!
void moving ( CComp *, QPoint )
+!
[signal]
+ Signal emitted when the component is moved with the mouse. Besides
+ a pointer to the component itself a QPoint variable is provided in
+ the signal. It is the point on the widget on which it was clicked.
+ This is useful information (necessary) when moving the component
+ from the scrollview.
+!
Letting the widget move it self is not working due to a bug in Qt.
+!
void mouseRelease ( CComp * )
+!
[signal]
+ Signal emitted when the component receives a mouseRelease event
+!
Author : Sune Frankild and Hans Palbøl
+! Generated : hans@hanspp on Sat Mar 31 23:09:47 2001, using kdoc 2.0a35.
+--- 89,211 ----
+
+ void mouseRelease ( CComp * )
+
+! void linkObj ( CComp * )
+
+! Public Members Protected Methods Protected Members
+ Petrinet component base class. This class defines the interface to the
+ various petrinet components. Many member functions are pure virtual, and
+ they should all be overloaded when instantiating a class inherited from
+ CComp.
+!
+!
+! CComp ( QWidget *parent, const char *name, CDoc *doc )
+! CComp
+ Constructs a CComp object. The parent and name parameters are
+ transfered directly to a call to the QWidget constructor.
+!
+! [virtual]
+ Destructs CComp object.
+!
+! void Draw ( QPainter *P )
+! Draw
[pure virtual]
+ Pure virtual drawing function. All derived subclasses should
+ implement this function to be able to draw them selves.
+!
+! void CreateMask ()
+! CreateMask
[pure virtual]
+ Creates a bitmap mask telling where the component is
+ transparent or opaqe.
+!
+! bool WriteEPS ( char *eps )
+! WriteEPS
[pure virtual]
void MoveTo ( int xpos, int ypos )
+! MoveTo
void MoveTo ( QPoint pos )
+! MoveTo
void Offset ( int dx, int dy )
+! Offset
void Offset ( QPoint point )
+! Offset
QPoint GetPos ()
+! GetPos
void SetPos ( QPoint p )
+! SetPos
QRect GetBound ()
+! GetBound
void AddLinkFrom ( CComp *obj )
+! AddLinkFrom
void AddLinkTo ( CComp *obj )
+! AddLinkTo
void RemoveLinkFrom ( CComp *A )
+! RemoveLinkFrom
void RemoveLinkTo ( CComp *B )
+! RemoveLinkTo
void RemoveLinks ()
+! RemoveLinks
bool IsLinkedTo ( CComp *obj )
+! IsLinkedTo
int GetNbLinkTo ()
+! GetNbLinkTo
CComp * GetOutputAt ( int index )
+! GetOutputAt
unsigned int GetType ()
+! GetType
bool PtHit ( QPoint )
+! PtHit
QString GetName ()
+! GetName
void Rename ( const char* n )
+! Rename
void Select ( bool val )
+! Select
void paintEvent ( QPaintEvent *event )
+! paintEvent
[protected]
+ Overloaded from QWidget to process paint events. For now all this
+ implementation does is to set up a painter and call the virtual Draw()
+ member.
+!
+! void mousePressEvent ( QMouseEvent *e )
+! mousePressEvent
[protected]
+ Processes the event generated by pressing on the component.
+!
+!
+! void mouseMoveEvent ( QMouseEvent *e )
+! mouseMoveEvent
[protected]
void mouseReleaseEvent ( QMouseEvent *e )
+! mouseReleaseEvent
[protected]
[protected]
[protected]
[protected]
[protected]
[protected]
bool m_selected
+! m_selected
[protected]
int m_nb_input
+! m_nb_input
int m_nb_output
+! m_nb_output
QString m_type_text
+! m_type_text
void leftClicked ( CComp * )
+! leftClicked
[signal]
+ Signal emitted when the component is clicked upon with the left
+ mouse button.
+!
+! void rightClicked ( CComp * )
+! rightClicked
[signal]
+ Signal emitted when the component is clicked upon with the right
+ mouse button.
+!
+! void moving ( CComp *, QPoint )
+! moving
[signal]
+ Signal emitted when the component is moved with the mouse. Besides
+ a pointer to the component itself a QPoint variable is provided in
+ the signal. It is the point on the widget on which it was clicked.
+ This is useful information (necessary) when moving the component
+ from the scrollview.
+!
+! Letting the widget move it self is not working due to a bug in Qt.
+!
+! void mouseRelease ( CComp * )
+! mouseRelease
[signal]
+ Signal emitted when the component receives a mouseRelease event
+!
+! void linkObj ( CComp * )
+! linkObj
[signal]
Author : Sune Frankild and Hans Palbøl
+! Generated : chrb on europa.dcs.ed.ac.uk on Wed Sep 25 17:51:01 2002, using kdoc 2.0a54.
+diff -u -r -c vstgl-0.6.1.orig/Doc/CComp_h.html vstgl-0.6.1/Doc/CComp_h.html
+*** vstgl-0.6.1.orig/Doc/CComp_h.html Sat Mar 31 22:09:48 2001
+--- vstgl-0.6.1/Doc/CComp_h.html Wed Sep 25 17:51:01 2002
+***************
+*** 1,38 ****
+
+
+ Source: CComp.h
+
+-
+
+!
+
+
+
+
+!
+! Source: CComp.h
+
+!
+!
+
+
+
+
+!
+
+ //////////////////////////////////////////////////////////////////////////////
+ //
+ // Filename CComp.h
+ //
+! // Author Hans Palbøl & Sune Frankild
+ //
+ // Created 13-11-1999
+ //
+--- 1,36 ----
+
+
+ Source: CComp.h
++
+
+
+!
+
+
+
+
+!
+! Source: CComp.h
+
+!
+
+
+
+
+!
+
+ //////////////////////////////////////////////////////////////////////////////
+ //
+ // Filename CComp.h
+ //
+! // Author Hans Palbøl & Sune Frankild
+ //
+ // Created 13-11-1999
+ //
+***************
+*** 44,55 ****
+ #ifndef __CCOMP_H__
+ #define __CCOMP_H__
+
+! #include <qrect.h>
+! #include <qpoint.h>
+! #include <qstring.h>
+! #include <qwidget.h>
+! #include <qsize.h>
+! #include <qpainter.h>
+
+ #include "CHObArray.h"
+
+--- 42,53 ----
+ #ifndef __CCOMP_H__
+ #define __CCOMP_H__
+
+! #include
+! #include
+! #include
+! #include
+! #include
+! #include
+
+ #include "CHObArray.h"
+
+***************
+*** 229,235 ****
+
+
+
+! Generated by: hans@hanspp on Sat Mar 31 23:09:47 2001, using kdoc 2.0a35.
+
+
+
+--- 227,233 ----
+
+
+
+! Generated by: chrb on europa.dcs.ed.ac.uk on Wed Sep 25 17:51:01 2002, using kdoc 2.0a54.
+
+
+
+diff -u -r -c vstgl-0.6.1.orig/Doc/CDoc.html vstgl-0.6.1/Doc/CDoc.html
+*** vstgl-0.6.1.orig/Doc/CDoc.html Sat Mar 31 22:09:48 2001
+--- vstgl-0.6.1/Doc/CDoc.html Wed Sep 25 17:51:01 2002
+***************
+*** 1,41 ****
+
+
+ class CDoc
+
+-
+
+!
+
+
+
+
+!
+! class CDoc
+! Container for the graphic objects and user interaction. More...
+
+!
+!
+
+
+
+
+!
+ Public Methods CDoc ( QWidget *parent=0, const char *name=0 )
+
+! CComp * AddPlace ( int x = 0, int y = 0 )
+
+! CComp * AddTrans ( int x = 0, int y = 0 )
+
+ void SelectObject ( CComp *obj )
+
+--- 1,38 ----
+
+
+ class CDoc
++
+
+
+!
+
+
+
+
+!
+! class CDoc
+
+!
+! Container for the graphic objects and user interaction. More...
+
+
+
+
+!
+ Public Methods Signals void ModeTxt ( const char *txt )
+
+! void TitleTxt ( const char *txt )
+
+! void SignalsChanged ()
+
+! void UpdateRecent ()
+
+! Public Members friend class CHProp
+! friend class CTabCtrl
+! friend class CSProp
+ Protected Methods void drawContents ( QPainter *p, int clipx, int clipy, int clipw, int cliph )
+
+! void viewportMousePressEvent ( QMouseEvent *e )
+
+! void viewportMouseDoubleClickEvent ( QMouseEvent *e )
+
+! void viewportMouseMoveEvent ( QMouseEvent *e )
+
+! void viewportMouseReleaseEvent ( QMouseEvent * )
+
+ void keyPressEvent ( QKeyEvent *e )
+
+ void keyReleaseEvent ( QKeyEvent *e )
+
+! void focusOutEvent ( QFocusEvent *e )
+
+! Private Methods void RemoveLinks ( CComp *obj )
+
+! int GetIndex ( CComp *obj )
+
+! QPoint GetMousePos ()
+
+! void UpdateTitle ()
+
+! void Remove ( bool interactive )
+
+! void WriteStatusInfo ( ofstream& g_file, SIGNAL_STATUS status, CSObList * pSignalList )
+
+! void WriteTransInfo ( ofstream& g_file, CTrans * pCTrans )
+
+ void SetTransIndex ()
+
+ bool ExportPetrify ( const char *filename )
+
+! bool SaveFile ( const char *filename )
+
+! void GetNextWord ( QString& new_line, QString& word )
+
+! int ExtractSignals ( QString& new_line, QString& str, SIGNAL_STATUS status )
+
+! int DeterminType ( QString& word, QString& component_identifier, EVENT& event, int& index )
+
+! bool IsPlaceMade ( QString& name, CComp * &pCComp )
+
+! bool IsTransMade ( QString& signal_name, int index, EVENT event, CComp * &pCComp )
+
+! bool IsComponentMade ( QString& word, CComp * &pCComp )
+
+! CComp * MakeComponent ( QString& word )
+
+! bool OpenFile ( const char *filename )
+
+! void Load ( QString fileName )
+
+! Private Slots void NewPlace ()
+
+! void NewPlaceAuto ()
+
+! void NewTrans ()
+
+! void NewTransAuto ()
+
+! void RemoveOb ()
+
+! void Print ()
+
+! void LoadDoc ()
+
+! void SaveDoc ()
+
+! void NewDoc ()
+
+! void Properties ( CComp * )
+
+! void transProp ()
+
+! void ToggleToken ()
+
+! void ToggleVisible ()
+
+! void Dummy ()
+
+! void SelectAll ()
+
+! void SelectNone ()
+
+! void SelectInverse ()
+
+! void Connect ()
+
+! void Disconnect ()
+
+! void Fire ()
+
+! void SingleFire ()
+
+! void ClearTokens ()
+
+! void Export ()
+
+! void Refresh ()
+
+! void SnapToGrid ()
+
+! void SetEditMode ( int m )
+
+! void Petrify ()
+
+! void LoadRec1 ()
+
+! void LoadRec2 ()
+
+! void LoadRec3 ()
+
+! void LoadRec4 ()
+
+! void writeEPS ()
+
+! void ModeMove ()
+
+! void ModeLink ()
+
+! void ModeFire ()
+
+! void SetEventPlus ()
+
+! void SetEventMinus ()
+
+! void SetEventNothing ()
+
+! void select ( CComp * )
+
+! void rightClick ( CComp *obj )
+
+! void compMove ( CComp *obj, QPoint p )
+
+! void release ( CComp *obj )
+
+! void clicked ( CComp *obj )
+
+! void compLink ( CComp *obj )
+
+! Private Members QVBox *bb
+! QPopupMenu *pop
+! QPopupMenu *popT
+! QPopupMenu *popP
+! CSObList m_selected_objects
+! float m_zoom
+! float m_width
+! float m_height
+! float m_xsize
+! float m_ysize
+! int m_selection_state
+! CSObList m_links
+! QPoint m_last_mouse_pos
+! bool m_multi_select
+! int m_edit_mode
+! QTimer *m_dbl_time
+! bool m_single_sel
+! bool m_lasso_select
+! QRect m_lasso_rect
+! bool m_move
+! QPoint m_move_point
+! bool m_snap_to_grid
+! int m_grid_size
+! bool m_show_grid
+! bool m_linking
+! CArrow m_tmp_link
+! bool m_modified
+! QString m_doc_name
+! CComp *pCurObj
+! QMultiLineEdit *petrifyWin
+! QCursor m_link_cursor
+! Detailed Description
+ Container for the graphic objects and user interaction.
+ All UI handling is done here, along with much of the graphics.
+!
CDoc ( QWidget *parent=0, const char *name=0 )
+!
+ Standard constructor
+!
void SelectObject ( CComp *obj )
+!
+ Adds 'obj' to list of selected objects
+!
bool IsSelected ( CComp *obj )
+!
+ Checks if an objects is selected
+!
void DeselectObject ( CComp *obj )
+!
+ Deselect object by removing it from the list of selected objects
+!
+ Returns the number of selected objects
+!
int GetSelectionState ()
+!
+ Returns the selection state (i.e. all, none ...)
+!
void SetModifiedFlag ( bool flag )
+!
+ Indicates that the contents has changed since last save
+!
+ Checkes if contents has changed
+!
+ Performs a rule check on the stg graph
+!
+ Clear markings done by CheckSTG()
+!
QRect getBoundingBox ()
+!
+ Finds the rectangle that spans all printable objects
+!
void drawContents ( QPainter *p, int clipx, int clipy, int clipw, int cliph )
+!
[protected]
+ Reimplemented to draw a rectangle for the lasso selection
+!
void keyPressEvent ( QKeyEvent *e )
+!
[protected]
+ Reimplemented to handle keyboard short cuts
+!
void keyReleaseEvent ( QKeyEvent *e )
+!
[protected]
+ Reimplemented to handle keyboard short cuts
+!
void WriteStatusInfo ( ofstream& g_file, SIGNAL_STATUS status, CSObList * pSignalList )
+!
[private]
+ Depending on the status argument and whether there actualy exists any signal with
+ the specified status, this function writes the signal status declarations in the *.g file.
+!
void WriteTransInfo ( ofstream& g_file, CTrans * pCTrans )
+!
[private]
+ Writting all information for the CHTrans including index ("/"Index) and event ("+"/"-").
+!
[private]
+ Assigns an unique index to all CHTrans in order for the *.g file to be complete whith
+ signal indexes for similar CHTrans, which are transitions with the same signal and event.
+!
bool ExportPetrify ( const char *filename )
+!
[private]
+ Creates a *.g file. Used when Exporting the STG to the Petrify application.
+ If the STG dos not repesent a correct STG false is returned else true.
+!
Version : 0.6.0
+ Author : Sune Frankild and Hans P. Palbøl
+! Generated : hans@hanspp on Sat Mar 31 23:09:47 2001, using kdoc 2.0a35.
+--- 52,449 ----
+
+ void ClearSTG ()
+
+! int GetMode ()
+
+ QRect getBoundingBox ()
+
+! Signals Public Members Protected Methods Private Methods void RemoveLinks ( CComp *obj )
+
+! int GetIndex ( CComp *obj )
+
+! QPoint GetMousePos ()
+
+! void UpdateTitle ()
+
+! void Remove ( bool interactive )
+
+! void WriteStatusInfo ( ofstream& g_file, SIGNAL_STATUS status, CSObList * pSignalList )
+
+! void WriteTransInfo ( ofstream& g_file, CTrans * pCTrans )
+
+ void SetTransIndex ()
+
+ bool ExportPetrify ( const char *filename )
+
+! bool SaveFile ( const char *filename )
+
+! void GetNextWord ( QString& new_line, QString& word )
+
+! int ExtractSignals ( QString& new_line, QString& str, SIGNAL_STATUS status )
+
+! int DeterminType ( QString& word, QString& component_identifier, EVENT & event, int& index )
+
+! bool IsPlaceMade ( QString& name, CComp * &pCComp )
+
+! bool IsTransMade ( QString& signal_name, int index, EVENT event, CComp * &pCComp )
+
+! bool IsComponentMade ( QString& word, CComp * &pCComp )
+
+! CComp * MakeComponent ( QString& word )
+
+! bool OpenFile ( const char *filename )
+
+! void Load ( QString fileName )
+
+! Private Slots Private Members
+ Container for the graphic objects and user interaction.
+ All UI handling is done here, along with much of the graphics.
+!
+!
+! CDoc ( QWidget *parent=0, const char *name=0 )
+! CDoc
+ Standard constructor
+!
+!
+! CComp * AddPlace ( int x = 0, int y = 0 )
+! AddPlace
CComp * AddTrans ( int x = 0, int y = 0 )
+! AddTrans
void SelectObject ( CComp *obj )
+! SelectObject
+ Adds 'obj' to list of selected objects
+!
+!
+! bool IsSelected ( CComp *obj )
+! IsSelected
+ Checks if an objects is selected
+!
+!
+! void DeselectObject ( CComp *obj )
+! DeselectObject
+ Deselect object by removing it from the list of selected objects
+!
+!
+! int GetNbSelObjs ()
+! GetNbSelObjs
+ Returns the number of selected objects
+!
+!
+! int GetSelectionState ()
+! GetSelectionState
+ Returns the selection state (i.e. all, none ...)
+!
+!
+! void SetModifiedFlag ( bool flag )
+! SetModifiedFlag
+ Indicates that the contents has changed since last save
+!
+!
+! bool IsModified ()
+! IsModified
+ Checkes if contents has changed
+!
+!
+! void CheckSTG ()
+! CheckSTG
+ Performs a rule check on the stg graph
+!
+!
+! void ClearSTG ()
+! ClearSTG
+ Clear markings done by CheckSTG()
+!
+!
+! int GetMode ()
+! GetMode
QRect getBoundingBox ()
+! getBoundingBox
+ Finds the rectangle that spans all printable objects
+!
+!
+! friend class CHProp
+! CHProp
friend class CTabCtrl
+! CTabCtrl
friend class CSProp
+! CSProp
void drawContents ( QPainter *p, int clipx, int clipy, int clipw, int cliph )
+! drawContents
[protected]
+ Reimplemented to draw a rectangle for the lasso selection
+!
+!
+! void viewportMousePressEvent ( QMouseEvent *e )
+! viewportMousePressEvent
[protected]
void viewportMouseDoubleClickEvent ( QMouseEvent *e )
+! viewportMouseDoubleClickEvent
[protected]
void viewportMouseMoveEvent ( QMouseEvent *e )
+! viewportMouseMoveEvent
[protected]
void viewportMouseReleaseEvent ( QMouseEvent * )
+! viewportMouseReleaseEvent
[protected]
void keyPressEvent ( QKeyEvent *e )
+! keyPressEvent
[protected]
+ Reimplemented to handle keyboard short cuts
+!
+!
+! void keyReleaseEvent ( QKeyEvent *e )
+! keyReleaseEvent
[protected]
+ Reimplemented to handle keyboard short cuts
+!
+!
+! void focusOutEvent ( QFocusEvent *e )
+! focusOutEvent
[protected]
void RemoveLinks ( CComp *obj )
+! RemoveLinks
[private]
int GetIndex ( CComp *obj )
+! GetIndex
[private]
QPoint GetMousePos ()
+! GetMousePos
[private]
void UpdateTitle ()
+! UpdateTitle
[private]
void Remove ( bool interactive )
+! Remove
[private]
Reimplemented from CNet .
+! void WriteStatusInfo ( ofstream& g_file, SIGNAL_STATUS status, CSObList * pSignalList )
+! WriteStatusInfo
[private]
+ Depending on the status argument and whether there actualy exists any signal with
+ the specified status, this function writes the signal status declarations in the *.g file.
+!
+!
+! void WriteTransInfo ( ofstream& g_file, CTrans * pCTrans )
+! WriteTransInfo
[private]
+ Writting all information for the CHTrans including index ("/"Index) and event ("+"/"-").
+!
+!
+! void SetTransIndex ()
+! SetTransIndex
[private]
+ Assigns an unique index to all CHTrans in order for the *.g file to be complete whith
+ signal indexes for similar CHTrans, which are transitions with the same signal and event.
+!
+! bool ExportPetrify ( const char *filename )
+! ExportPetrify
[private]
+ Creates a *.g file. Used when Exporting the STG to the Petrify application.
+ If the STG dos not repesent a correct STG false is returned else true.
+!
+! bool SaveFile ( const char *filename )
+! SaveFile
[private]
void GetNextWord ( QString& new_line, QString& word )
+! GetNextWord
[private]
int ExtractSignals ( QString& new_line, QString& str, SIGNAL_STATUS status )
+! ExtractSignals
[private]
int DeterminType ( QString& word, QString& component_identifier, EVENT & event, int& index )
+! DeterminType
[private]
bool IsPlaceMade ( QString& name, CComp * &pCComp )
+! IsPlaceMade
[private]
bool IsTransMade ( QString& signal_name, int index, EVENT event, CComp * &pCComp )
+! IsTransMade
[private]
bool IsComponentMade ( QString& word, CComp * &pCComp )
+! IsComponentMade
[private]
CComp * MakeComponent ( QString& word )
+! MakeComponent
[private]
bool OpenFile ( const char *filename )
+! OpenFile
[private]
void Load ( QString fileName )
+! Load
[private]
[private]
[private]
QPopupMenu * popT
+! popT
[private]
QPopupMenu * popP
+! popP
[private]
CSObList m_selected_objects
+! m_selected_objects
[private]
[private]
[private]
float m_height
+! m_height
[private]
[private]
[private]
int m_selection_state
+! m_selection_state
[private]
[private]
QPoint m_last_mouse_pos
+! m_last_mouse_pos
[private]
bool m_multi_select
+! m_multi_select
[private]
int m_edit_mode
+! m_edit_mode
[private]
QTimer * m_dbl_time
+! m_dbl_time
[private]
bool m_single_sel
+! m_single_sel
[private]
bool m_lasso_select
+! m_lasso_select
[private]
QRect m_lasso_rect
+! m_lasso_rect
[private]
[private]
QPoint m_move_point
+! m_move_point
[private]
bool m_snap_to_grid
+! m_snap_to_grid
[private]
int m_grid_size
+! m_grid_size
[private]
bool m_show_grid
+! m_show_grid
[private]
bool m_linking
+! m_linking
[private]
CArrow m_tmp_link
+! m_tmp_link
[private]
bool m_modified
+! m_modified
[private]
QString m_doc_name
+! m_doc_name
[private]
CComp * pCurObj
+! pCurObj
[private]
QMultiLineEdit * petrifyWin
+! petrifyWin
[private]
QCursor m_link_cursor
+! m_link_cursor
[private]
void NewPlace ()
+! NewPlace
[private slots slot]
void NewPlaceAuto ()
+! NewPlaceAuto
[private slots slot]
void NewTrans ()
+! NewTrans
[private slots slot]
void NewTransAuto ()
+! NewTransAuto
[private slots slot]
void RemoveOb ()
+! RemoveOb
[private slots slot]
[private slots slot]
Reimplemented from CNet .
+! void LoadDoc ()
+! LoadDoc
[private slots slot]
void SaveDoc ()
+! SaveDoc
[private slots slot]
[private slots slot]
void Properties ( CComp * )
+! Properties
[private slots slot]
void transProp ()
+! transProp
[private slots slot]
void ToggleToken ()
+! ToggleToken
[private slots slot]
void ToggleVisible ()
+! ToggleVisible
[private slots slot]
[private slots slot]
void SelectAll ()
+! SelectAll
[private slots slot]
void SelectNone ()
+! SelectNone
[private slots slot]
void SelectInverse ()
+! SelectInverse
[private slots slot]
void Connect ()
+! Connect
[private slots slot]
Reimplemented from CNet .
+! void Disconnect ()
+! Disconnect
[private slots slot]
[private slots slot]
void SingleFire ()
+! SingleFire
[private slots slot]
void ClearTokens ()
+! ClearTokens
[private slots slot]
[private slots slot]
void Refresh ()
+! Refresh
[private slots slot]
void SnapToGrid ()
+! SnapToGrid
[private slots slot]
void SetEditMode ( int m )
+! SetEditMode
[private slots slot]
void Petrify ()
+! Petrify
[private slots slot]
void LoadRec1 ()
+! LoadRec1
[private slots slot]
void LoadRec2 ()
+! LoadRec2
[private slots slot]
void LoadRec3 ()
+! LoadRec3
[private slots slot]
void LoadRec4 ()
+! LoadRec4
[private slots slot]
void writeEPS ()
+! writeEPS
[private slots slot]
void ModeMove ()
+! ModeMove
[private slots slot]
void ModeLink ()
+! ModeLink
[private slots slot]
void ModeFire ()
+! ModeFire
[private slots slot]
void SetEventPlus ()
+! SetEventPlus
[private slots slot]
void SetEventMinus ()
+! SetEventMinus
[private slots slot]
void SetEventNothing ()
+! SetEventNothing
[private slots slot]
void select ( CComp * )
+! select
[private slots slot]
void rightClick ( CComp *obj )
+! rightClick
[private slots slot]
void compMove ( CComp *obj, QPoint p )
+! compMove
[private slots slot]
void release ( CComp *obj )
+! release
[private slots slot]
void clicked ( CComp *obj )
+! clicked
[private slots slot]
void compLink ( CComp *obj )
+! compLink
[private slots slot]
void ModeTxt ( const char *txt )
+! ModeTxt
[signal]
void TitleTxt ( const char *txt )
+! TitleTxt
[signal]
void SignalsChanged ()
+! SignalsChanged
[signal]
void UpdateRecent ()
+! UpdateRecent
[signal]
Version : 0.6.0
+ Author : Sune Frankild and Hans P. Palbøl
+! Generated : chrb on europa.dcs.ed.ac.uk on Wed Sep 25 17:51:01 2002, using kdoc 2.0a54.
+diff -u -r -c vstgl-0.6.1.orig/Doc/CDoc_h.html vstgl-0.6.1/Doc/CDoc_h.html
+*** vstgl-0.6.1.orig/Doc/CDoc_h.html Sat Mar 31 22:09:48 2001
+--- vstgl-0.6.1/Doc/CDoc_h.html Wed Sep 25 17:51:01 2002
+***************
+*** 1,31 ****
+
+
+ Source: CDoc.h
+
+-
+
+!
+
+
+
+
+!
+! Source: CDoc.h
+
+!
+!
+
+
+
+
+!
+
+ //////////////////////////////////////////////////////////////////////////////////
+--- 1,29 ----
+
+
+ Source: CDoc.h
++
+
+
+!
+
+
+
+
+!
+! Source: CDoc.h
+
+!
+
+
+
+
+!
+
+ //////////////////////////////////////////////////////////////////////////////////
+***************
+*** 48,54 ****
+ //
+ // Filename CDoc.h
+ //
+! // Author Hans Palbøl & Sune Frankild
+ //
+ // Created 18-01-1999
+ //
+--- 46,52 ----
+ //
+ // Filename CDoc.h
+ //
+! // Author Hans Palbøl & Sune Frankild
+ //
+ // Created 18-01-1999
+ //
+***************
+*** 60,68 ****
+ #ifndef __CDOC_H__
+ #define __CDOC_H__
+
+! #include <qscrollview.h>
+! #include <qpopupmenu.h>
+! #include <qmultilinedit.h>
+ #include "CComp.h"
+ #include "CPlace.h"
+ #include "CTrans.h"
+--- 58,66 ----
+ #ifndef __CDOC_H__
+ #define __CDOC_H__
+
+! #include
+! #include
+! #include
+ #include "CComp.h"
+ #include "CPlace.h"
+ #include "CTrans.h"
+***************
+*** 71,81 ****
+
+ #include "Simulation.h"
+
+! #include <qmessagebox.h>
+! #include <qbitmap.h>
+! #include <qpixmap.h>
+! #include <qcursor.h>
+! #include <qvbox.h>
+
+
+ /**
+--- 69,79 ----
+
+ #include "Simulation.h"
+
+! #include
+! #include
+! #include
+! #include
+! #include
+
+
+ /**
+***************
+*** 221,234 ****
+ * the specified status, this function writes the signal status declarations in the *.g file.
+ *
+ */
+! void WriteStatusInfo( ofstream& g_file, SIGNAL_STATUS status, CSObList* pSignalList );
+
+
+ /**
+ * Writting all information for the CHTrans including index ("/"Index) and event ("+"/"-").
+ *
+ */
+! void WriteTransInfo( ofstream& g_file, CTrans* pCTrans );
+
+
+ /**
+--- 219,232 ----
+ * the specified status, this function writes the signal status declarations in the *.g file.
+ *
+ */
+! void WriteStatusInfo( ofstream& g_file, SIGNAL_STATUS status, CSObList* pSignalList );
+
+
+ /**
+ * Writting all information for the CHTrans including index ("/"Index) and event ("+"/"-").
+ *
+ */
+! void WriteTransInfo( ofstream& g_file, CTrans* pCTrans );
+
+
+ /**
+***************
+*** 247,266 ****
+
+ bool SaveFile( const char *filename );
+
+! //void GetNextWord( ifstream& in_file, QString& TextWord );
+! void GetNextWord( QString& new_line, QString& word );
+
+! int ExtractSignals( QString& new_line, QString& str, SIGNAL_STATUS status );
+
+! int DeterminType( QString& word, QString& component_identifier, EVENT& event, int& index );
+
+! bool IsPlaceMade( QString& name, CComp* &pCComp );
+
+! bool IsTransMade( QString& signal_name, int index, EVENT event, CComp* &pCComp );
+
+! bool IsComponentMade( QString& word, CComp* &pCComp );
+
+! CComp* MakeComponent( QString& word );
+
+ bool OpenFile( const char *filename );
+ void Load( QString fileName );
+--- 245,264 ----
+
+ bool SaveFile( const char *filename );
+
+! //void GetNextWord( ifstream& in_file, QString& TextWord );
+! void GetNextWord( QString& new_line, QString& word );
+
+! int ExtractSignals( QString& new_line, QString& str, SIGNAL_STATUS status );
+
+! int DeterminType( QString& word, QString& component_identifier, EVENT& event, int& index );
+
+! bool IsPlaceMade( QString& name, CComp* &pCComp );
+
+! bool IsTransMade( QString& signal_name, int index, EVENT event, CComp* &pCComp );
+
+! bool IsComponentMade( QString& word, CComp* &pCComp );
+
+! CComp* MakeComponent( QString& word );
+
+ bool OpenFile( const char *filename );
+ void Load( QString fileName );
+***************
+*** 398,404 ****
+
+
+
+! Generated by: hans@hanspp on Sat Mar 31 23:09:47 2001, using kdoc 2.0a35.
+
+
+
+--- 396,402 ----
+
+
+
+! Generated by: chrb on europa.dcs.ed.ac.uk on Wed Sep 25 17:51:01 2002, using kdoc 2.0a54.
+
+
+
+diff -u -r -c vstgl-0.6.1.orig/Doc/CHObArray.html vstgl-0.6.1/Doc/CHObArray.html
+*** vstgl-0.6.1.orig/Doc/CHObArray.html Sat Mar 31 22:09:48 2001
+--- vstgl-0.6.1/Doc/CHObArray.html Wed Sep 25 17:51:01 2002
+***************
+*** 1,22 ****
+
+
+ class CHObArray
+
+-
+
+!
+
+
+
+
+!
+! class CHObArray
+! Dynamically growing array. More...
+
+!
+!
+
+
+
+
+!
+! Public Methods Private Methods Private Members
+ Dynamically growing array. The array contains pointers to objects derived from the
+ base class CHObject. It will automatically grow if the requested index is out
+ of the current bound.
+!
+! Care must be taken to initialize the size before use.
+!
+!
+! CHObArray ()
+! CHObArray
~CHObArray ()
+! ~CHObArray
CHObArray ( int size )
+! CHObArray
bool SetSize ( int s )
+! SetSize
bool SetAtGrow ( int index, CHObject *obj )
+! SetAtGrow
bool SetAt ( int index, CHObject *obj )
+! SetAt
int GetSize ()
+! GetSize
CHObject * operator[] (int index)
+! operator[]
bool RemoveAt ( int index )
+! RemoveAt
int iMaxItems
+! iMaxItems
[private]
[private]
bool IsInBound ( int index )
+! IsInBound
[private]
Author : Sune Frankild and Hans Palbøl
+! Generated : chrb on europa.dcs.ed.ac.uk on Wed Sep 25 17:51:01 2002, using kdoc 2.0a54.
+diff -u -r -c vstgl-0.6.1.orig/Doc/CHObArray_h.html vstgl-0.6.1/Doc/CHObArray_h.html
+*** vstgl-0.6.1.orig/Doc/CHObArray_h.html Sat Mar 31 22:09:48 2001
+--- vstgl-0.6.1/Doc/CHObArray_h.html Wed Sep 25 17:51:01 2002
+***************
+*** 1,38 ****
+
+
+ Source: CHObArray.h
+
+-
+
+!
+
+
+
+
+!
+! Source: CHObArray.h
+
+!
+!
+
+
+
+
+!
+
+ // ////////////////////////////////////////////////////////////////////////////
+ //
+ // Filename CHObArray.h
+ //
+! // Author Hans Palbøl & Sune Frankild
+ //
+ // Created 18-01-1999
+ //
+--- 1,36 ----
+
+
+ Source: CHObArray.h
++
+
+
+!
+
+
+
+
+!
+! Source: CHObArray.h
+
+!
+
+
+
+
+!
+
+ // ////////////////////////////////////////////////////////////////////////////
+ //
+ // Filename CHObArray.h
+ //
+! // Author Hans Palbøl & Sune Frankild
+ //
+ // Created 18-01-1999
+ //
+***************
+*** 94,100 ****
+
+
+
+! Generated by: hans@hanspp on Sat Mar 31 23:09:47 2001, using kdoc 2.0a35.
+
+
+
+--- 92,98 ----
+
+
+
+! Generated by: chrb on europa.dcs.ed.ac.uk on Wed Sep 25 17:51:01 2002, using kdoc 2.0a54.
+
+
+
+diff -u -r -c vstgl-0.6.1.orig/Doc/CHObject.html vstgl-0.6.1/Doc/CHObject.html
+*** vstgl-0.6.1.orig/Doc/CHObject.html Sat Mar 31 22:09:48 2001
+--- vstgl-0.6.1/Doc/CHObject.html Wed Sep 25 17:51:01 2002
+***************
+*** 1,22 ****
+
+
+ class CHObject
+
+-
+
+!
+
+
+
+
+!
+! class CHObject
+! Base class for datastructures. More...
+
+!
+!
+
+
+
+
+!
+! Public Methods Private Members
+ Base class for datastructures. To be able to use the fabulous dynamically
+ datastructures like CSObList and CHObArray your objects must inherite
+ from CHObject.
+!
+!
+! [private]
CHObject (void)
+! CHObject
Author : Hans P. Palbøl and Sune Frankild
+! Generated : chrb on europa.dcs.ed.ac.uk on Wed Sep 25 17:51:01 2002, using kdoc 2.0a54.
+diff -u -r -c vstgl-0.6.1.orig/Doc/CHObject_h.html vstgl-0.6.1/Doc/CHObject_h.html
+*** vstgl-0.6.1.orig/Doc/CHObject_h.html Sat Mar 31 22:09:48 2001
+--- vstgl-0.6.1/Doc/CHObject_h.html Wed Sep 25 17:51:01 2002
+***************
+*** 1,38 ****
+
+
+ Source: CHObject.h
+
+-
+
+!
+
+
+
+
+!
+! Source: CHObject.h
+
+!
+!
+
+
+
+
+!
+
+ // ////////////////////////////////////////////////////////////////////////////
+ //
+ // Filename CHObject.h
+ //
+! // Author Hans Palbøl & Sune Frankild
+ //
+ // Created 18-01-1999
+ //
+--- 1,36 ----
+
+
+ Source: CHObject.h
++
+
+
+!
+
+
+
+
+!
+! Source: CHObject.h
+
+!
+
+
+
+
+!
+
+ // ////////////////////////////////////////////////////////////////////////////
+ //
+ // Filename CHObject.h
+ //
+! // Author Hans Palbøl & Sune Frankild
+ //
+ // Created 18-01-1999
+ //
+***************
+*** 44,50 ****
+ #ifndef __CHOBJECT_H__
+ #define __CHOBJECT_H__
+
+! #include <qwidget.h>
+
+ /**
+ Base class for datastructures. To be able to use the fabulous dynamically
+--- 42,48 ----
+ #ifndef __CHOBJECT_H__
+ #define __CHOBJECT_H__
+
+! #include
+
+ /**
+ Base class for datastructures. To be able to use the fabulous dynamically
+***************
+*** 55,63 ****
+ */
+
+
+! class CHObject/* : public QWidget*/
+ {
+! Q_OBJECT
+
+ private:
+ // Dummy member variable
+--- 53,61 ----
+ */
+
+
+! class CHObject /*: public QObject*/
+ {
+! //Q_OBJECT
+
+ private:
+ // Dummy member variable
+***************
+*** 73,79 ****
+
+
+
+! Generated by: hans@hanspp on Sat Mar 31 23:09:47 2001, using kdoc 2.0a35.
+
+
+
+--- 71,77 ----
+
+
+
+! Generated by: chrb on europa.dcs.ed.ac.uk on Wed Sep 25 17:51:01 2002, using kdoc 2.0a54.
+
+
+
+diff -u -r -c vstgl-0.6.1.orig/Doc/CHProp.html vstgl-0.6.1/Doc/CHProp.html
+*** vstgl-0.6.1.orig/Doc/CHProp.html Sat Mar 31 22:09:48 2001
+--- vstgl-0.6.1/Doc/CHProp.html Wed Sep 25 17:51:01 2002
+***************
+*** 1,68 ****
+
+
+ class CHProp
+
+-
+
+!
+
+
+
+
+!
+! class CHProp
+! Property box dialog for Transitions. More...
+
+!
+!
+
+
+
+
+!
+! Public Methods CHProp ( QWidget *parent, const char *name, CDoc *pDoc )
+
+! Private Slots void accept ()
+
+! void SignalSel (int)
+
+! void SetEvent ()
+
+! void AddSignal ()
+!
+! void DelSignal ()
+!
+! Private Members QLabel *SignalName
+! QButtonGroup *bg
+! QRadioButton *rb1
+! QRadioButton *rb2
+! QRadioButton *rb3
+! QComboBox *status
+! QButtonGroup *frame1
+! QComboBox *cb
+! QPushButton *DelBut
+! QButtonGroup *frame2
+! QLineEdit *newSignalEdit
+! QPushButton *AddBut
+! QPushButton *AttachBut
+! CDoc *pDocument
+! CSObList *pSignalList
+! CTrans *pSTrans
+! CSSignal *pSignal
+! EVENT eventValue
+! SIGNAL_STATUS statusValue
+! Detailed Description
+ Property box dialog for Transitions.
+!
Author : Hans P. Palbøl and Sune Frankild
+! Generated : hans@hanspp on Sat Mar 31 23:09:47 2001, using kdoc 2.0a35.
+--- 1,92 ----
+
+
+ class CHProp
++
+
+
+!
+
+
+
+
+!
+! class CHProp
+
+!
+! Property box dialog for Transitions. More...
+
+
+
+
+!
+! Public Methods CHProp ( QWidget *parent, const char *name, CDoc *pDoc )
+
+! Private Slots Private Members
+ Property box dialog for Transitions.
+!
+!
+! QLabel * SignalName
+! SignalName
[private]
[private]
QRadioButton * rb1
+! rb1
[private]
QRadioButton * rb2
+! rb2
[private]
QRadioButton * rb3
+! rb3
[private]
QComboBox * status
+! status
[private]
QButtonGroup * frame1
+! frame1
[private]
[private]
QPushButton * DelBut
+! DelBut
[private]
QButtonGroup * frame2
+! frame2
[private]
QLineEdit * newSignalEdit
+! newSignalEdit
[private]
QPushButton * AddBut
+! AddBut
[private]
QPushButton * AttachBut
+! AttachBut
[private]
CDoc * pDocument
+! pDocument
[private]
[private]
[private]
[private]
EVENT eventValue
+! eventValue
[private]
[private]
[private slots slot]
void SignalSel (int)
+! SignalSel
[private slots slot]
void SetEvent ()
+! SetEvent
[private slots slot]
void AddSignal ()
+! AddSignal
[private slots slot]
void DelSignal ()
+! DelSignal
[private slots slot]
CHProp ( QWidget *parent, const char *name, CDoc *pDoc )
+! CHProp
Author : Hans P. Palbøl and Sune Frankild
+! Generated : chrb on europa.dcs.ed.ac.uk on Wed Sep 25 17:51:01 2002, using kdoc 2.0a54.
+diff -u -r -c vstgl-0.6.1.orig/Doc/CHProp_h.html vstgl-0.6.1/Doc/CHProp_h.html
+*** vstgl-0.6.1.orig/Doc/CHProp_h.html Sat Mar 31 22:09:48 2001
+--- vstgl-0.6.1/Doc/CHProp_h.html Wed Sep 25 17:51:01 2002
+***************
+*** 1,38 ****
+
+
+ Source: CHProp.h
+
+-
+
+!
+
+
+
+
+!
+! Source: CHProp.h
+
+!
+!
+
+
+
+
+!
+
+ // ////////////////////////////////////////////////////////////////////////////
+ //
+ // Filename CHProp.h
+ //
+! // Author Hans Palbøl & Sune Frankild
+ //
+ // Created 18-01-1999
+ //
+--- 1,36 ----
+
+
+ Source: CHProp.h
++
+
+
+!
+
+
+
+
+!
+! Source: CHProp.h
+
+!
+
+
+
+
+!
+
+ // ////////////////////////////////////////////////////////////////////////////
+ //
+ // Filename CHProp.h
+ //
+! // Author Hans Palbøl & Sune Frankild
+ //
+ // Created 18-01-1999
+ //
+***************
+*** 49,63 ****
+ #include "Simulation.h"
+
+
+! #include <qpushbutton.h>
+! #include <qdialog.h>
+! #include <qlabel.h>
+! #include <qcombobox.h>
+! #include <qradiobutton.h>
+! #include <qbuttongroup.h>
+! #include <qstring.h>
+! #include <qmessagebox.h>
+! #include <qlineedit.h>
+
+
+ /**
+--- 47,61 ----
+ #include "Simulation.h"
+
+
+! #include
+! #include
+! #include
+! #include
+! #include
+! #include
+! #include
+! #include
+! #include
+
+
+ /**
+***************
+*** 72,78 ****
+
+ private:
+
+! // Signal & Event
+ QLabel *SignalName;
+ QButtonGroup *bg;
+ QRadioButton *rb1;
+--- 70,76 ----
+
+ private:
+
+! // Signal & Event
+ QLabel *SignalName;
+ QButtonGroup *bg;
+ QRadioButton *rb1;
+***************
+*** 116,122 ****
+
+
+
+! Generated by: hans@hanspp on Sat Mar 31 23:09:47 2001, using kdoc 2.0a35.
+
+
+
+--- 114,120 ----
+
+
+
+! Generated by: chrb on europa.dcs.ed.ac.uk on Wed Sep 25 17:51:01 2002, using kdoc 2.0a54.
+
+
+
+diff -u -r -c vstgl-0.6.1.orig/Doc/CMainApp.html vstgl-0.6.1/Doc/CMainApp.html
+*** vstgl-0.6.1.orig/Doc/CMainApp.html Sat Mar 31 22:09:48 2001
+--- vstgl-0.6.1/Doc/CMainApp.html Wed Sep 25 17:51:01 2002
+***************
+*** 1,112 ****
+
+
+ class CMainApp
+
+-
+
+!
+
+
+
+
+!
+! class CMainApp
+! Main application. More...
+
+!
+!
+
+
+
+
+!
+! Public Methods CMainApp ( QWidget *parent=0, const char *name="mainapp" )
+
+! ~ CMainApp ()
+
+! void ShowInfo ()
+
+! Signals void SnapToggle ()
+
+! void Mode ( int m )
+
+! void Save ()
+
+! Protected Methods void closeEvent ( QCloseEvent *e )
+
+! Private Methods void buildMenuBar ( QWidget *parent, const char *name )
+
+! void buildToolBar ( QWidget *parent, const char *name )
+
+! void OnSave ()
+
+! Private Slots void aboutBox ()
+
+! void aboutQt ()
+
+! void newDoc ()
+
+! void ToggleSnap ()
+
+! void modeChange ( const char *txt )
+
+! void TitleChange ( const char *txt )
+
+! void SetMode ( int index )
+
+! void OnUpdateMode ()
+
+! void Close ()
+
+! void UpdateMenu ()
+
+! void showHelp ()
+
+! void EditSettings ()
+
+! void Style ()
+
+! void StyleCDE ()
+
+! void StyleWindows ()
+
+! void StyleMotif ()
+
+! void StylePlatinum ()
+
+! Private Members QToolBar *fileTools
+! QPushButton *quit
+! QMenuBar *menu
+! CDoc *doc
+! QPopupMenu *view
+! QPopupMenu *mode
+! QPopupMenu *comp
+! QPopupMenu *file
+! QPopupMenu *edit
+! QPopupMenu *network
+! QPopupMenu *help
+! QStatusBar *sb
+! QLabel *pMode
+! QLabel *pMode2
+! QLabel *pMode3
+! QString sOldModeTxt
+! QSplitter *split
+! CTabCtrl *tab
+! QTextBrowser *helpWin
+! Detailed Description
+ Main application.
+ This class handles a lot of the user interaction tasks e.g. menu,
+ toolbar and resizeing events.
+!
Author : Hans Palbøl and Sune Frankild
+! Generated : hans@hanspp on Sat Mar 31 23:09:47 2001, using kdoc 2.0a35.
+--- 1,157 ----
+
+
+ class CMainApp
++
+
+
+!
+
+
+
+
+!
+! class CMainApp
+
+!
+! Main application. More...
+
+
+
+
+!
+! Public Methods Signals Protected Methods Private Methods Private Slots Private Members
+ Main application.
+ This class handles a lot of the user interaction tasks e.g. menu,
+ toolbar and resizeing events.
+!
+!
+! CMainApp ( QWidget *parent=0, const char *name="mainapp" )
+! CMainApp
~CMainApp ()
+! ~CMainApp
void ShowInfo ()
+! ShowInfo
void closeEvent ( QCloseEvent *e )
+! closeEvent
[protected]
QToolBar * fileTools
+! fileTools
[private]
QPushButton * quit
+! quit
[private]
[private]
[private]
QPopupMenu * view
+! view
[private]
QPopupMenu * mode
+! mode
[private]
QPopupMenu * comp
+! comp
[private]
QPopupMenu * file
+! file
[private]
QPopupMenu * edit
+! edit
[private]
QPopupMenu * network
+! network
[private]
QPopupMenu * help
+! help
[private]
[private]
[private]
QLabel * pMode2
+! pMode2
[private]
QLabel * pMode3
+! pMode3
[private]
QString sOldModeTxt
+! sOldModeTxt
[private]
QSplitter * split
+! split
[private]
[private]
QTextBrowser * helpWin
+! helpWin
[private]
void buildMenuBar ( QWidget *parent, const char *name )
+! buildMenuBar
[private]
void buildToolBar ( QWidget *parent, const char *name )
+! buildToolBar
[private]
[private]
void aboutBox ()
+! aboutBox
[private slots slot]
void aboutQt ()
+! aboutQt
[private slots slot]
[private slots slot]
void ToggleSnap ()
+! ToggleSnap
[private slots slot]
void modeChange ( const char *txt )
+! modeChange
[private slots slot]
void TitleChange ( const char *txt )
+! TitleChange
[private slots slot]
void SetMode ( int index )
+! SetMode
[private slots slot]
void OnUpdateMode ()
+! OnUpdateMode
[private slots slot]
[private slots slot]
void UpdateMenu ()
+! UpdateMenu
[private slots slot]
void showHelp ()
+! showHelp
[private slots slot]
void EditSettings ()
+! EditSettings
[private slots slot]
[private slots slot]
void StyleCDE ()
+! StyleCDE
[private slots slot]
void StyleWindows ()
+! StyleWindows
[private slots slot]
void StyleMotif ()
+! StyleMotif
[private slots slot]
void StylePlatinum ()
+! StylePlatinum
[private slots slot]
void SnapToggle ()
+! SnapToggle
[signal]
void Mode ( int m )
+! Mode
[signal]
[signal]
Author : Hans Palbøl and Sune Frankild
+! Generated : chrb on europa.dcs.ed.ac.uk on Wed Sep 25 17:51:01 2002, using kdoc 2.0a54.
+diff -u -r -c vstgl-0.6.1.orig/Doc/CMainApp_h.html vstgl-0.6.1/Doc/CMainApp_h.html
+*** vstgl-0.6.1.orig/Doc/CMainApp_h.html Sat Mar 31 22:09:48 2001
+--- vstgl-0.6.1/Doc/CMainApp_h.html Wed Sep 25 17:51:01 2002
+***************
+*** 1,38 ****
+
+
+ Source: CMainApp.h
+
+-
+
+!
+
+
+
+
+!
+! Source: CMainApp.h
+
+!
+!
+
+
+
+
+!
+
+ // ////////////////////////////////////////////////////////////////////////////
+ //
+ // Filename CMainApp.h
+ //
+! // Author Hans Palbøl & Sune Frankild
+ //
+ // Created 18-01-1999
+ //
+--- 1,36 ----
+
+
+ Source: CMainApp.h
++
+
+
+!
+
+
+
+
+!
+! Source: CMainApp.h
+
+!
+
+
+
+
+!
+
+ // ////////////////////////////////////////////////////////////////////////////
+ //
+ // Filename CMainApp.h
+ //
+! // Author Hans Palbøl & Sune Frankild
+ //
+ // Created 18-01-1999
+ //
+***************
+*** 44,63 ****
+ #ifndef __CHMAINAPP_H__
+ #define __CMAINAPP_H__
+
+! #include <qapplication.h>
+! #include <qpushbutton.h>
+! #include <qfont.h>
+! #include <qmenubar.h>
+! #include <qpopupmenu.h>
+! #include <qmainwindow.h>
+! #include <qmessagebox.h>
+! #include <qtoolbar.h>
+! #include <qtoolbutton.h>
+! #include <qevent.h>
+! #include <qsplitter.h>
+! #include <qmultilinedit.h>
+! #include <qtextbrowser.h>
+! #include <qtabbar.h>
+
+ #include "CDoc.h"
+ #include "CTabCtrl.h"
+--- 42,61 ----
+ #ifndef __CHMAINAPP_H__
+ #define __CMAINAPP_H__
+
+! #include
+! #include
+! #include
+! #include
+! #include
+! #include
+! #include
+! #include
+! #include
+! #include
+! #include
+! #include
+! #include
+! #include
+
+ #include "CDoc.h"
+ #include "CTabCtrl.h"
+***************
+*** 161,167 ****
+
+
+
+! Generated by: hans@hanspp on Sat Mar 31 23:09:47 2001, using kdoc 2.0a35.
+
+
+
+--- 159,165 ----
+
+
+
+! Generated by: chrb on europa.dcs.ed.ac.uk on Wed Sep 25 17:51:01 2002, using kdoc 2.0a54.
+
+
+
+diff -u -r -c vstgl-0.6.1.orig/Doc/CNet.html vstgl-0.6.1/Doc/CNet.html
+*** vstgl-0.6.1.orig/Doc/CNet.html Sat Mar 31 22:09:48 2001
+--- vstgl-0.6.1/Doc/CNet.html Wed Sep 25 17:51:01 2002
+***************
+*** 1,22 ****
+
+
+ class CNet
+
+-
+
+!
+
+
+
+
+!
+! class CNet
+! Graphical Transition class derived from CComp. More...
+
+!
+!
+
+
+
+--- 1,19 ----
+
+
+ class CNet
++
+
+
+!
+
+
+
+
+!
+! class CNet
+
+!
+! Graphical Transition class derived from CComp. More...
+
+
+
+
+!
+! Public Methods
+
+!
+! Public Methods CNet ()
+
+! ~CNet ()
+
+ void Insert ( CComp * )
+
+***************
+*** 41,47 ****
+
+ void Connect ( CComp *, CComp * )
+
+! void SetTransProperties ( CSSignal *, EVENT, CTrans *, SIGNAL_VALUE, SIGNAL_STATUS )
+
+ void DeleteConnection ( CComp *, CComp * )
+
+--- 38,44 ----
+
+ void Connect ( CComp *, CComp * )
+
+! void SetTransProperties ( CSSignal *, EVENT , CTrans *, SIGNAL_VALUE , SIGNAL_STATUS )
+
+ void DeleteConnection ( CComp *, CComp * )
+
+***************
+*** 63,127 ****
+
+ void CountSimilarTrans ()
+
+! UINT Time ()
+
+! Public Members CSSignal*m_null_signal
+! Protected Methods CComp * GetComp ( CHObject * )
+
+! CComp * GetCompFromIndex ( int )
+
+! CComp * GetComponent ( const char* )
+
+! CSObList * GetReadyTrans ()
+
+! POSITION Find ( CComp * )
+
+! bool Rename ( char*, char* )
+
+! void SelectReadyTransitions ()
+
+! Protected Members int m_no_places
+! int m_no_trans
+! CSObList m_components
+! CSObList m_ready_trans
+! CSObList m_last_fired
+! CSObList m_signals
+! CComp*m_ptr
+! UINT m_time
+! Private Members friend class CHProp
+! friend class CDoc
+! friend class CTabCtrl
+! friend class CSProp
+! Detailed Description
+ Graphical Transition class derived from CComp.
+!
Destructor releasing the allocated memory due to the CObLists, but not
+ the memory for any inserted Petri Net components. This is assumed to be done
+! by the CDoc class.
void Insert ( CComp * )
+!
Inserts a pointer to a CComp object provided by the user (this is assumed to be class CDoc).
+ The object name is automaticly renamed into a unique name. No two components inserted through
+! this interface will ever hav the same name.
Only unique Signals will be inserted in the signals list. Unique in the sense that
+! the signal name is unique.
Component A adds an output link to component B and an input link back from B to A.
+! Therefor a link is always a double pointer pair.
void SetTransProperties ( CSSignal *, EVENT, CTrans *, SIGNAL_VALUE, SIGNAL_STATUS )
+!
Input is retrieved from the Property-Box (class CHProp) on behavlf of user interaction.
+! Interface for the GUI when a CSSignal is attached to a CSTrans.
Deletes all links from A to B, not in the oppersit direction.
void MarkNetwork ( CComp *, int )
+!
If CComp is a CSPlace the tokens number of tokens is put on it thereby marking the network.
void Remove ( CComp * item )
+!
Removes a component from the Petri Net. It is assumed that use of this function is done with care,
+! because of it will cause a crash if item actualy is not a member of the Petri Net.
Prints debug information about the contens of the net to the default system output.
Returns the number of net components.
CSSignal * FindSignal ( const char* name )
+!
If name refers to a signal, the corresponding pointer is returned. Else NULL is returned.
bool IsSignalUsed ( const char* name )
+!
if signal (by name) is used by at leats one transition, then true is returned else false
Choses a random, ready-to-fire CSTrans and fires it.
+ Fires a randomly ordered group of ready-to-fire CSTrans(itions). The algorithm is designed so it handles
+ the possibility, that the firering of some transitions can disclose others from being alble to fire its token(s).
+ Mutual Excluded transitions can not both be fired. Only one will be randomly chosen and thereby maybe excluding
+ others. Using this function will simulate a parallel firering of a unknown number of transitions.
+!
void CountSimilarTrans ()
+!
Generates and stores index information in the signals about the number of transitions that is similar in the sense,
+! that they hav attached the same signal with the same event on it. Used when CDoc is about to save work to disk.
Author : Hans P. Palbøl and Sune Frankild
+! Generated : hans@hanspp on Sat Mar 31 23:09:47 2001, using kdoc 2.0a35.
+--- 60,156 ----
+
+ void CountSimilarTrans ()
+
+! UINT Time ()
+
+! Public Members Protected Methods Protected Members Private Members
+ Graphical Transition class derived from CComp.
+!
+!
+! friend class CHProp
+! CHProp
[private]
friend class CDoc
+! CDoc
[private]
friend class CTabCtrl
+! CTabCtrl
[private]
friend class CSProp
+! CSProp
[private]
int m_no_places
+! m_no_places
[protected]
int m_no_trans
+! m_no_trans
[protected]
[protected]
[protected]
[protected]
[protected]
[protected]
[protected]
CSSignal * m_null_signal
+! m_null_signal
Destructor releasing the allocated memory due to the CObLists, but not
+ the memory for any inserted Petri Net components. This is assumed to be done
+! by the CDoc class.
+! void Insert ( CComp * )
+! Insert
Inserts a pointer to a CComp object provided by the user (this is assumed to be class CDoc).
+ The object name is automaticly renamed into a unique name. No two components inserted through
+! this interface will ever hav the same name.
+! bool InsertSignal ( CSSignal * )
+! InsertSignal
Only unique Signals will be inserted in the signals list. Unique in the sense that
+! the signal name is unique.
+!
Component A adds an output link to component B and an input link back from B to A.
+! Therefor a link is always a double pointer pair.
+!
Input is retrieved from the Property-Box (class CHProp) on behavlf of user interaction.
+! Interface for the GUI when a CSSignal is attached to a CSTrans.
+! void DeleteConnection ( CComp *, CComp * )
+! DeleteConnection
void MarkNetwork ( CComp *, int )
+! MarkNetwork
void Remove ( CComp * item )
+! Remove
Removes a component from the Petri Net. It is assumed that use of this function is done with care,
+! because of it will cause a crash if item actualy is not a member of the Petri Net.
+!
int GetNoSignals ()
+! GetNoSignals
CSSignal * FindSignal ( const char* name )
+! FindSignal
bool IsSignalUsed ( const char* name )
+! IsSignalUsed
CSObList * FireInParallel ()
+! FireInParallel
+ Fires a randomly ordered group of ready-to-fire CSTrans(itions). The algorithm is designed so it handles
+ the possibility, that the firering of some transitions can disclose others from being alble to fire its token(s).
+ Mutual Excluded transitions can not both be fired. Only one will be randomly chosen and thereby maybe excluding
+ others. Using this function will simulate a parallel firering of a unknown number of transitions.
+!
+! void CountSimilarTrans ()
+! CountSimilarTrans
Generates and stores index information in the signals about the number of transitions that is similar in the sense,
+! that they hav attached the same signal with the same event on it. Used when CDoc is about to save work to disk.
+!
[protected]
CComp * GetCompFromIndex ( int )
+! GetCompFromIndex
[protected]
CComp * GetComponent ( const char* )
+! GetComponent
[protected]
CSObList * GetReadyTrans ()
+! GetReadyTrans
[protected]
[protected]
bool Rename ( char*, char* )
+! Rename
[protected]
void SelectReadyTransitions ()
+! SelectReadyTransitions
[protected]
Author : Hans P. Palbøl and Sune Frankild
+! Generated : chrb on europa.dcs.ed.ac.uk on Wed Sep 25 17:51:01 2002, using kdoc 2.0a54.
+diff -u -r -c vstgl-0.6.1.orig/Doc/CNet_h.html vstgl-0.6.1/Doc/CNet_h.html
+*** vstgl-0.6.1.orig/Doc/CNet_h.html Sat Mar 31 22:09:48 2001
+--- vstgl-0.6.1/Doc/CNet_h.html Wed Sep 25 17:51:01 2002
+***************
+*** 1,38 ****
+
+
+ Source: CNet.h
+
+-
+
+!
+
+
+
+
+!
+! Source: CNet.h
+
+!
+!
+
+
+
+
+!
+
+ #ifndef __CNET_H__
+ #define __CNET_H__
+
+
+! #include <qscrollview.h>
+
+
+ #include "Simulation.h"
+--- 1,36 ----
+
+
+ Source: CNet.h
++
+
+
+!
+
+
+
+
+!
+! Source: CNet.h
+
+!
+
+
+
+
+!
+
+ #ifndef __CNET_H__
+ #define __CNET_H__
+
+
+! #include
+
+
+ #include "Simulation.h"
+***************
+*** 169,175 ****
+
+
+
+! Generated by: hans@hanspp on Sat Mar 31 23:09:47 2001, using kdoc 2.0a35.
+
+
+
+--- 167,173 ----
+
+
+
+! Generated by: chrb on europa.dcs.ed.ac.uk on Wed Sep 25 17:51:01 2002, using kdoc 2.0a54.
+
+
+
+diff -u -r -c vstgl-0.6.1.orig/Doc/CPlace.html vstgl-0.6.1/Doc/CPlace.html
+*** vstgl-0.6.1.orig/Doc/CPlace.html Sat Mar 31 22:09:48 2001
+--- vstgl-0.6.1/Doc/CPlace.html Wed Sep 25 17:51:01 2002
+***************
+*** 1,41 ****
+
+
+ class CPlace
+
+-
+
+!
+
+
+
+
+!
+! class CPlace
+! Place component object. More...
+
+!
+!
+
+
+
+
+!
+ Public Methods CPlace ( QWidget *parent, const char *name, CDoc *doc )
+
+ CPlace ( QWidget *parent, int xpos, int ypos, CDoc *doc )
+
+! ~ CPlace ()
+
+ void Draw ( QPainter *p )
+
+--- 1,38 ----
+
+
+ class CPlace
++
+
+
+!
+
+
+
+
+!
+! class CPlace
+
+!
+! Place component object. More...
+
+
+
+
+!
+ Public Methods CPlace ( QWidget *parent, const char *name, CDoc *doc )
+
+ CPlace ( QWidget *parent, int xpos, int ypos, CDoc *doc )
+
+! ~CPlace ()
+
+ void Draw ( QPainter *p )
+
+***************
+*** 69,171 ****
+
+ void AutoPos ( CComp *obj1, CComp *obj2 )
+
+! Private Members int m_tokens
+! bool m_visible
+! bool m_stg_fault
+! QWidget *m_parent
+! Detailed Description
+ Place component object.
+!
CPlace ( QWidget *parent, const char *name, CDoc *doc )
+!
+ Constructs a place component with a default position.
+!
CPlace ( QWidget *parent, int xpos, int ypos, CDoc *doc )
+!
+ Constructs a place component with a defined position.
+!
+ Destructs place component.
+!
void Draw ( QPainter *p )
+!
+ Performs the drawing of the widget. Every component derived from the
+ CComp class must overload this member.
+!
Parameters :
+ p pointer to a QPainter object.
+
+
+! Reimplemented from CComp
+!
+ Draw and update the widget mask. Making the components transparent
+ requires a bitmap mask to be set for the widget. This mask needs
+ to be changed dynamically when ever the component changes shape or
+ state.
+!
Reimplemented from CComp
+! bool WriteEPS ( char *eps )
+!
+ Writes a PostScript representation of the place component. Called
+ from CDoc when writing the whole graph to an eps file.
+!
Reimplemented from CComp
+!
+ Returns the number of tokens.
+!
void SetTokens ( int nb )
+!
+ Sets the number of tokens.
+!
void DecrementTokens ()
+!
+ Removes one token from the place.
+!
void IncrementTokens ()
+!
+ Adds one token to the place.
+!
+ Returns the visibility state of the place.
+!
void SetVisible ( bool value )
+!
+ Sets the visibility state of the token.
+!
void SetSTGFault ( bool value )
+!
+ Sets the fault flag of the place. If a place ever receives more
+ than one token it is a fault and this flag should be set. A place
+ with the STGFault flag set is drawn in red to attract attention.
+!
void mouseMoveEvent ( QMouseEvent *e )
+!
[protected]
+ Overloaded from CComp since move behavior is a bit different
+ from the general component. Places have a hidden or non-visible
+ state in which it's position is determined by the transitions
+ connected to it. Moving a place is only possible when it is
+ visible.
+!
Parameters :
+ e pointer to an event telling who caused the move event
+
+
+! Reimplemented from CComp
+! void mouseDoubleClickEvent ( QMouseEvent * e )
+!
[protected]
+ Overloaded from CComp since double clicking a place should
+ toggle the presence of a token.
+!
[private]
+ Performs the initialization shared by several constructors.
+!
[private]
+ Makes the place position itself exactly between the two connected
+ transitions. This is only allowed when:
+!
+ the place is connected to exactly two transitions
+
+ the place is not visible
+
+!
+!
If AutoPos() is called when some or none of the above mentioned
+ rules are not fulfilled nothing will happen.
+!
[slot]
+ Tells the component to position itself automatically.
+!
void linkObj ( CComp * )
+!
[signal]
+ Signal emitted when a link is beeing made from the component.
+!
Reimplemented from CComp
+ Version : 0.6.0
+ Author : Hans P. Palbøl and Sune Frankild
+! Generated : hans@hanspp on Sat Mar 31 23:09:47 2001, using kdoc 2.0a35.
+--- 66,205 ----
+
+ void AutoPos ( CComp *obj1, CComp *obj2 )
+
+! Private Members
+ Place component object.
+!
+!
+! [private]
bool m_visible
+! m_visible
[private]
bool m_stg_fault
+! m_stg_fault
[private]
QWidget * m_parent
+! m_parent
[private]
CPlace ( QWidget *parent, const char *name, CDoc *doc )
+! CPlace
+ Constructs a place component with a default position.
+!
+! CPlace ( QWidget *parent, int xpos, int ypos, CDoc *doc )
+! CPlace
+ Constructs a place component with a defined position.
+!
+!
+ Destructs place component.
+!
+! void Draw ( QPainter *p )
+! Draw
+ Performs the drawing of the widget. Every component derived from the
+ CComp class must overload this member.
+!
+!
+! Parameters :
+ p pointer to a QPainter object.
+
+
+! See also : Draw
+! Reimplemented from CComp .
+! void CreateMask ()
+! CreateMask
+ Draw and update the widget mask. Making the components transparent
+ requires a bitmap mask to be set for the widget. This mask needs
+ to be changed dynamically when ever the component changes shape or
+ state.
+!
+!
+! See also : CreateMask
+! Reimplemented from CComp .
+! bool WriteEPS ( char *eps )
+! WriteEPS
+ Writes a PostScript representation of the place component. Called
+ from CDoc when writing the whole graph to an eps file.
+!
+! Reimplemented from CComp .
+! int GetTokens ()
+! GetTokens
+ Returns the number of tokens.
+!
+! void SetTokens ( int nb )
+! SetTokens
+ Sets the number of tokens.
+!
+! void DecrementTokens ()
+! DecrementTokens
+ Removes one token from the place.
+!
+! void IncrementTokens ()
+! IncrementTokens
+ Adds one token to the place.
+!
+! bool IsVisible ()
+! IsVisible
+ Returns the visibility state of the place.
+!
+! void SetVisible ( bool value )
+! SetVisible
+ Sets the visibility state of the token.
+!
+! void SetSTGFault ( bool value )
+! SetSTGFault
+ Sets the fault flag of the place. If a place ever receives more
+ than one token it is a fault and this flag should be set. A place
+ with the STGFault flag set is drawn in red to attract attention.
+!
+! void mouseMoveEvent ( QMouseEvent *e )
+! mouseMoveEvent
[protected]
+ Overloaded from CComp since move behavior is a bit different
+ from the general component. Places have a hidden or non-visible
+ state in which it's position is determined by the transitions
+ connected to it. Moving a place is only possible when it is
+ visible.
+!
+!
+! Parameters :
+ e pointer to an event telling who caused the move event
+
+
+! See also : mouseMoveEvent
+! Reimplemented from CComp .
+! void mouseDoubleClickEvent ( QMouseEvent * e )
+! mouseDoubleClickEvent
[protected]
+ Overloaded from CComp since double clicking a place should
+ toggle the presence of a token.
+!
+! [private]
+ Performs the initialization shared by several constructors.
+!
+! void AutoPos ( CComp *obj1, CComp *obj2 )
+! AutoPos
[private]
+ Makes the place position itself exactly between the two connected
+ transitions. This is only allowed when:
+!
+!
+!
+!
+ the place is connected to exactly two transitions
+
+ the place is not visible
+
+!
+!
+!
+!
+! If AutoPos() is called when some or none of the above mentioned
+ rules are not fulfilled nothing will happen.
+!
+! void setAutoPos ()
+! setAutoPos
[slot]
+ Tells the component to position itself automatically.
+!
+! void linkObj ( CComp * )
+! linkObj
[signal]
+ Signal emitted when a link is beeing made from the component.
+!
+! Reimplemented from CComp .
+ Version : 0.6.0
+ Author : Hans P. Palbøl and Sune Frankild
+! Generated : chrb on europa.dcs.ed.ac.uk on Wed Sep 25 17:51:01 2002, using kdoc 2.0a54.
+diff -u -r -c vstgl-0.6.1.orig/Doc/CPlace_h.html vstgl-0.6.1/Doc/CPlace_h.html
+*** vstgl-0.6.1.orig/Doc/CPlace_h.html Sat Mar 31 22:09:48 2001
+--- vstgl-0.6.1/Doc/CPlace_h.html Wed Sep 25 17:51:01 2002
+***************
+*** 1,38 ****
+
+
+ Source: CPlace.h
+
+-
+
+!
+
+
+
+
+!
+! Source: CPlace.h
+
+!
+!
+
+
+
+
+!
+
+ //////////////////////////////////////////////////////////////////////////////
+ //
+ // Filename CPlace.h
+ //
+! // Author Hans Palbøl & Sune Frankild
+ //
+ // Created 14-11-1999
+ //
+--- 1,36 ----
+
+
+ Source: CPlace.h
++
+
+
+!
+
+
+
+
+!
+! Source: CPlace.h
+
+!
+
+
+
+
+!
+
+ //////////////////////////////////////////////////////////////////////////////
+ //
+ // Filename CPlace.h
+ //
+! // Author Hans Palbøl & Sune Frankild
+ //
+ // Created 14-11-1999
+ //
+***************
+*** 47,57 ****
+ #include "CComp.h"
+ #include "defs.h"
+
+! #include <qrect.h>
+! #include <qpoint.h>
+! #include <qstring.h>
+! #include <qwidget.h>
+! #include <qsize.h>
+
+
+ /**
+--- 45,55 ----
+ #include "CComp.h"
+ #include "defs.h"
+
+! #include
+! #include
+! #include
+! #include
+! #include
+
+
+ /**
+***************
+*** 222,228 ****
+
+
+
+! Generated by: hans@hanspp on Sat Mar 31 23:09:47 2001, using kdoc 2.0a35.
+
+
+
+--- 220,226 ----
+
+
+
+! Generated by: chrb on europa.dcs.ed.ac.uk on Wed Sep 25 17:51:01 2002, using kdoc 2.0a54.
+
+
+
+diff -u -r -c vstgl-0.6.1.orig/Doc/CPrefs.html vstgl-0.6.1/Doc/CPrefs.html
+*** vstgl-0.6.1.orig/Doc/CPrefs.html Sat Mar 31 22:09:48 2001
+--- vstgl-0.6.1/Doc/CPrefs.html Wed Sep 25 17:51:01 2002
+***************
+*** 1,50 ****
+
+
+ class CPrefs
+
+-
+
+!
+
+
+
+
+!
+! class CPrefs
+
+!
+!
+
+
+
+
+!
+! Public Methods CPrefs ( QWidget *parent, const char *name )
+
+! Private Slots void OnTabClick ( int index )
+
+! void accept ()
+
+! Private Members QTabBar *tab
+! QTab *t1
+! QTab *t2
+! QTab *t3
+! QWidgetStack *wStack
+! CSet1 *prop1
+! CSet2 *prop2
+!
+
+! Generated by: hans@hanspp on Sat Mar 31 23:09:47 2001, using kdoc 2.0a35.
+
+
+
+--- 1,58 ----
+
+
+ class CPrefs
++
+
+
+!
+
+
+
+
+!
+! class CPrefs
+
+!
+
+
+
+
+!
+! Public Methods CPrefs ( QWidget *parent, const char *name )
+
+! Private Slots Private Members [private]
[private]
[private]
[private]
QWidgetStack * wStack
+! wStack
[private]
[private]
[private]
void OnTabClick ( int index )
+! OnTabClick
[private slots slot]
[private slots slot]
CPrefs ( QWidget *parent, const char *name )
+! CPrefs
+
+! Generated by: chrb on europa.dcs.ed.ac.uk on Wed Sep 25 17:51:01 2002, using kdoc 2.0a54.
+
+
+
+diff -u -r -c vstgl-0.6.1.orig/Doc/CPrefs_h.html vstgl-0.6.1/Doc/CPrefs_h.html
+*** vstgl-0.6.1.orig/Doc/CPrefs_h.html Sat Mar 31 22:09:48 2001
+--- vstgl-0.6.1/Doc/CPrefs_h.html Wed Sep 25 17:51:01 2002
+***************
+*** 1,38 ****
+
+
+ Source: CPrefs.h
+
+-
+
+!
+
+
+
+
+!
+! Source: CPrefs.h
+
+!
+!
+
+
+
+
+!
+
+ // ////////////////////////////////////////////////////////////////////////////
+ //
+ // Filename CPrefs.h
+ //
+! // Author Hans Palbøl & Sune Frankild
+ //
+ // Created 29-03-1999
+ //
+--- 1,36 ----
+
+
+ Source: CPrefs.h
++
+
+
+!
+
+
+
+
+!
+! Source: CPrefs.h
+
+!
+
+
+
+
+!
+
+ // ////////////////////////////////////////////////////////////////////////////
+ //
+ // Filename CPrefs.h
+ //
+! // Author Hans Palbøl & Sune Frankild
+ //
+ // Created 29-03-1999
+ //
+***************
+*** 47,56 ****
+ #include "CSet1.h"
+ #include "CSet2.h"
+
+! #include <qdialog.h>
+! #include <qtabbar.h>
+! #include <qwidgetstack.h>
+! #include <qlabel.h>
+
+
+
+--- 45,54 ----
+ #include "CSet1.h"
+ #include "CSet2.h"
+
+! #include
+! #include
+! #include
+! #include
+
+
+
+***************
+*** 79,85 ****
+
+
+
+! Generated by: hans@hanspp on Sat Mar 31 23:09:47 2001, using kdoc 2.0a35.
+
+
+
+--- 77,83 ----
+
+
+
+! Generated by: chrb on europa.dcs.ed.ac.uk on Wed Sep 25 17:51:01 2002, using kdoc 2.0a54.
+
+
+
+diff -u -r -c vstgl-0.6.1.orig/Doc/CSObList.html vstgl-0.6.1/Doc/CSObList.html
+*** vstgl-0.6.1.orig/Doc/CSObList.html Sat Mar 31 22:09:48 2001
+--- vstgl-0.6.1/Doc/CSObList.html Wed Sep 25 17:51:01 2002
+***************
+*** 1,22 ****
+
+
+ class CSObList
+
+-
+
+!
+
+
+
+
+!
+! class CSObList
+! Double-linked list of CHObject pointers. More...
+
+!
+!
+
+
+
+
+!
+! Public Methods Protected Members
+ Double-linked list of CHObject pointers.
+ CSObList implements an ordinary doubled-linked list capable
+ of storing pointers to CHObjects trough its list nodes
+***************
+*** 77,84 ****
+ providing a POSITION to some of the member functions like
+ RemoveAt(.), the POSITIONS is allways a valid one for
+ the list. If not the program will most likely fail.
+!
The general idea is that you find a POSITION via Find(...) or
+ FindIndex(.) and the retrieve the CHObject* from GetAt(...) or
+ remove the POSITION via RemoveAt(...).
+!
Author : Sune Frankild and Hans Palbøl
+! Generated : hans@hanspp on Sat Mar 31 23:09:47 2001, using kdoc 2.0a35.
+--- 74,105 ----
+ providing a POSITION to some of the member functions like
+ RemoveAt(.), the POSITIONS is allways a valid one for
+ the list. If not the program will most likely fail.
+!
+! The general idea is that you find a POSITION via Find(...) or
+ FindIndex(.) and the retrieve the CHObject* from GetAt(...) or
+ remove the POSITION via RemoveAt(...).
+!
+!
+!
~CSObList ()
+! ~CSObList
POSITION GetHeadPosition ()
+! GetHeadPosition
POSITION GetTailPosition ()
+! GetTailPosition
int GetCount ()
+! GetCount
POSITION FindIndex ( int index )
+! FindIndex
int GetIndex ( CHObject * pObj )
+! GetIndex
void RemoveAt ( POSITION pPosition )
+! RemoveAt
bool IsEmpty ()
+! IsEmpty
void RemoveAll ()
+! RemoveAll
[protected]
[protected]
[protected]
[protected]
Author : Sune Frankild and Hans Palbøl
+! Generated : chrb on europa.dcs.ed.ac.uk on Wed Sep 25 17:51:01 2002, using kdoc 2.0a54.
+diff -u -r -c vstgl-0.6.1.orig/Doc/CSObList_h.html vstgl-0.6.1/Doc/CSObList_h.html
+*** vstgl-0.6.1.orig/Doc/CSObList_h.html Sat Mar 31 22:09:48 2001
+--- vstgl-0.6.1/Doc/CSObList_h.html Wed Sep 25 17:51:01 2002
+***************
+*** 1,31 ****
+
+
+ Source: CSObList.h
+
+-
+
+!
+
+
+
+
+!
+! Source: CSObList.h
+
+!
+!
+
+
+
+
+!
+
+ #ifndef __CSOBLIST_H__
+--- 1,29 ----
+
+
+ Source: CSObList.h
++
+
+
+!
+
+
+
+
+!
+! Source: CSObList.h
+
+!
+
+
+
+
+!
+
+ #ifndef __CSOBLIST_H__
+***************
+*** 99,105 ****
+ CHObject* GetAt( POSITION pPosition );
+
+ /// Returns a pointer to the CHObject pointed to by the mPos node and increments mPos.
+! CHObject* GetNext( POSITION& mPos );
+
+ /// Returns true if list is empty and false if not.
+ bool IsEmpty();
+--- 97,103 ----
+ CHObject* GetAt( POSITION pPosition );
+
+ /// Returns a pointer to the CHObject pointed to by the mPos node and increments mPos.
+! CHObject* GetNext( POSITION& mPos );
+
+ /// Returns true if list is empty and false if not.
+ bool IsEmpty();
+***************
+*** 119,125 ****
+
+
+
+! Generated by: hans@hanspp on Sat Mar 31 23:09:47 2001, using kdoc 2.0a35.
+
+
+
+--- 117,123 ----
+
+
+
+! Generated by: chrb on europa.dcs.ed.ac.uk on Wed Sep 25 17:51:01 2002, using kdoc 2.0a54.
+
+
+
+diff -u -r -c vstgl-0.6.1.orig/Doc/CSObNode.html vstgl-0.6.1/Doc/CSObNode.html
+*** vstgl-0.6.1.orig/Doc/CSObNode.html Sat Mar 31 22:09:48 2001
+--- vstgl-0.6.1/Doc/CSObNode.html Wed Sep 25 17:51:01 2002
+***************
+*** 1,24 ****
+
+
+ class CSObNode
+
+-
+
+!
+
+
+
+
+!
+! class CSObNode
+! Used by CSObList (Sune - fill in the blanks :-) )
+! More...
+
+!
+!
+
+
+
+
+!
+! Public Methods Protected Members Private Members
+ Used by CSObList (Sune - fill in the blanks :-) )
+!
+!
+! friend class CSObList
+! CSObList
[private]
CSObNode ( class CHObject * )
+! CSObNode
~CSObNode ()
+! ~CSObNode
[protected]
[protected]
[protected]
Author : Sune Frankild and Hans Palbøl
+! Generated : chrb on europa.dcs.ed.ac.uk on Wed Sep 25 17:51:01 2002, using kdoc 2.0a54.
+diff -u -r -c vstgl-0.6.1.orig/Doc/CSObNode_h.html vstgl-0.6.1/Doc/CSObNode_h.html
+*** vstgl-0.6.1.orig/Doc/CSObNode_h.html Sat Mar 31 22:09:48 2001
+--- vstgl-0.6.1/Doc/CSObNode_h.html Wed Sep 25 17:51:01 2002
+***************
+*** 1,31 ****
+
+
+ Source: CSObNode.h
+
+-
+
+!
+
+
+
+
+!
+! Source: CSObNode.h
+
+!
+!
+
+
+
+
+!
+
+ #ifndef __CSOBNODE_H__
+--- 1,29 ----
+
+
+ Source: CSObNode.h
++
+
+
+!
+
+
+
+
+!
+! Source: CSObNode.h
+
+!
+
+
+
+
+!
+
+ #ifndef __CSOBNODE_H__
+***************
+*** 60,66 ****
+
+
+
+! Generated by: hans@hanspp on Sat Mar 31 23:09:47 2001, using kdoc 2.0a35.
+
+
+
+--- 58,64 ----
+
+
+
+! Generated by: chrb on europa.dcs.ed.ac.uk on Wed Sep 25 17:51:01 2002, using kdoc 2.0a54.
+
+
+
+diff -u -r -c vstgl-0.6.1.orig/Doc/CSProp.html vstgl-0.6.1/Doc/CSProp.html
+*** vstgl-0.6.1.orig/Doc/CSProp.html Sat Mar 31 22:09:48 2001
+--- vstgl-0.6.1/Doc/CSProp.html Wed Sep 25 17:51:01 2002
+***************
+*** 1,55 ****
+
+
+ class CSProp
+
+-
+
+!
+
+
+
+
+!
+! class CSProp
+! Property box dialog for Signals. More...
+
+!
+!
+
+
+
+
+!
+! Public Methods CSProp ( QWidget *parent, const char *name, CDoc *doc, CSSignal *signal )
+
+! Private Slots void accept ()
+
+! void SetValue ()
+
+! Private Members QButtonGroup *nameFrame
+! QLineEdit *SignalName
+! QButtonGroup *statusFrame
+! QComboBox *status
+! QButtonGroup *bg
+! QRadioButton *rb1
+! QRadioButton *rb2
+! QRadioButton *rb3
+! CDoc *pDoc
+! CSSignal *pSignal
+! SIGNAL_VALUE value
+! SIGNAL_STATUS statusValue
+! Detailed Description
+ Property box dialog for Signals.
+!
Author : Sune Frankild and Hans Palbøl
+! Generated : hans@hanspp on Sat Mar 31 23:09:47 2001, using kdoc 2.0a35.
+--- 1,69 ----
+
+
+ class CSProp
++
+
+
+!
+
+
+
+
+!
+! class CSProp
+
+!
+! Property box dialog for Signals. More...
+
+
+
+
+!
+! Public Methods Private Slots Private Members
+ Property box dialog for Signals.
+!
+!
+! QButtonGroup * nameFrame
+! nameFrame
[private]
QLineEdit * SignalName
+! SignalName
[private]
QButtonGroup * statusFrame
+! statusFrame
[private]
QComboBox * status
+! status
[private]
[private]
QRadioButton * rb1
+! rb1
[private]
QRadioButton * rb2
+! rb2
[private]
QRadioButton * rb3
+! rb3
[private]
[private]
[private]
[private]
[private]
[private slots slot]
void SetValue ()
+! SetValue
[private slots slot]
CSProp ( QWidget *parent, const char *name, CDoc *doc, CSSignal *signal )
+! CSProp
Author : Sune Frankild and Hans Palbøl
+! Generated : chrb on europa.dcs.ed.ac.uk on Wed Sep 25 17:51:01 2002, using kdoc 2.0a54.
+diff -u -r -c vstgl-0.6.1.orig/Doc/CSProp_h.html vstgl-0.6.1/Doc/CSProp_h.html
+*** vstgl-0.6.1.orig/Doc/CSProp_h.html Sat Mar 31 22:09:48 2001
+--- vstgl-0.6.1/Doc/CSProp_h.html Wed Sep 25 17:51:01 2002
+***************
+*** 1,38 ****
+
+
+ Source: CSProp.h
+
+-
+
+!
+
+
+
+
+!
+! Source: CSProp.h
+
+!
+!
+
+
+
+
+!
+
+ // ////////////////////////////////////////////////////////////////////////////
+ //
+ // Filename CHProp.h
+ //
+! // Author Hans Palbøl & Sune Frankild
+ //
+ // Created 18-01-1999
+ //
+--- 1,36 ----
+
+
+ Source: CSProp.h
++
+
+
+!
+
+
+
+
+!
+! Source: CSProp.h
+
+!
+
+
+
+
+!
+
+ // ////////////////////////////////////////////////////////////////////////////
+ //
+ // Filename CHProp.h
+ //
+! // Author Hans Palbøl & Sune Frankild
+ //
+ // Created 18-01-1999
+ //
+***************
+*** 50,64 ****
+ #include "Simulation.h"
+
+
+! #include <qpushbutton.h>
+! #include <qdialog.h>
+! #include <qframe.h>
+! #include <qcombobox.h>
+! #include <qradiobutton.h>
+! #include <qbuttongroup.h>
+! #include <qstring.h>
+! #include <qmessagebox.h>
+! #include <qlineedit.h>
+
+
+ /**
+--- 48,62 ----
+ #include "Simulation.h"
+
+
+! #include
+! #include
+! #include
+! #include
+! #include
+! #include
+! #include
+! #include
+! #include
+
+
+ /**
+***************
+*** 109,115 ****
+
+
+
+! Generated by: hans@hanspp on Sat Mar 31 23:09:47 2001, using kdoc 2.0a35.
+
+
+
+--- 107,113 ----
+
+
+
+! Generated by: chrb on europa.dcs.ed.ac.uk on Wed Sep 25 17:51:01 2002, using kdoc 2.0a54.
+
+
+
+diff -u -r -c vstgl-0.6.1.orig/Doc/CSSignal.html vstgl-0.6.1/Doc/CSSignal.html
+*** vstgl-0.6.1.orig/Doc/CSSignal.html Sat Mar 31 22:09:48 2001
+--- vstgl-0.6.1/Doc/CSSignal.html Wed Sep 25 17:51:01 2002
+***************
+*** 1,72 ****
+
+
+ class CSSignal
+
+-
+
+!
+
+
+
+
+!
+! class CSSignal
+! Specificly designed for STG simulation. More...
+
+!
+!
+
+
+
+
+!
+! Public Methods CSSignal ( const char*, SIGNAL_STATUS )
+
+! void SetValue ( SIGNAL_VALUE )
+
+! SIGNAL_VALUE GetValue ()
+
+! const char* GetSignalName ()
+
+! void SetSignalName ( const char* newName )
+
+! void SetStatus ( SIGNAL_STATUS )
+
+! SIGNAL_STATUS GetStatus ()
+
+! void SetToNull ()
+
+! bool IsNull ()
+
+! bool Plus ()
+
+! bool Minus ()
+
+! Public Members int iPlus
+! int iPlus_ref
+! int iMinus
+! int iMinus_ref
+! int iNothing
+! int iNothing_ref
+! Protected Members char [40]m_name
+! SIGNAL_STATUS m_status
+! SIGNAL_VALUE m_signal_value
+! bool m_is_null
+! Detailed Description
+ Specificly designed for STG simulation.
+ This class emulates a digital signal controlled by events defined in the
+ petrinet class CSTrans which is again controlled by a graphical CHtrans
+ usualy nesting in a CDoc object as in the VSTGL application.
+!
Author : Sune Frankild and Hans Palbøl
+! Generated : hans@hanspp on Sat Mar 31 23:09:47 2001, using kdoc 2.0a35.
+--- 1,92 ----
+
+
+ class CSSignal
++
+
+
+!
+
+
+
+
+!
+! class CSSignal
+
+!
+! Specificly designed for STG simulation. More...
+
+
+
+
+!
+! Public Methods Public Members Protected Members
+ Specificly designed for STG simulation.
+ This class emulates a digital signal controlled by events defined in the
+ petrinet class CSTrans which is again controlled by a graphical CHtrans
+ usualy nesting in a CDoc object as in the VSTGL application.
+!
+!
+! char m_name[40]
+! m_name[40]
[protected]
[protected]
[protected]
bool m_is_null
+! m_is_null
[protected]
const char* GetSignalName ()
+! GetSignalName
void SetSignalName ( const char* newName )
+! SetSignalName
void SetToNull ()
+! SetToNull
int iPlus_ref
+! iPlus_ref
int iMinus_ref
+! iMinus_ref
int iNothing_ref
+! iNothing_ref
Author : Sune Frankild and Hans Palbøl
+! Generated : chrb on europa.dcs.ed.ac.uk on Wed Sep 25 17:51:01 2002, using kdoc 2.0a54.
+diff -u -r -c vstgl-0.6.1.orig/Doc/CSSignal_h.html vstgl-0.6.1/Doc/CSSignal_h.html
+*** vstgl-0.6.1.orig/Doc/CSSignal_h.html Sat Mar 31 22:09:48 2001
+--- vstgl-0.6.1/Doc/CSSignal_h.html Wed Sep 25 17:51:01 2002
+***************
+*** 1,31 ****
+
+
+ Source: CSSignal.h
+
+-
+
+!
+
+
+
+
+!
+! Source: CSSignal.h
+
+!
+!
+
+
+
+
+!
+
+ #ifndef __CSSIGNAL_H__
+--- 1,29 ----
+
+
+ Source: CSSignal.h
++
+
+
+!
+
+
+
+
+!
+! Source: CSSignal.h
+
+!
+
+
+
+
+!
+
+ #ifndef __CSSIGNAL_H__
+***************
+*** 78,84 ****
+
+
+
+! Generated by: hans@hanspp on Sat Mar 31 23:09:47 2001, using kdoc 2.0a35.
+
+
+
+--- 76,82 ----
+
+
+
+! Generated by: chrb on europa.dcs.ed.ac.uk on Wed Sep 25 17:51:01 2002, using kdoc 2.0a54.
+
+
+
+diff -u -r -c vstgl-0.6.1.orig/Doc/CSet1.html vstgl-0.6.1/Doc/CSet1.html
+*** vstgl-0.6.1.orig/Doc/CSet1.html Sat Mar 31 22:09:48 2001
+--- vstgl-0.6.1/Doc/CSet1.html Wed Sep 25 17:51:01 2002
+***************
+*** 1,53 ****
+
+
+ class CSet1
+
+-
+
+!
+
+
+
+
+!
+! class CSet1
+
+!
+!
+
+
+
+
+!
+! Public Methods CSet1 (QWidget *parent, const char *name)
+
+! void GetSettings ()
+
+! void SetSettings ()
+
+! Public Members QFrame *frame
+! QCheckBox *UseMargin
+! QCheckBox *DrawBorder
+! QCheckBox *DrawPlaceNames
+! QLineEdit *Margin
+! QLabel *text1
+! QLabel *text2
+! QLineEdit *LineWidth
+! QCheckBox *FillTrans
+! QLabel *Copyright
+!
+
+! Generated by: hans@hanspp on Sat Mar 31 23:09:47 2001, using kdoc 2.0a35.
+
+
+
+--- 1,64 ----
+
+
+ class CSet1
++
+
+
+!
+
+! Public Methods Public Members CSet1 (QWidget *parent, const char *name)
+! CSet1
void GetSettings ()
+! GetSettings
void SetSettings ()
+! SetSettings
QCheckBox * UseMargin
+! UseMargin
QCheckBox * DrawBorder
+! DrawBorder
QCheckBox * DrawPlaceNames
+! DrawPlaceNames
QLineEdit * Margin
+! Margin
QLineEdit * LineWidth
+! LineWidth
QCheckBox * FillTrans
+! FillTrans
QLabel * Copyright
+! Copyright
+
+! Generated by: chrb on europa.dcs.ed.ac.uk on Wed Sep 25 17:51:01 2002, using kdoc 2.0a54.
+
+
+
+diff -u -r -c vstgl-0.6.1.orig/Doc/CSet1_h.html vstgl-0.6.1/Doc/CSet1_h.html
+*** vstgl-0.6.1.orig/Doc/CSet1_h.html Sat Mar 31 22:09:48 2001
+--- vstgl-0.6.1/Doc/CSet1_h.html Wed Sep 25 17:51:01 2002
+***************
+*** 1,41 ****
+
+
+ Source: CSet1.h
+
+-
+
+!
+
+
+
+
+!
+! Source: CSet1.h
+
+!
+!
+
+
+
+
+!
+
+ #ifndef CSet1_included
+ #define CSet1_included
+
+! #include <qwidget.h>
+! #include <qchkbox.h>
+! #include <qframe.h>
+! #include <qlabel.h>
+! #include <qlined.h>
+
+
+ /*!
+--- 1,39 ----
+
+
+ Source: CSet1.h
++
+
+
+!
+
+
+
+
+!
+! Source: CSet1.h
+
+!
+
+
+
+
+!
+
+ #ifndef CSet1_included
+ #define CSet1_included
+
+! #include
+! #include
+! #include
+! #include
+! #include
+
+
+ /*!
+***************
+*** 70,76 ****
+
+
+
+! Generated by: hans@hanspp on Sat Mar 31 23:09:47 2001, using kdoc 2.0a35.
+
+
+
+--- 68,74 ----
+
+
+
+! Generated by: chrb on europa.dcs.ed.ac.uk on Wed Sep 25 17:51:01 2002, using kdoc 2.0a54.
+
+
+
+diff -u -r -c vstgl-0.6.1.orig/Doc/CSet2.html vstgl-0.6.1/Doc/CSet2.html
+*** vstgl-0.6.1.orig/Doc/CSet2.html Sat Mar 31 22:09:48 2001
+--- vstgl-0.6.1/Doc/CSet2.html Wed Sep 25 17:51:01 2002
+***************
+*** 1,48 ****
+
+
+ class CSet2
+
+-
+
+!
+
+
+
+
+!
+! class CSet2
+
+!
+!
+
+
+
+
+!
+! Public Methods CSet2 (QWidget *parent, const char *name)
+
+! void GetSettings ()
+
+! void SetSettings ()
+
+! Public Members QFrame *frame
+! QCheckBox *m_PopTransDlg
+! QLabel *m_PopTransDlgText
+! QLabel *m_guiStyleText
+! QComboBox *m_guiStyleBox
+!
+
+! Generated by: hans@hanspp on Sat Mar 31 23:09:47 2001, using kdoc 2.0a35.
+
+
+
+--- 1,54 ----
+
+
+ class CSet2
++
+
+
+!
+
+! Public Methods Public Members CSet2 (QWidget *parent, const char *name)
+! CSet2
void GetSettings ()
+! GetSettings
void SetSettings ()
+! SetSettings
QCheckBox * m_PopTransDlg
+! m_PopTransDlg
QLabel * m_PopTransDlgText
+! m_PopTransDlgText
QLabel * m_guiStyleText
+! m_guiStyleText
QComboBox * m_guiStyleBox
+! m_guiStyleBox
+
+! Generated by: chrb on europa.dcs.ed.ac.uk on Wed Sep 25 17:51:01 2002, using kdoc 2.0a54.
+
+
+
+diff -u -r -c vstgl-0.6.1.orig/Doc/CSet2_h.html vstgl-0.6.1/Doc/CSet2_h.html
+*** vstgl-0.6.1.orig/Doc/CSet2_h.html Sat Mar 31 22:09:48 2001
+--- vstgl-0.6.1/Doc/CSet2_h.html Wed Sep 25 17:51:01 2002
+***************
+*** 1,42 ****
+
+
+ Source: CSet2.h
+
+-
+
+!
+
+
+
+
+!
+! Source: CSet2.h
+
+!
+!
+
+
+
+
+!
+
+ #ifndef CSet2_included
+ #define CSet2_included
+
+! #include <qwidget.h>
+! #include <qchkbox.h>
+! #include <qframe.h>
+! #include <qlabel.h>
+! #include <qlined.h>
+!
+
+ /*!
+ \class CSet2 CSet2.h
+--- 1,40 ----
+
+
+ Source: CSet2.h
++
+
+
+!
+
+
+
+
+!
+! Source: CSet2.h
+
+!
+
+
+
+
+!
+
+ #ifndef CSet2_included
+ #define CSet2_included
+
+! #include
+! #include
+! #include
+! #include
+! #include
+! #include
+
+ /*!
+ \class CSet2 CSet2.h
+***************
+*** 68,74 ****
+
+
+
+! Generated by: hans@hanspp on Sat Mar 31 23:09:47 2001, using kdoc 2.0a35.
+
+
+
+--- 66,72 ----
+
+
+
+! Generated by: chrb on europa.dcs.ed.ac.uk on Wed Sep 25 17:51:01 2002, using kdoc 2.0a54.
+
+
+
+diff -u -r -c vstgl-0.6.1.orig/Doc/CSettings.html vstgl-0.6.1/Doc/CSettings.html
+*** vstgl-0.6.1.orig/Doc/CSettings.html Sat Mar 31 22:09:48 2001
+--- vstgl-0.6.1/Doc/CSettings.html Wed Sep 25 17:51:01 2002
+***************
+*** 1,139 ****
+
+
+ class CSettings
+
+-
+
+!
+
+
+
+
+!
+! class CSettings
+! Class for handling of loading and saving of application wide settings. More...
+
+!
+!
+
+
+
+
+!
+! Public Methods CSettings ()
+
+! void GetNextWord ( QString& new_line, QString& word )
+
+! void SaveSettings ()
+
+! bool GetSettings ()
+
+! QPoint GetPos ()
+
+! QSize GetSize ()
+
+! void SetPos ( QPoint pos )
+
+! void SetSize ( QSize size )
+
+! int GetNbRecent ()
+
+! QString GetRecent1 ()
+
+! QString GetRecent2 ()
+
+! QString GetRecent3 ()
+
+! QString GetRecent4 ()
+
+! void UpdateRecent ( QString file )
+
+! void SetRecent1 ( QString file )
+
+! void SetRecent2 ( QString file )
+
+! void SetRecent3 ( QString file )
+
+! void SetRecent4 ( QString file )
+
+! bool UseEpsMargin ()
+
+! void SetUseEpsMargin ( bool val )
+
+! double GetEpsMargin ()
+
+! void SetEpsMargin ( double val )
+
+! int GetEpsPageHeight ()
+
+! void SetEpsPageHeight ( int val )
+
+! bool GetEpsBorder ()
+
+! void SetEpsBorder ( bool val )
+
+! double GetEpsLineWidth ()
+
+! void SetEpsLineWidth ( double val )
+
+! bool GetEpsPlaceNames ()
+
+! void SetEpsPlaceNames ( bool val )
+
+! bool GetEpsFillTrans ()
+
+! void SetEpsFillTrans ( bool val )
+
+! bool GetPopTransDlg ()
+
+! void SetPopTransDlg ( bool val )
+
+! int GetGuiStyle ()
+
+! void SetGuiStyle ( int val )
+
+! QString GetHelpPath ()
+
+! void SetHelpPath ( QString val )
+
+! Signals Private Members int m_nb_recent_files
+! QString m_recent1
+! QString m_recent2
+! QString m_recent3
+! QString m_recent4
+! QPoint m_last_pos
+! QSize m_last_size
+! QString m_petrify_exec
+! QString m_petrify_args
+! QString m_tmp_dir
+! bool m_use_eps_margin
+! double m_eps_margin
+! int m_eps_page_height
+! bool m_eps_border
+! double m_eps_line_width
+! bool m_eps_place_names
+! bool m_eps_fill_trans
+! bool m_pop_trans_dlg
+! int m_gui_style
+! QString m_help_path
+! Detailed Description
+ Class for handling of loading and saving of application wide settings. VSTGL
+ will look for a file called .vstgl in the users home dir. If none is found,
+ one will be created with default values.
+!
Lots of usefull stuff is saved in this file e.g. the size and position of
+ VSTGL at last exit. Up to four recently opened files.
+!
Author : Sune Frankild and Hans Palbøl
+! Generated : hans@hanspp on Sat Mar 31 23:09:47 2001, using kdoc 2.0a35.
+--- 1,198 ----
+
+
+ class CSettings
++
+
+
+!
+
+
+
+
+!
+! class CSettings
+
+!
+! Class for handling of loading and saving of application wide settings. More...
+
+
+
+
+!
+! Public Methods Signals Private Members
+ Class for handling of loading and saving of application wide settings. VSTGL
+ will look for a file called .vstgl in the users home dir. If none is found,
+ one will be created with default values.
+!
+! Lots of usefull stuff is saved in this file e.g. the size and position of
+ VSTGL at last exit. Up to four recently opened files.
+!
+!
+! int m_nb_recent_files
+! m_nb_recent_files
[private]
QString m_recent1
+! m_recent1
[private]
QString m_recent2
+! m_recent2
[private]
QString m_recent3
+! m_recent3
[private]
QString m_recent4
+! m_recent4
[private]
QPoint m_last_pos
+! m_last_pos
[private]
QSize m_last_size
+! m_last_size
[private]
QString m_petrify_exec
+! m_petrify_exec
[private]
QString m_petrify_args
+! m_petrify_args
[private]
QString m_tmp_dir
+! m_tmp_dir
[private]
bool m_use_eps_margin
+! m_use_eps_margin
[private]
double m_eps_margin
+! m_eps_margin
[private]
int m_eps_page_height
+! m_eps_page_height
[private]
bool m_eps_border
+! m_eps_border
[private]
double m_eps_line_width
+! m_eps_line_width
[private]
bool m_eps_place_names
+! m_eps_place_names
[private]
bool m_eps_fill_trans
+! m_eps_fill_trans
[private]
bool m_pop_trans_dlg
+! m_pop_trans_dlg
[private]
int m_gui_style
+! m_gui_style
[private]
QString m_help_path
+! m_help_path
[private]
CSettings ()
+! CSettings
void GetNextWord ( QString& new_line, QString& word )
+! GetNextWord
void SaveSettings ()
+! SaveSettings
bool GetSettings ()
+! GetSettings
QPoint GetPos ()
+! GetPos
QSize GetSize ()
+! GetSize
void SetPos ( QPoint pos )
+! SetPos
void SetSize ( QSize size )
+! SetSize
int GetNbRecent ()
+! GetNbRecent
QString GetRecent1 ()
+! GetRecent1
QString GetRecent2 ()
+! GetRecent2
QString GetRecent3 ()
+! GetRecent3
QString GetRecent4 ()
+! GetRecent4
void UpdateRecent ( QString file )
+! UpdateRecent
void SetRecent1 ( QString file )
+! SetRecent1
void SetRecent2 ( QString file )
+! SetRecent2
void SetRecent3 ( QString file )
+! SetRecent3
void SetRecent4 ( QString file )
+! SetRecent4
bool UseEpsMargin ()
+! UseEpsMargin
void SetUseEpsMargin ( bool val )
+! SetUseEpsMargin
double GetEpsMargin ()
+! GetEpsMargin
void SetEpsMargin ( double val )
+! SetEpsMargin
int GetEpsPageHeight ()
+! GetEpsPageHeight
void SetEpsPageHeight ( int val )
+! SetEpsPageHeight
bool GetEpsBorder ()
+! GetEpsBorder
void SetEpsBorder ( bool val )
+! SetEpsBorder
double GetEpsLineWidth ()
+! GetEpsLineWidth
void SetEpsLineWidth ( double val )
+! SetEpsLineWidth
bool GetEpsPlaceNames ()
+! GetEpsPlaceNames
void SetEpsPlaceNames ( bool val )
+! SetEpsPlaceNames
bool GetEpsFillTrans ()
+! GetEpsFillTrans
void SetEpsFillTrans ( bool val )
+! SetEpsFillTrans
bool GetPopTransDlg ()
+! GetPopTransDlg
void SetPopTransDlg ( bool val )
+! SetPopTransDlg
int GetGuiStyle ()
+! GetGuiStyle
void SetGuiStyle ( int val )
+! SetGuiStyle
QString GetHelpPath ()
+! GetHelpPath
void SetHelpPath ( QString val )
+! SetHelpPath
void StyleChange ()
+! StyleChange
[signal]
Author : Sune Frankild and Hans Palbøl
+! Generated : chrb on europa.dcs.ed.ac.uk on Wed Sep 25 17:51:01 2002, using kdoc 2.0a54.
+diff -u -r -c vstgl-0.6.1.orig/Doc/CSettings_h.html vstgl-0.6.1/Doc/CSettings_h.html
+*** vstgl-0.6.1.orig/Doc/CSettings_h.html Sat Mar 31 22:09:48 2001
+--- vstgl-0.6.1/Doc/CSettings_h.html Wed Sep 25 17:51:01 2002
+***************
+*** 1,38 ****
+
+
+ Source: CSettings.h
+
+-
+
+!
+
+
+
+
+!
+! Source: CSettings.h
+
+!
+!
+
+
+
+
+!
+
+ // ////////////////////////////////////////////////////////////////////////////
+ //
+ // Filename CSettings.h
+ //
+! // Author Hans Palbøl & Sune Frankild
+ //
+ // Created 29-03-1999
+ //
+--- 1,36 ----
+
+
+ Source: CSettings.h
++
+
+
+!
+
+
+
+
+!
+! Source: CSettings.h
+
+!
+
+
+
+
+!
+
+ // ////////////////////////////////////////////////////////////////////////////
+ //
+ // Filename CSettings.h
+ //
+! // Author Hans Palbøl & Sune Frankild
+ //
+ // Created 29-03-1999
+ //
+***************
+*** 44,53 ****
+ #ifndef __CSETTINGS_H__
+ #define __CSETTINGS_H__
+
+! #include <qstring.h>
+! #include <qpoint.h>
+! #include <qsize.h>
+! #include <qobject.h>
+
+ #define STYLE_CDE 0
+ #define STYLE_WINDOWS 1
+--- 42,51 ----
+ #ifndef __CSETTINGS_H__
+ #define __CSETTINGS_H__
+
+! #include
+! #include
+! #include
+! #include
+
+ #define STYLE_CDE 0
+ #define STYLE_WINDOWS 1
+***************
+*** 108,114 ****
+
+ public:
+ CSettings();
+! void GetNextWord( QString& new_line, QString& word );
+
+ void SaveSettings();
+ bool GetSettings();
+--- 106,112 ----
+
+ public:
+ CSettings();
+! void GetNextWord( QString& new_line, QString& word );
+
+ void SaveSettings();
+ bool GetSettings();
+***************
+*** 170,176 ****
+
+
+
+! Generated by: hans@hanspp on Sat Mar 31 23:09:47 2001, using kdoc 2.0a35.
+
+
+
+--- 168,174 ----
+
+
+
+! Generated by: chrb on europa.dcs.ed.ac.uk on Wed Sep 25 17:51:01 2002, using kdoc 2.0a54.
+
+
+
+diff -u -r -c vstgl-0.6.1.orig/Doc/CTabCtrl.html vstgl-0.6.1/Doc/CTabCtrl.html
+*** vstgl-0.6.1.orig/Doc/CTabCtrl.html Sat Mar 31 22:09:48 2001
+--- vstgl-0.6.1/Doc/CTabCtrl.html Wed Sep 25 17:51:01 2002
+***************
+*** 1,74 ****
+
+
+ class CTabCtrl
+
+-
+
+!
+
+
+
+
+!
+! class CTabCtrl
+! Provides a tab control widget, which is a widget stack controlled by
+! a number of tabs. More...
+
+!
+!
+
+
+
+
+!
+! Public Methods CTabCtrl ( QWidget *parent=0, const char *name=0 )
+
+! void SetDoc ( CDoc *doc )
+
+! Signals void SignalsChanged ()
+
+! Protected Methods void resizeEvent ( QResizeEvent * )
+
+! Private Slots void OnTabClick ( int index )
+!
+! void Refresh ()
+!
+! void SetSignalProperties ( QListViewItem *item )
+!
+! void Update ( QWidget *widget )
+!
+! Private Members QTabBar *tab
+! QTab *t1
+! QTab *t2
+! QTab *t3
+! QFrame *area
+! QWidgetStack *wStack
+! QListView *sigList
+! QListViewItem *inputs
+! QListViewItem *outputs
+! QListViewItem *internals
+! QListViewItem *dummy
+! QLabel *flow
+! QMultiLineEdit *edit
+! CDoc *pDoc
+! QPixmap inputIcon
+! QPixmap outputIcon
+! QPixmap internIcon
+! QPixmap dummyIcon
+! Detailed Description
+ Provides a tab control widget, which is a widget stack controlled by
+ a number of tabs.
+!
Author : Sune Frankild and Hans Palbøl
+! Generated : hans@hanspp on Sat Mar 31 23:09:47 2001, using kdoc 2.0a35.
+--- 1,98 ----
+
+
+ class CTabCtrl
++
+
+
+!
+
+
+
+
+!
+! class CTabCtrl
+
+!
+ Provides a tab control widget, which is a widget stack controlled by
+! a number of tabs. More...
+
+
+
+
+!
+! Public Methods Signals Protected Methods Private Slots Private Members
+ Provides a tab control widget, which is a widget stack controlled by
+ a number of tabs.
+!
+!
+! CTabCtrl ( QWidget *parent=0, const char *name=0 )
+! CTabCtrl
void SetDoc ( CDoc *doc )
+! SetDoc
void resizeEvent ( QResizeEvent * )
+! resizeEvent
[protected]
[private]
[private]
[private]
[private]
[private]
QWidgetStack * wStack
+! wStack
[private]
QListView * sigList
+! sigList
[private]
QListViewItem * inputs
+! inputs
[private]
QListViewItem * outputs
+! outputs
[private]
QListViewItem * internals
+! internals
[private]
QListViewItem * dummy
+! dummy
[private]
[private]
QMultiLineEdit * edit
+! edit
[private]
[private]
QPixmap inputIcon
+! inputIcon
[private]
QPixmap outputIcon
+! outputIcon
[private]
QPixmap internIcon
+! internIcon
[private]
QPixmap dummyIcon
+! dummyIcon
[private]
void OnTabClick ( int index )
+! OnTabClick
[private slots slot]
void Refresh ()
+! Refresh
[private slots slot]
void SetSignalProperties ( QListViewItem *item )
+! SetSignalProperties
[private slots slot]
void Update ( QWidget *widget )
+! Update
[private slots slot]
void SignalsChanged ()
+! SignalsChanged
[signal]
Author : Sune Frankild and Hans Palbøl
+! Generated : chrb on europa.dcs.ed.ac.uk on Wed Sep 25 17:51:01 2002, using kdoc 2.0a54.
+diff -u -r -c vstgl-0.6.1.orig/Doc/CTabCtrl_h.html vstgl-0.6.1/Doc/CTabCtrl_h.html
+*** vstgl-0.6.1.orig/Doc/CTabCtrl_h.html Sat Mar 31 22:09:48 2001
+--- vstgl-0.6.1/Doc/CTabCtrl_h.html Wed Sep 25 17:51:01 2002
+***************
+*** 1,38 ****
+
+
+ Source: CTabCtrl.h
+
+-
+
+!
+
+
+
+
+!
+! Source: CTabCtrl.h
+
+!
+!
+
+
+
+
+!
+
+ // ////////////////////////////////////////////////////////////////////////////
+ //
+ // Filename CTabCtrl.h
+ //
+! // Author Hans Palbøl & Sune Frankild
+ //
+ // Created 14-03-1999
+ //
+--- 1,36 ----
+
+
+ Source: CTabCtrl.h
++
+
+
+!
+
+
+
+
+!
+! Source: CTabCtrl.h
+
+!
+
+
+
+
+!
+
+ // ////////////////////////////////////////////////////////////////////////////
+ //
+ // Filename CTabCtrl.h
+ //
+! // Author Hans Palbøl & Sune Frankild
+ //
+ // Created 14-03-1999
+ //
+***************
+*** 44,56 ****
+ #ifndef __CTABCTRL_H__
+ #define __CTABCTRL_H__
+
+! #include <qwidget.h>
+! #include <qtabbar.h>
+! #include <qframe.h>
+! #include <qlistview.h>
+! #include <qwidgetstack.h>
+! #include <qmultilinedit.h>
+! #include <qlabel.h>
+
+ #include "CDoc.h"
+
+--- 42,54 ----
+ #ifndef __CTABCTRL_H__
+ #define __CTABCTRL_H__
+
+! #include
+! #include
+! #include
+! #include
+! #include
+! #include
+! #include
+
+ #include "CDoc.h"
+
+***************
+*** 111,117 ****
+
+
+
+! Generated by: hans@hanspp on Sat Mar 31 23:09:47 2001, using kdoc 2.0a35.
+
+
+
+--- 109,115 ----
+
+
+
+! Generated by: chrb on europa.dcs.ed.ac.uk on Wed Sep 25 17:51:01 2002, using kdoc 2.0a54.
+
+
+
+diff -u -r -c vstgl-0.6.1.orig/Doc/CTrans.html vstgl-0.6.1/Doc/CTrans.html
+*** vstgl-0.6.1.orig/Doc/CTrans.html Sat Mar 31 22:09:48 2001
+--- vstgl-0.6.1/Doc/CTrans.html Wed Sep 25 17:51:01 2002
+***************
+*** 1,95 ****
+
+
+ class CTrans
+
+-
+
+!
+
+
+
+
+!
+! class CTrans
+
+!
+!
+
+
+
+
+!
+ Public Methods CTrans ( QWidget* parent, const char *name, CDoc *doc )
+
+ CTrans ( QWidget* parent, int xpos, int ypos, CDoc *doc )
+
+! ~ CTrans ()
+
+! void Draw ( QPainter *p )
+
+! void CreateMask ()
+
+! bool RectHit ( QRect rect )
+
+! bool WriteEPS ( char *eps )
+
+! void SetSignalEvent ( EVENT e )
+
+! EVENT GetSignalEvent ()
+
+! void AttachSignal ( CSSignal * obj )
+
+! CSSignal * GetSignal ()
+
+! bool AllInputActive ()
+
+! bool Fire ()
+
+! Signals void doubleClicked ( CComp * )
+
+! Public Members bool m_just_fired
+! int m_g_file_index
+! Protected Methods int Tokens ()
+
+ bool Condition ()
+
+! void mouseDoubleClickEvent ( QMouseEvent * e )
+
+! void mouseMoveEvent ( QMouseEvent *e )
+
+! Protected Members Private Methods Private Members QColor *fill_color
+! CSSignal*m_signal
+! EVENT m_event
+! CTrans ( QWidget* parent, const char *name, CDoc *doc )
+!
+ Constructs a transition with a default position.
+!
CTrans ( QWidget* parent, int xpos, int ypos, CDoc *doc )
+!
+ Constructs a transition with a defined position.
+!
+ Destructs transition.
+!
[protected]
Must be implemented for any sub class of CTrans. This function can
+ any extra condition (besides enough tokens) that has to be true
+ before an augmented type of transistion can fire. Hence for the simple
+! transition it always returns true.
[protected]
For sim. time reference.
+
+! Generated by: hans@hanspp on Sat Mar 31 23:09:47 2001, using kdoc 2.0a35.
+
+
+
+--- 1,121 ----
+
+
+ class CTrans
++
+
+
+!
+
+
+
+
+!
+! class CTrans
+
+!
+
+
+
+
+!
+ Public Methods Signals Public Members Protected Methods Protected Members Private Methods Private Members CTrans ( QWidget* parent, const char *name, CDoc *doc )
+! CTrans
+ Constructs a transition with a default position.
+!
+! CTrans ( QWidget* parent, int xpos, int ypos, CDoc *doc )
+! CTrans
+ Constructs a transition with a defined position.
+!
+!
+ Destructs transition.
+!
+! void Draw ( QPainter *p )
+! Draw
Reimplemented from CComp .
+! void CreateMask ()
+! CreateMask
Reimplemented from CComp .
+! bool RectHit ( QRect rect )
+! RectHit
bool WriteEPS ( char *eps )
+! WriteEPS
Reimplemented from CComp .
+! void SetSignalEvent ( EVENT e )
+! SetSignalEvent
EVENT GetSignalEvent ()
+! GetSignalEvent
void AttachSignal ( CSSignal * obj )
+! AttachSignal
bool AllInputActive ()
+! AllInputActive
[private]
[protected]
bool Condition ()
+! Condition
[protected]
Must be implemented for any sub class of CTrans. This function can
+ any extra condition (besides enough tokens) that has to be true
+ before an augmented type of transistion can fire. Hence for the simple
+! transition it always returns true.
+! void mouseDoubleClickEvent ( QMouseEvent * e )
+! mouseDoubleClickEvent
[protected]
void mouseMoveEvent ( QMouseEvent *e )
+! mouseMoveEvent
[protected]
Reimplemented from CComp .
+! [protected]
QColor * fill_color
+! fill_color
[private]
[private]
[private]
bool m_just_fired
+! m_just_fired
int m_g_file_index
+! m_g_file_index
void doubleClicked ( CComp * )
+! doubleClicked
[signal]
+
+! Generated by: chrb on europa.dcs.ed.ac.uk on Wed Sep 25 17:51:01 2002, using kdoc 2.0a54.
+
+
+
+diff -u -r -c vstgl-0.6.1.orig/Doc/CTrans_h.html vstgl-0.6.1/Doc/CTrans_h.html
+*** vstgl-0.6.1.orig/Doc/CTrans_h.html Sat Mar 31 22:09:48 2001
+--- vstgl-0.6.1/Doc/CTrans_h.html Wed Sep 25 17:51:01 2002
+***************
+*** 1,38 ****
+
+
+ Source: CTrans.h
+
+-
+
+!
+
+
+
+
+!
+! Source: CTrans.h
+
+!
+!
+
+
+
+
+!
+
+ // ////////////////////////////////////////////////////////////////////////////
+ //
+ // Filename CTrans.h
+ //
+! // Author Hans Palbøl & Sune Frankild
+ //
+ // Created 14-11-1999
+ //
+--- 1,36 ----
+
+
+ Source: CTrans.h
++
+
+
+!
+
+
+
+
+!
+! Source: CTrans.h
+
+!
+
+
+
+
+!
+
+ // ////////////////////////////////////////////////////////////////////////////
+ //
+ // Filename CTrans.h
+ //
+! // Author Hans Palbøl & Sune Frankild
+ //
+ // Created 14-11-1999
+ //
+***************
+*** 50,60 ****
+ #include "CSSignal.h"
+
+
+! #include <qrect.h>
+! #include <qpoint.h>
+! #include <qstring.h>
+! #include <qwidget.h>
+! #include <qsize.h>
+
+
+
+--- 48,58 ----
+ #include "CSSignal.h"
+
+
+! #include
+! #include
+! #include
+! #include
+! #include
+
+
+
+***************
+*** 140,146 ****
+
+
+
+! Generated by: hans@hanspp on Sat Mar 31 23:09:47 2001, using kdoc 2.0a35.
+
+
+
+--- 138,144 ----
+
+
+
+! Generated by: chrb on europa.dcs.ed.ac.uk on Wed Sep 25 17:51:01 2002, using kdoc 2.0a54.
+
+
+
+diff -u -r -c vstgl-0.6.1.orig/Doc/Simulation_h.html vstgl-0.6.1/Doc/Simulation_h.html
+*** vstgl-0.6.1.orig/Doc/Simulation_h.html Sat Mar 31 22:09:48 2001
+--- vstgl-0.6.1/Doc/Simulation_h.html Wed Sep 25 17:51:01 2002
+***************
+*** 1,48 ****
+
+
+ Source: Simulation.h
+
+-
+
+!
+
+
+
+
+!
+! Source: Simulation.h
+
+!
+!
+
+
+
+
+!
+
+ #ifndef __SIMULATION_H__
+ #define __SIMULATION_H__
+
+
+! //#include <string.h> // strcpy(), strcmp().
+! #include <stdlib.h> // _itoa().
+! #include <time.h> // rand().
+! //#include <afx.h> // CObject.
+! //#include <afxcoll.h> // CObList.
+! #include <fstream.h> // Exporting text file to Petrify.
+ //#include "StdAfx.h" // win95 GUI header fil.
+
+
+ #ifdef _DEBUG
+! #include <iostream.h> // cout
+ #endif
+
+ /// Petri Net component types.
+--- 1,46 ----
+
+
+ Source: Simulation.h
++
+
+
+!
+
+
+
+
+!
+! Source: Simulation.h
+
+!
+
+
+
+
+!
+
+ #ifndef __SIMULATION_H__
+ #define __SIMULATION_H__
+
+
+! //#include // strcpy(), strcmp().
+! #include // _itoa().
+! #include // rand().
+! //#include // CObject.
+! //#include // CObList.
+! #include // Exporting text file to Petrify.
+ //#include "StdAfx.h" // win95 GUI header fil.
+
+
+ #ifdef _DEBUG
+! #include // cout
+ #endif
+
+ /// Petri Net component types.
+***************
+*** 58,67 ****
+ enum SIGNAL_STATUS {INPUT, OUTPUT, INTERNAL, DUMMY};
+
+
+! #endif
+
+
+! Generated by: hans@hanspp on Sat Mar 31 23:09:47 2001, using kdoc 2.0a35.
+
+
+
+--- 56,66 ----
+ enum SIGNAL_STATUS {INPUT, OUTPUT, INTERNAL, DUMMY};
+
+
+! #endif
+!
+
+
+! Generated by: chrb on europa.dcs.ed.ac.uk on Wed Sep 25 17:51:01 2002, using kdoc 2.0a54.
+
+
+
+diff -u -r -c vstgl-0.6.1.orig/Doc/all-globals.html vstgl-0.6.1/Doc/all-globals.html
+*** vstgl-0.6.1.orig/Doc/all-globals.html Sat Mar 31 22:09:48 2001
+--- vstgl-0.6.1/Doc/all-globals.html Wed Sep 25 17:51:01 2002
+***************
+*** 1,48 ****
+
+
+ Globals
+
+-
+
+!
+
+!
+!
+! typedef CSObNode* POSITION
+!
+!
+!
+! enum EVENT {PLUS, MINUS, NOTHING}
+
+! enum SIGNAL_VALUE {ZERO, ONE, UNKNOWN}
+
+! enum SIGNAL_STATUS {INPUT, OUTPUT, INTERNAL, DUMMY}
+
+!
+!
+
+! Generated by: hans@hanspp on Sat Mar 31 23:09:47 2001, using kdoc 2.0a35.
+
+
+
+--- 1,49 ----
+
+
+ Globals
++
+
+
+!
+
+! CSObList.h
+! typedef CSObNode* POSITION
+
+!
+! Simulation.h
+! enum EVENT {PLUS, MINUS, NOTHING}
+
+! enum SIGNAL_VALUE {ZERO, ONE, UNKNOWN}
+
+! enum SIGNAL_STATUS {INPUT, OUTPUT, INTERNAL, DUMMY}
+!
+!
+! Global member Documentation
+!
#include <CSObList.h >
enum EVENT {PLUS, MINUS, NOTHING}
+! EVENT
#include <Simulation.h >
enum SIGNAL_VALUE {ZERO, ONE, UNKNOWN}
+! SIGNAL_VALUE
#include <Simulation.h >
enum SIGNAL_STATUS {INPUT, OUTPUT, INTERNAL, DUMMY}
+! SIGNAL_STATUS
#include <Simulation.h >
+
+! Generated by: chrb on europa.dcs.ed.ac.uk on Wed Sep 25 17:51:01 2002, using kdoc 2.0a54.
+
+
+
+diff -u -r -c vstgl-0.6.1.orig/Doc/compile_h.html vstgl-0.6.1/Doc/compile_h.html
+*** vstgl-0.6.1.orig/Doc/compile_h.html Sat Mar 31 22:09:48 2001
+--- vstgl-0.6.1/Doc/compile_h.html Wed Sep 25 17:51:01 2002
+***************
+*** 1,6 ****
+--- 1,7 ----
+
+
+ Source: compile.h
++
+
+
+
+***************
+*** 18,35 ****
+
+
+
+!
+
+! #define COMPILE_DATE "Tue Jan 18 23:38:57 CET 2000"
+
+
+
+! Generated by: hans@satan.home on Tue Jan 18 23:42:13 2000, using kdoc 2.0a30.
+
+
+
+--- 19,36 ----
+
+
+
+!
+
+! #define COMPILE_DATE "Wed Sep 25 17:48:55 BST 2002"
+
+
+
+! Generated by: chrb on europa.dcs.ed.ac.uk on Wed Sep 25 17:51:01 2002, using kdoc 2.0a54.
+
+