36: def initialize(parent=nil)
37: super(parent)
38: @layout = Qt::GridLayout.new(self)
39: @t = Qt::TextBrowser.new
40: @layout.addWidget(@t, 0, 0, 1, 1)
41: @layout.margin = @layout.spacing = 0
42:
43: @html_default='<center><br/><img src="ui/qt/images/dradis.jpg"><h1>dradis 1.0</h1>etdsoft \'07</center>'
44: @html_bar='<div><div>actions: <a href="add/#type#/#uid#">add note</a></div><div>show:#catlist# (<a href="filter/all">all</a>)</div></div>'
45: @html_invalid='<center><br/><img src="ui/qt/images/dradis.jpg"><p>please, wait until the new revision is downloaded from the server...</p></center>'
46:
47:
48: @t.html= @last_html = @html_default
49: connect @t, SIGNAL('anchorClicked(QUrl)'), self, SLOT('anchor_clicked(QUrl)')
50:
51: end