Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. Italian
  4. Modificare background color di QPushbutton
Forum Updated to NodeBB v4.3 + New Features

Modificare background color di QPushbutton

Scheduled Pinned Locked Moved Unsolved Italian
2 Posts 2 Posters 616 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Achab61
    wrote on last edited by
    #1

    Ho un problema in linea di principio semplice ma a cui non trovo ancora soluzione: vorrei cambiare il background color di un QPushButton in QDesigner. Ho provato ha moficare la proprietà 'palette' con 'change palette' ma non accade nulla; ho provato anche con 'change stylesheet' ma senza risultato.

    Avreset qualche suggerimento ?

    JonBJ 1 Reply Last reply
    0
    • A Achab61

      Ho un problema in linea di principio semplice ma a cui non trovo ancora soluzione: vorrei cambiare il background color di un QPushButton in QDesigner. Ho provato ha moficare la proprietà 'palette' con 'change palette' ma non accade nulla; ho provato anche con 'change stylesheet' ma senza risultato.

      Avreset qualche suggerimento ?

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by
      #2

      @Achab61
      https://forum.qt.io/topic/134171/changing-push-button-background-color-does-not-work/2

      @jsulm wrote:

      @Achab61 I suggest you post the style-sheet you set.

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved