Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 5

Qt-interest Archive, April 2008
QFontDialog customization


Message 1 in thread

Are there any functions exposed inside qfontdialog such that we can
customize the dialog ? Say if I don't want do have the 'effect' frame
displayed in the dialog are there any functions exposed to hide the
frame ?

Ramu

--
 [ signature omitted ] 

Message 2 in thread

Should be possible using QObject::findChild (and then calling hide on that)
http://doc.trolltech.com/4.3/qobject.html#findChild

(unless you're using the static QFontDialog functions)

Cheers,
Peter

> -----Ursprüngliche Nachricht-----
> Von: Javvaji, Ramareddy [mailto:Ramareddy.Javvaji@xxxxxxxxxx] 
> Gesendet: Mittwoch, 23. April 2008 14:53
> An: qt-interest@xxxxxxxxxxxxx
> Betreff: QFontDialog customization
> 
> Are there any functions exposed inside qfontdialog such that we can
> customize the dialog ? Say if I don't want do have the 'effect' frame
> displayed in the dialog are there any functions exposed to hide the
> frame ?
> 
> Ramu

--
 [ signature omitted ] 

Message 3 in thread

Let me bother with a newbie question.

I wrote a little program in C++ with Qt4. Although usually the program 
runs without a problem, it aborts immediately after its invoked when 
it's built with -g option and dumps a long message which starts like this:

*** glibc detected *** ./hogehoge: free(): invalid pointer: 0x08052ff4 ***
======= Backtrace: =========
/lib/libc.so.6[0xb707d4b6]
(continues......)

I added -g option by adding CONFIG += debug line to hogehoge.pro.

i'm using openSUSE10.3. I first used Qt4.3.1 provided by YaST and then I 
downloaded and installed 4.3.4 to see if it makes a difference, which 
produced the same result.

I'd be happy if anybody point out what i'm missing.

Koichi

--
 [ signature omitted ] 

Message 4 in thread

I kinda solved this abort problem myself.
The cause was that, in the initialization stage, the program tried to 
'delete' an uninitialized pointer. Somehow it didn't do any harm when 
the program is built without -g option.

So it was more like my coding problem magnified by the idiosyncracy of 
the compiler.

Besides I see some other ununderstandable behaviors of gdb/eclipse-CDT 
but I'll try to isolate/summarize the problem and come back later with a 
proper 'Subject'.

Thanks
Koichi


Koichi KAWAMURA ãããæãããã:
> Let me bother with a newbie question.
>
> I wrote a little program in C++ with Qt4. Although usually the program 
> runs without a problem, it aborts immediately after its invoked when 
> it's built with -g option and dumps a long message which starts like 
> this:
>
> *** glibc detected *** ./hogehoge: free(): invalid pointer: 0x08052ff4 
> ***
> ======= Backtrace: =========
> /lib/libc.so.6[0xb707d4b6]
> (continues......)
>
> I added -g option by adding CONFIG += debug line to hogehoge.pro.
>
> i'm using openSUSE10.3. I first used Qt4.3.1 provided by YaST and then 
> I downloaded and installed 4.3.4 to see if it makes a difference, 
> which produced the same result.
>
> I'd be happy if anybody point out what i'm missing.
>
> Koichi
>
> -- 
> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with 
> "unsubscribe" in the subject or the body.
> List archive and information: http://lists.trolltech.com/qt-interest/

--
 [ signature omitted ]