Results 1 to 10 of 10

Thread: How to change the menubar after log in as super user.

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts

    Default Re: How to change the menubar after log in as super user.

    You could make a ZIP file of your project and attach it.

    Cheers,
    _

  2. #2
    Join Date
    Oct 2013
    Posts
    142
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows Android
    Thanks
    36
    Thanked 3 Times in 3 Posts

    Default Re: How to change the menubar after log in as super user.

    Ok I will uploaded it. Thank you.
    PS: There are some elements that I added to test functionality in camer.cpp. And didn't had time to clean the project before uploading it, have a exam that I need to go, also the I am using Qt 5.2.
    Attached Files Attached Files
    Last edited by adutzu89; 21st January 2014 at 09:30.

  3. #3
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts

    Default Re: How to change the menubar after log in as super user.

    First check if you really want FerDialConect to be of type "camer", i.e. a main window.
    The slot that creates it is called creareDialogConect which would indicate that FerDialConect is a dialog.

    If you want to change the menu of the camer instance that is created in main(), then you have to call its setMeniuAdmin().

    For example after fdc->afisDial() returns or, after making setMeniuAdmin() a slot, have FerDialConect emit a signal and connect it to the setMeniuAdmin().

    Cheers,
    _

  4. The following user says thank you to anda_skoa for this useful post:

    adutzu89 (22nd January 2014)

Similar Threads

  1. Replies: 2
    Last Post: 9th September 2013, 22:12
  2. change image by user
    By smemamian in forum Newbie
    Replies: 1
    Last Post: 10th July 2013, 22:18
  3. Change background color of one menubar item eg Help in blue
    By maulik_887 in forum Qt Programming
    Replies: 5
    Last Post: 9th April 2012, 13:41
  4. change the text colour in Menubar
    By chinmayapadhi in forum Qt Programming
    Replies: 1
    Last Post: 16th August 2010, 01:31
  5. Running shell script with as super user in N900
    By spylvas in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 30th April 2010, 01:05

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.