Sha256: 0cb0763a9c5ea3bba3926efd04f780748e233da66689b516910548707901d6f2

Contents?: true

Size: 537 Bytes

Versions: 2

Compression:

Stored size: 537 Bytes

Contents

#!/usr/bin/env ruby
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__)))
begin
  begin
    require 'Qt4'
  rescue LoadError
    require 'korundum4'
  end
rescue LoadError
  puts "QT Bindings not found, try `gem install qtbindings`."
  exit
end
require 'redis'
# APP
require 'redix/logic'
require 'redix/qtui'


module Redix

  App = Qt::Application.new(ARGV)

  def self.boot!
    u = Ui_MainWindow.new
 #   w = Qt::MainWindow.new
    u.setupUi #(w)
    Logic.for(u)
    u.show
    App.exec
  end


end

puts "Starting GUI"
Redix.boot!

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
redix-0.0.4 lib/redix.rb
redix-0.0.3 lib/redix.rb