Class: Shoes::App::Alert

Inherits:
Qt::Dialog
  • Object
show all
Defined in:
lib/blue_shoes/app.rb

Overview

create an alert

Instance Method Summary collapse

Constructor Details

#initialize(message, parent = nil) ⇒ Alert

Returns a new instance of Alert.



89
90
91
92
# File 'lib/blue_shoes/app.rb', line 89

def initialize(message, parent = nil)
  super(parent)
  Qt::MessageBox::information(self,"Alert!" , message)
end