octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Octave Community News centering and content


From: Daniel J Sebald
Subject: Re: Octave Community News centering and content
Date: Mon, 18 Nov 2013 00:36:05 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111108 Fedora/3.1.16-1.fc14 Thunderbird/3.1.16

On 11/18/2013 12:20 AM, John W. Eaton wrote:
On 11/18/2013 12:43 AM, Daniel J Sebald wrote:

Is there any artistic sort who might want to give a try for a background
to the community news window to give it a little pizazz? The image
might be alpha shaded, or set to the bottom or top of the text. Maybe a
newspaper, or perhaps two silhouettes of two heads talking back and
forth with plot, formula, or matrix "speak balloons"?

Do you mean to build that into the widget that displays the news?

We are currently using the QTextBrowser widget to show the news. It
is fairly limited, so I doubt that we could use HTML or css tricks to
get the sort of background you are describing. And I'd rather not add
webkit as a dependency.

No new libraries or anything. The OCN window is 640x480 so I was thinking a 640x480 image as a backdrop. There must be a way to place an image as a background of a Qt window

http://qt-project.org/doc/qt-4.8/stylesheet-examples.html#customizing-qabstractscrollarea

... Since you mention HTML though, I seem to recall a Qt window that processes HTML code (well I guess it is just a subset):

http://qt-project.org/doc/qt-4.8/richtext-html-subset.html

Dan


reply via email to

[Prev in Thread] Current Thread [Next in Thread]