Class Webgen::GUI::LogWidget
In: lib/webgen/gui/main.rb
Parent: Qt::TextEdit
RuntimeError PluginParamNotFound PluginNotFound ConfigurationFileInvalid CmdParse::CommandParser CommandParser Test::Unit::TestCase TestCase PluginTestCase DirectoryInfo GalleryStyle WebSiteStyle WebSiteTemplate SipttraStyle TagTestCase CmdParse::Command ShowCommand CheckCommand UseCommand CreateCommand TSort DependencyHash Hash Comparable Language ::Logger Logger Logger DEFAULT_WRAPPER_MODULE WebSite Qt::MainWindow MainWindow Qt::Dialog NewWebsiteDialog Qt::TextEdit LogWidget ::Rake::TaskLib WebgenTask ConfigurationFile Website PluginManager PluginLoader PluginParamValueNotFound Dummy Color CliUtils PluginDefs lib/webgen/languages.rb lib/webgen/website.rb lib/webgen/gui/common.rb lib/webgen/plugin.rb lib/webgen/test.rb lib/webgen/cli.rb ClassMethods PluginDefs LanguageManager lib/webgen/gui/new_website_dlg.rb lib/webgen/gui/main.rb GUI lib/webgen/rake/webgentask.rb Rake Webgen dot/m_60_1.png

Methods

close   new   toggleShown   write  

Public Class methods

Create a LogWindow

[Source]

    # File lib/webgen/gui/main.rb, line 52
52:     def initialize( p )
53:       super( p )
54:       setTextFormat( Qt::LogText )
55:       setFont( Qt::Font.new( "Courier" ) )
56:       Object.set_logger( Logger.new( self, 0, 0, logger.level ), true )
57:     end

Public Instance methods

Invoked by the logger library for closing the log device. Does nothing.

[Source]

    # File lib/webgen/gui/main.rb, line 65
65:     def close; end

[Source]

    # File lib/webgen/gui/main.rb, line 67
67:     def toggleShown
68:       if isShown then hide else show end
69:     end

Invoked by the logger library for writing log messages.

[Source]

    # File lib/webgen/gui/main.rb, line 60
60:     def write( message )
61:       self.append( message )
62:     end

[Validate]