Skip to content
  • 144k Topics
    723k Posts
    J
    I have a QListWidget with a model with checkboxes on each item. I've enabled ExtendedSelection as the selection mode, but I still can only toggle one checkbox at a time. Is there a simple way to check/uncheck the checkboxes on all rows selected? I've tried getting the selected rows from the view's selection model in a connection to QListView::clicked, but that doesn't really work and will get out of step with the rows that are actually selected.
  • Jobs, project showcases, announcements - anything that isn't directly development
    4k 23k
    4k Topics
    23k Posts
    C
    When renovating properties across different regions, understanding variations in an Electrical Socket Box is crucial. In the United States, outlet enclosures are designed to suit flat or angled blade connectors rated for 120 volts. These boxes often emphasize nonconductive materials and a streamlined form that fits within standard wall cavities. Meanwhile, in the United Kingdom, wall sockets rely on three rectangular pins, and their boxes feature robust mounting systems with integrated safety shutters. On the European mainland, recessed housings accommodate rounded Schuko plugs intended for 230 volts, with cases built to accept grounding through side contacts. Recognizing these distinctions ensures compatibility and safety when specifying units for international properties or planning cross-border construction projects. Safety regulations shape each territory's socket configurations. US panels must meet flame retardance and insulation criteria set by national bodies, while UK fittings follow British Standards that mandate built-in shutters to prevent accidental contact. EU designs incorporate protection against foreign objects and heavy dust, often relying on deeper enclosures that support thicker insulation layers. When energy efficiency and fire prevention grab headlines, these local rules guide architects and electricians in selecting the right product. Material choices vary as well. In North America, polycarbonate or PVC-based enclosures dominate, prized for ease of molding and electrical isolation. In the UK, metal back boxes remain popular in solid brick or concrete walls, offering improved grounding and mechanical stability. Across continental Europe, manufacturers balance thermoplastic and die-cast aluminum to combine weather resistance with a neat aesthetic for both indoor and outdoor installations. Each approach reflects local construction norms and supply chain factors. Adaptors and travel converters underscore these differences. Tourists and business travellers often carry plugs that fit one region yet fail elsewhere. A modular socket platform that accepts exchangeable inserts can simplify global deployments. Instead of stocking six separate box types, installers swap faceplates and terminal blocks to match local pins and voltage. This flexibility proves valuable in serviced apartments, multinational offices, or exhibition venues where temporary setups shift between standards. The rise of remote work and distributed teams has increased interest in home office reliability. A socket box chosen without regard for local requirements may lead to overloaded circuits when users plug in high-load devices. US desktops drawing power through multiple USB ports need enclosures that accommodate smart modules and surge protection. In UK study rooms, adding sockets to ring final circuits demands careful planning to avoid nuisance trips. On EU campuses, mixed device loads call for cases fitted with labeling strips and modular breakers to identify each circuit easily. Sustainability concerns also influence design. As governments push for lower carbon footprints, socket enclosures with recycled materials or minimal assembly waste become more attractive. Some manufacturers implement press-fit installations that cut out screws, reducing metal use. Others integrate energy monitoring features at the enclosure level, letting building managers track lighting and equipment consumption across regions without retrofitting entire systems. Installation practices reflect local craft traditions. In America, enclosures often install in wooden studs with nail-on ears or clamp-on mechanisms. In British walls, pattress boxes secure behind plasterboard or surface mounted behind decorative trims. European jackets may sit flush with tiled surfaces or attach to track systems for facade lighting. These methods affect the choice of box depth, mounting brackets, and sealing options to ensure water or dust cannot compromise connections. For organizations coordinating international rollouts, partnering with a supplier that offers a global product range is a strategic advantage. A vendor that provides documentation aligned with multiple standards simplifies approval processes and reduces the risk of costly reworks. Clear guidance on torque settings, ingress protection ratings, and compatible accessories helps maintain consistency from New York apartments to London townhouses and Munich offices. Whether planning a cross-border office network or upgrading residential units in different countries, selecting the right outlet enclosure streamlines work and enhances safety. By paying attention to local rules, material options, and mounting methods, specifiers can deliver reliable power without surprises. To explore a selection of versatile industrial socket enclosures designed for diverse standards and applications, visit Nante.
  • Everything related to designing and design tools

    127 383
    127 Topics
    383 Posts
    R
    I see this is an old thread and I see several unresolved threads on this topic. I'm leaving this incase it helps someone else who ends up here. The solution was twofold for me. Go to File > Export Project and select Enable Python Generator. This will create a main.py. Make sure you pip install PySide6-DS Hope this helps someone.
  • Everything related to the QA Tools

    77 213
    77 Topics
    213 Posts
    J
    Hello i am using WinCC OA to develop a qt application. WinCC OA has some custom elements which cannot be detected by squish for example a polygon. Squish is now not able to detect this element with the picker. I know the name of the element but as it is of WinCC OA internal i do not know the type: waitForObject( {"container": "container", "name": "POLYGON1","type": "???","visible": 1} ); How do i get this information? And what to use if unknown? Is there any other way? I mainly just need to click this element. Thanks a lot
  • Everything related to learning Qt.

    382 2k
    382 Topics
    2k Posts
    V
    Thank you 😊
  • 2k Topics
    13k Posts
    SGaistS
    Oh right, I forgot about that one. Depending on the content you can apply the same to rows. In any case, since your issue is fixed, please mark the thread as solved using the "Topic Tools" button so that other forum members may know a solution has been found :-)
  • 4k Topics
    18k Posts
    M
    @Max Ok, j'ai compris : en modifiant la taille de la fonte du QLineEdit inclus dans le QTimeEdit, ça fonctionne. Bêtement je prenais la police "f" du QLineEdit inclus, modifiais la taille de "f" et faisais QLineEdit->parent->setFont(f). Ici "parent" était de trop. En me relisant, j'espère que ce que j'ai écris est compréhensible... A+ Sylvain
  • This is where all the posts related to the Qt web services go. Including severe sillyness.
    1k 10k
    1k Topics
    10k Posts
    SGaistS
    @RokeJulianLockhart to the best of my knowledge, no. The first release of Discourse was in 2014 and the forum is several years older than that.