Ignore:
Timestamp:
Aug 14, 2007, 12:27:44 PM (17 years ago)
Author:
garnier
Message:

r563@mac-90108: laurentgarnier | 2007-08-14 12:28:16 +0200
mise a jour suite au plantage de svk (cheksum error) suite au crash du DD en juin

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/geant4/OpenGLQT_exemple/src/window.cpp

    r549 r561  
    44 #include "window.h"
    55
    6  Window::Window()
     6Window::Window(): QDialog(0,Qt::Dialog)
    77 {
    88   printf("Window::Window 1\n");
     
    2222
    2323     QHBoxLayout *mainLayout = new QHBoxLayout;
     24
    2425     mainLayout->addWidget(glWidget);
    2526   printf("Window::Window 3\n");
     
    5152//      return slider;
    5253//  }
     54
     55void Window::mousePressEvent(QMouseEvent *event)
     56{
     57  printf("Window::mousePressEvent \n");
     58}
     59
     60void Window::mouseReleaseEvent(QMouseEvent *event)
     61{
     62  printf("Window::mouseReleaseEvent \n");
     63}
     64
     65void Window::mouseMoveEvent(QMouseEvent *event)
     66{
     67  printf("Window::mouseMoveEvent \n");
     68  //  int dx = event->x() - lastPos.x();
     69  //  int dy = event->y() - lastPos.y();
     70 
     71  //  if (event->buttons() & Qt::LeftButton) {
     72  //  } else if (event->buttons() & Qt::RightButton) {
     73  //  }
     74}
Note: See TracChangeset for help on using the changeset viewer.