Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8488035
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T21:25:08+00:00 2026-06-10T21:25:08+00:00

I have just changed some toolbars from Q3ToolBars (with QToolButtons explicitly added to them)

  • 0

I have just changed some toolbars from Q3ToolBars (with QToolButtons explicitly added to them) into Q4 toolbars (with actions added to them straight away instead.)

The old tool buttons had a nice outline around them, but this is not displayed in the new version; the QActions in the Q4 toolbar just look like a line of icons. Is there a way to change the ‘button’ style in the new version (assuming these actions can be considered as such) and give them the outline? I’ve looked through the QToolBar reference, but the toolButtonStyle() function only appears to work with whether you want to display icon, text, etc.

…Or will I have to just make actual tool buttons and/or QPushButtons and use addWidget()?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T21:25:09+00:00Added an answer on June 10, 2026 at 9:25 pm

    Yes, of course you can edit look of QToolButtons in two different ways:

    1. You can set it style sheet using void QWidget::setStyleSheet(const QString &)
    2. You can reimplement QToolButtons class with new paintEvent function where you will be able to exactly set how your button should looks like.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have just changed my WPF application from .Net3.5 to .Net4. Doing this caused
I have just installed a new ssl certificate on GlassFish 3. I also changed
I have just installed composer in my /usr/bin folder, so when from that folder
I have a web application with some data in its datastore. I have just
just changed from Netbeans to Eclipse just for fun (Only developer on the company,
I need to add some appointments from a legacy system into Dynamics. During the
i have installed ckeditor into my asp.mvc project, now i need to implement just
I have just changed my database connection. I am not used to the PDO
I have the following problem. We have a site. I changed some sprites to
I have just started putting JSLint into my build pipeline and it has been

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.