[opengtl-commits] [667] update to more recent version of libQtGTL

[ Thread Index | Date Index | More lists.tuxfamily.org/opengtl-commits Archives ]


Revision: 667
Author:   cyrille
Date:     2009-03-23 19:32:07 +0100 (Mon, 23 Mar 2009)

Log Message:
-----------
update to more recent version of libQtGTL
update description

Modified Paths:
--------------
    trunk/GTLDesigner/src/gtldesigner.cpp
    trunk/GTLDesigner/src/gtldesigner.desktop
    trunk/GTLDesigner/src/gtldesigner.h


Modified: trunk/GTLDesigner/src/gtldesigner.cpp
===================================================================
--- trunk/GTLDesigner/src/gtldesigner.cpp	2009-03-23 18:31:24 UTC (rev 666)
+++ trunk/GTLDesigner/src/gtldesigner.cpp	2009-03-23 18:32:07 UTC (rev 667)
@@ -53,7 +53,7 @@
 #include <OpenCTL/Module.h>
 #include <OpenCTL/Program.h>
 
-#include <QtShiva/ParametersWidget.h>
+#include <QtShiva/KernelParametersWidget.h>
 
 #include "ImageViewer.h"
 #include "ErrorMessagesModel.h"
@@ -141,7 +141,7 @@
   // Parameters docker
   QDockWidget* parametersDockerDockWidget = new QDockWidget(i18n("Parameters"), this);
   parametersDockerDockWidget->setObjectName("ParametersDocker");
-  m_parametersWidget = new QtShiva::ParametersWidget( parametersDockerDockWidget );
+  m_parametersWidget = new QtShiva::KernelParametersWidget( parametersDockerDockWidget );
   parametersDockerDockWidget->setWidget( m_parametersWidget );
   
   addDockWidget( Qt::RightDockWidgetArea, parametersDockerDockWidget );
@@ -264,7 +264,7 @@
     if( program.initialised() )
     {
       program.apply( *image, *image );
-      QImage res( region.width(), region.height(), QImage::Format_ARGB32);
+      QImage res( region.width(), region.height(), QImage::Format_RGB32);
       for( int i = 0; i < region.width(); ++i)
       {
         for( int j = 0; j < region.height(); ++j)
@@ -303,7 +303,8 @@
   m_kernel->compile();
   if(m_kernel->isCompiled())
   {
-    GTLCore::Region region(0,0,800,600);
+    m_listView->setModel( 0 );
+    GTLCore::Region region(0,0,1,1);
     if( m_kernel->hasGeneratedFunction() )
     {
       region = m_kernel->generated();

Modified: trunk/GTLDesigner/src/gtldesigner.desktop
===================================================================
--- trunk/GTLDesigner/src/gtldesigner.desktop	2009-03-23 18:31:24 UTC (rev 666)
+++ trunk/GTLDesigner/src/gtldesigner.desktop	2009-03-23 18:32:07 UTC (rev 667)
@@ -1,34 +1,9 @@
 [Desktop Entry]
 Name=GTLDesigner
-Name[x-test]=xxGTLDesignerxx
 Exec=gtldesigner %i -caption "%c"
 Icon=gtldesigner
 Type=Application
 DocPath=gtldesigner/index.html
-GenericName=A KDE4 Application
-GenericName[ca]=Una aplicació del KDE4
-GenericName[da]=Et KDE4-program
-GenericName[de]=Eine KDE-4-Anwendung
-GenericName[el]=Μια εφαρμογή KDE4
-GenericName[es]=Una aplicación de KDE4
-GenericName[et]=KDE4 rakendus
-GenericName[fr]=Une application pour KDE4
-GenericName[ga]=Feidhmchlár KDE4
-GenericName[gl]=Un programa de KDE4
-GenericName[it]=Un'applicazione di KDE 4
-GenericName[km]=កម្មវិធី KDE4
-GenericName[lv]=KDE4 lietotne
-GenericName[nds]=En KDE4-Programm
-GenericName[pl]=Program dla KDE4
-GenericName[pt]=Uma Aplicação do KDE4
-GenericName[pt_BR]=Uma Aplicação do KDE4
-GenericName[sr]=КДЕ‑4 програм
-GenericName[sr@latin]=KDE4 program
-GenericName[sv]=Ett KDE4-program
-GenericName[tr]=Bir KDE4 Uygulaması
-GenericName[uk]=Програма для KDE4
-GenericName[x-test]=xxA KDE4 Applicationxx
-GenericName[zh_CN]=KDE4 应用程序
-GenericName[zh_TW]=KDE4 應用程式
+GenericName=Graphics Transfomation Languages Designer
 Terminal=0
 

Modified: trunk/GTLDesigner/src/gtldesigner.h
===================================================================
--- trunk/GTLDesigner/src/gtldesigner.h	2009-03-23 18:31:24 UTC (rev 666)
+++ trunk/GTLDesigner/src/gtldesigner.h	2009-03-23 18:32:07 UTC (rev 667)
@@ -39,7 +39,7 @@
 }
 
 namespace QtShiva {
-  class ParametersWidget;
+  class KernelParametersWidget;
 }
 
 namespace OpenShiva {
@@ -98,7 +98,7 @@
     Ui::prefs_base ui_prefs_base ;
     Ui::ImagesDocker* ui_imagesDocker;
     Ui::OptionsDocker* ui_optionsDocker;
-    QtShiva::ParametersWidget* m_parametersWidget;
+    QtShiva::KernelParametersWidget* m_parametersWidget;
     OpenShiva::Kernel* m_kernel;
 
     QPrinter   *m_printer;


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/