Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Minor changes for new version of Qt4

  • Loading branch information...
commit 0056c52b11c06f128f4d485be3b1d09f76604181 1 parent 3eb78ab
@wedesoft authored
Showing with 6 additions and 5 deletions.
  1. +6 −5 mainwindow.rb
View
11 mainwindow.rb
@@ -108,12 +108,13 @@ def closeEvent(e)
end
def calibrate
@homography = nil
- @calibration = CalibrateWidget.new self
+ @calibration = CalibrateWidget.new
flags = Qt::Enum.new 0, 'Qt::WindowFlags'
- flags |= Qt::DialogType
- flags |= Qt::FramelessWindowHint
- @calibration.windowFlags = flags
- # @calibration.setWindowFlags(Qt::FramelessWindowHint || Qt::DialogType)
+ #flags |= Qt::DialogType
+ #flags |= Qt::FramelessWindowHint
+ #@calibration.windowFlags = flags
+ #@calibration.setWindowFlags(Qt::FramelessWindowHint || Qt::DialogType)
+ @calibration.setWindowFlags(Qt::FramelessWindowHint || Qt::DialogType)
@calibration.cursor = Qt::Cursor.new Qt::BlankCursor
connect @ui.action_quit, SIGNAL('triggered()'), self, SLOT('close()')
connect self, SIGNAL('ir_clicked(int,int)'), @calibration, SLOT('add_point(int,int)')
Please sign in to comment.
Something went wrong with that request. Please try again.