How do I modify the default application interface?

Stephen Dzurenko dzurenko at arlut.utexas.edu
Mon Oct 28 21:06:59 GMT 2002


Caleb Tennis wrote:

>On Monday 28 October 2002 08:03 pm, Stephen Dzurenko wrote:
>  
>
>>Hello All,
>>
>>I did search the archives and found several other similar questions.
>> However, for each email there were either no replies or non-helpful
>>replies.
>>
>>I have created a Kdevelop project and written several classes.  After
>>getting a successful build, I ran my application.  Now I would like to
>>customize the main window menu.  And this I cannot figure out how to do.
>> Can anyone tell me how to modify the default application interface?
>>    
>>
>
>
>Is this a KDE application?  Are you using KMainWindow?  If so, there should be 
>a menuBar() method that returns a pointer to a KMenuBar that you can modify.
>
Not sure on either question.  I assume it's a KDE app.  Whatever one 
gets by default when one creates a new project is probably what I have. 
 I will check on both these questions this evening.  

Regardless, it appears to me that you are suggesting I modify the menu 
bar programmatically.  Is this the preferred method?  Is there not a way 
to do this via Kdevelop/Qt Designer?

Thanks.

-Steve

>
>If it's just a Qt Application, look at QMenuBar.
>
>If you want to do it via XMLGUI, there is information at 
>http://developer.kde.org
>
>Caleb
>
>
>  
>


-- 
--
Stephen Dzurenko
Research Engineer / Scientist Associate

Advanced Sonar Division / Advanced Technology Laboratory

Applied Research Laboratories
The University of Texas at Austin
P.O. Box 8029
Austin, Texas  78713-8029
10000 Burnet Road 78758-4423




-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list