Results 1 to 2 of 2

Thread: Run and Stop samplingthread on qwt Oscillocope

  1. #1
    Join Date
    Mar 2014
    Posts
    11
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Windows

    Default Run and Stop samplingthread on qwt Oscillocope

    hi everyone !!
    I want to control the start of samplingThread on Oscillocope example
    I 've created in MainWindow datei the Button "Run" and function startThread();

    then I connected in MainWindow datei the button Run and the function startThread like this
    connect(run, SIGNAL(clicked()), SIGNAL(startThread()));

    finaly in Main datei I've Connected
    window.connect( &window, SIGNAL( startThread( ) ),
    &samplingThread, SLOT( start() ) );

    now when I push on my Button "Run" , the curve (signal)does not appears anymore continuously but periodically
    normally the Button Run is just just to trigger the beginning of the Thread

    what is wrong ?
    any help would be appreciated

  2. #2
    Join Date
    Mar 2014
    Posts
    11
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Windows

    Default Re: Run and Stop samplingthread on qwt Oscillocope

    sorry ... datei = file

Similar Threads

  1. Replies: 2
    Last Post: 15th May 2014, 10:13
  2. Stop an application from GUI
    By jesse_mark in forum Newbie
    Replies: 3
    Last Post: 12th April 2013, 23:49
  3. Stop at exceptions
    By alizadeh91 in forum Qt Programming
    Replies: 3
    Last Post: 27th February 2013, 20:20
  4. how to stop QProcess in app.
    By manmohan in forum Newbie
    Replies: 5
    Last Post: 6th October 2010, 08:10
  5. How to stop QThread?
    By vespasianvs in forum Qt Programming
    Replies: 3
    Last Post: 14th March 2010, 07:42

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.