Show a patch.

GET /api/1.1/patches/17104/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 17104,
    "url": "https://patchwork.libcamera.org/api/1.1/patches/17104/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/17104/",
    "project": {
        "id": 1,
        "url": "https://patchwork.libcamera.org/api/1.1/projects/1/?format=api",
        "name": "libcamera",
        "link_name": "libcamera",
        "list_id": "libcamera_core",
        "list_email": "libcamera-devel@lists.libcamera.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": ""
    },
    "msgid": "<20220812124651.27496-9-utkarsh02t@gmail.com>",
    "date": "2022-08-12T12:46:48",
    "name": "[libcamera-devel,v2,08/11] qcam: ControlsTab: Allow widget to resizeable",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "743c2b13e08177c6afb60c0c2c35d124e694ee32",
    "submitter": {
        "id": 114,
        "url": "https://patchwork.libcamera.org/api/1.1/people/114/?format=api",
        "name": "Utkarsh Tiwari",
        "email": "utkarsh02t@gmail.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/17104/mbox/",
    "series": [
        {
            "id": 3410,
            "url": "https://patchwork.libcamera.org/api/1.1/series/3410/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=3410",
            "date": "2022-08-12T12:46:40",
            "name": "Introduce control interaction to qcam",
            "version": 2,
            "mbox": "https://patchwork.libcamera.org/series/3410/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/17104/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/17104/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "<libcamera-devel-bounces@lists.libcamera.org>",
        "X-Original-To": "parsemail@patchwork.libcamera.org",
        "Delivered-To": "parsemail@patchwork.libcamera.org",
        "Received": [
            "from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id 77941BE173\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri, 12 Aug 2022 12:47:22 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 340B563335;\n\tFri, 12 Aug 2022 14:47:22 +0200 (CEST)",
            "from mail-pf1-x435.google.com (mail-pf1-x435.google.com\n\t[IPv6:2607:f8b0:4864:20::435])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 857B263335\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 12 Aug 2022 14:47:20 +0200 (CEST)",
            "by mail-pf1-x435.google.com with SMTP id f30so872363pfq.4\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 12 Aug 2022 05:47:20 -0700 (PDT)",
            "from localhost.localdomain ([2404:bd00:3:dc0d:d8e:96a2:2dbe:5a83])\n\tby smtp.gmail.com with ESMTPSA id\n\te6-20020a17090a728600b001f069352d73sm1431785pjg.25.2022.08.12.05.47.17\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tFri, 12 Aug 2022 05:47:18 -0700 (PDT)"
        ],
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1660308442;\n\tbh=JhiSF5d0NB3t37fn65lXbj8c4vWCMyyRUF5KMfFffNo=;\n\th=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe:\n\tList-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:\n\tFrom;\n\tb=McdYk5xD2Bz4y58rvfLH5YuoW9rhI4k3IHcvlwkmlslw1KOnL4AZn7jbja3zvibJH\n\t5bah03vlrUhb73oNK41vgc4uZUqYO+8848mTgdrDFL5jaP5tT2mxhxn3k4SzLOmOS6\n\tacc+hIQ01AFBMiIpnPD1Uj0N4cJjtaV/nj+D8pa5ZAGm3K24wQlaZuiZfev/APTKmw\n\tOTxVstbCXrcMP3TTktfGFytZHNDTXfJDiszKvK2Rxna8KRUJWig35lwf5aZQfxq+gT\n\tfxlfr1JgNgp5PhkiY9G1gINkuXmbboIUx68XPwLEH6J6P78+2xhGln/JqPeAOtN/+X\n\tPmmV3/qdsqeoA==",
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;\n\th=content-transfer-encoding:mime-version:references:in-reply-to\n\t:message-id:date:subject:cc:to:from:from:to:cc;\n\tbh=tOMvEb8+jW2LNCQnAUQ+tjZmiR2dUmv6UZKwe1iyfwE=;\n\tb=bD8EjVWl9x9pfmKkpgd/IFh3MQtidJvw+3X6Vv+9KrBGE/3eI0wiXy/KCK6X73n+Rq\n\tFfBc0NXDTIZ40LVIxTETE+Q6bkyy8Zi7keaxh2aeqk2QvE8I3hMf5HsZktERtlwAnyrb\n\twyWF/nRQ3q1+9bBmTD8Pvk2v++XtFMoJGy2PybnyLMrgaBNjhkCIg35NksKn/Kckbib/\n\tR22wWSiRVflYKEIwfVICtoyA2/+nRly0c8N0E+SB8DMyYAu8N8qbphLfNvVWRVxo/PkX\n\tiTRcyov1W5uCZftdgAog9Fogb65MNFHxlYMyGzFWHJsPUezljJjflOHSiBF03ezAI7x4\n\tDD5w=="
        ],
        "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (2048-bit key; \n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"bD8EjVWl\"; dkim-atps=neutral",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20210112;\n\th=content-transfer-encoding:mime-version:references:in-reply-to\n\t:message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc;\n\tbh=tOMvEb8+jW2LNCQnAUQ+tjZmiR2dUmv6UZKwe1iyfwE=;\n\tb=df5NRhfedipsojiC3+ETfEFqf4kQxpo5zqIM9/A56F9y8mTLsASFi2G3fmQq9blIrS\n\tutRykqNZGhgYMT+kdA51oNcXnAzps0i2t9cIr1MM7xRfHGWK1Dd3LIMFsjPDXE7iM8TY\n\txp3QCHfzkFXtEkjuqLs28i7fUXvO22sOhByw/qehhQANbaE0AG3jhuAW7saPfwd37I9G\n\tOhbRQqPu+E2lGzjfVhwI3RNuJ4njPRUajI7aksI+QlmOAc7+AdiFZz7p7yWJad1eChcc\n\tYTs4ii9u8H73cmZthvXawZfY9In7cQPXjyWNNe9nc06za8gmCUwr2bc/gFyK1m+GeGwd\n\tmjVQ==",
        "X-Gm-Message-State": "ACgBeo0kOuVrlDq+p9P6AQB7IhDZdZ/vFsukEOietNAWD8qsy2ADKpQC\n\tg+ADVjEDnj+Kgz9jwWd/t9AdaCtyBqk=",
        "X-Google-Smtp-Source": "AA6agR4LNEU2vPOa7uXO71RHXGpUQvWoiWWVP3JYGJydkWFkAXFjX9tkixf/ZG9yANIPD8I9OdXR1A==",
        "X-Received": "by 2002:a63:4145:0:b0:41d:deef:b318 with SMTP id\n\to66-20020a634145000000b0041ddeefb318mr3024565pga.271.1660308438916; \n\tFri, 12 Aug 2022 05:47:18 -0700 (PDT)",
        "To": "libcamera-devel@lists.libcamera.org",
        "Date": "Fri, 12 Aug 2022 18:16:48 +0530",
        "Message-Id": "<20220812124651.27496-9-utkarsh02t@gmail.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20220812124651.27496-1-utkarsh02t@gmail.com>",
        "References": "<20220812124651.27496-1-utkarsh02t@gmail.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[libcamera-devel] [PATCH v2 08/11] qcam: ControlsTab: Allow widget\n\tto resizeable",
        "X-BeenThere": "libcamera-devel@lists.libcamera.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "<libcamera-devel.lists.libcamera.org>",
        "List-Unsubscribe": "<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>",
        "List-Archive": "<https://lists.libcamera.org/pipermail/libcamera-devel/>",
        "List-Post": "<mailto:libcamera-devel@lists.libcamera.org>",
        "List-Help": "<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>",
        "List-Subscribe": "<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>",
        "From": "Utkarsh Tiwari via libcamera-devel\n\t<libcamera-devel@lists.libcamera.org>",
        "Reply-To": "Utkarsh Tiwari <utkarsh02t@gmail.com>",
        "Errors-To": "libcamera-devel-bounces@lists.libcamera.org",
        "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"
    },
    "content": "In QScrollArea by default the widgets are not resizeable.\nThis means when the user extends the QDialog the widgets don't resize\nto fill the space.\n\nAllow them to be resizeable.\n\nSigned-off-by: Utkarsh Tiwari <utkarsh02t@gmail.com>\n---\n src/qcam/settings/controls_tab.cpp | 1 +\n 1 file changed, 1 insertion(+)",
    "diff": "diff --git a/src/qcam/settings/controls_tab.cpp b/src/qcam/settings/controls_tab.cpp\nindex 496b5d3b..98962f3c 100644\n--- a/src/qcam/settings/controls_tab.cpp\n+++ b/src/qcam/settings/controls_tab.cpp\n@@ -45,6 +45,7 @@ ControlsTab::ControlsTab(std::shared_ptr<libcamera::Camera> camera_,\n \n \t/* Set widget and policies for the scrollarea */\n \tsetWidget(containerWidget);\n+\tsetWidgetResizable(true);\n }\n \n /* -----------------------------------------------------------------------------\n",
    "prefixes": [
        "libcamera-devel",
        "v2",
        "08/11"
    ]
}