Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 72319 Details for
Bug 111707
ruby-1.8.4_pre1 can't load some of qtruby's widgets
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Test code to reproduce the bug
test.rb (text/plain), 512 bytes, created by
Andreas Schäfer
on 2005-11-06 10:05:52 UTC
(
hide
)
Description:
Test code to reproduce the bug
Filename:
MIME Type:
Creator:
Andreas Schäfer
Created:
2005-11-06 10:05:52 UTC
Size:
512 bytes
patch
obsolete
>#!/usr/bin/env ruby -w > >require 'Qt' > >class MyWidget < Qt::MainWindow > def initialize() > super > @canvas = Qt::Canvas.new(640, 480) > rect = Qt::CanvasRectangle.new(10, 10, 50, 50, @canvas) > rect.setBrush(Qt::Brush.new(Qt::green)) > rect.setPen(Qt::Pen.new(Qt::red)) > rect.show > > @canvas_view = Qt::CanvasView.new(@canvas, self) > self.setCentralWidget(@canvas_view) > @canvas.update > end >end > >a = Qt::Application.new(ARGV) > >w = MyWidget.new >w.show > >a.setMainWidget(w) >a.exec() >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 111707
: 72319 |
72320
|
72321