Show a patch.

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

{
    "id": 3221,
    "url": "https://patchwork.libcamera.org/api/1.1/patches/3221/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/3221/",
    "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": "<20200320085029.17875-2-show.liu@linaro.org>",
    "date": "2020-03-20T08:50:27",
    "name": "[libcamera-devel,RFC,1/3] Added statusbar to show the camera stream configuration",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "ded484c71f589006440f4542edf64e11f4d4559a",
    "submitter": {
        "id": 24,
        "url": "https://patchwork.libcamera.org/api/1.1/people/24/?format=api",
        "name": "Show Liu",
        "email": "show.liu@linaro.org"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/3221/mbox/",
    "series": [
        {
            "id": 750,
            "url": "https://patchwork.libcamera.org/api/1.1/series/750/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=750",
            "date": "2020-03-20T08:50:26",
            "name": "Add an option to enable rendering YUV frame by OpenGL shader",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/750/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/3221/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/3221/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "<show.liu@linaro.org>",
        "Received": [
            "from mail-pl1-x644.google.com (mail-pl1-x644.google.com\n\t[IPv6:2607:f8b0:4864:20::644])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 3983F6041A\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 20 Mar 2020 09:59:13 +0100 (CET)",
            "by mail-pl1-x644.google.com with SMTP id t3so2221025plz.9\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 20 Mar 2020 01:59:13 -0700 (PDT)",
            "from localhost.localdomain (211-20-20-223.HINET-IP.hinet.net.\n\t[211.20.20.223]) by smtp.gmail.com with ESMTPSA id\n\t26sm4604653pfp.130.2020.03.20.01.59.09\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tFri, 20 Mar 2020 01:59:10 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references\n\t:mime-version:content-transfer-encoding;\n\tbh=GP09lEr6IVTprj5wjX7qfXaeHlaQMVnk20kyD7nc8AI=;\n\tb=Qs4AOTxJ2j29mHHduH/Brm+iJO946+FdyBAjE/iHAnd92mgI/rDv5kvtKgjzBVmoxf\n\tNq3HTO3UV2w2X4GDC+EGSp2uMowzYwRGEE8Ec7MySisLEn/VnDayDby/ylQJoOJyfBOl\n\t/ESBtaKIRmAUqRYS1qgGP6LNZsEPiq2xj/y/th63wDmGSb+RbOdFt2RGdRRna7ghek0m\n\tSJtl82EtHXRVn2vJ5mAFOWBPwitLX8QRXbWXCepFIPJO9P6k0bAvMO9t7wI0+l6kQvx8\n\t1hpTkerULIOJHZIj35RoRgtDeuGn9jnxVl9lBw9d8x6jxR/Gb6iQLU163Tn1s1gWs1OX\n\tDpBQ==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references:mime-version:content-transfer-encoding;\n\tbh=GP09lEr6IVTprj5wjX7qfXaeHlaQMVnk20kyD7nc8AI=;\n\tb=YmwztSNe/FcskgttI39d2C58GCZRE6IJlwg+4Xibe8WoQOyYmL6gqRfOP0AnRMt7NA\n\tl6fSF/R3qPy2mw3wAXEQEO/SZ9jFfcwOCgqX/gfCA6e475m/WqrzqYgYyVWJUbdT03KT\n\t0z+bbzFEwJMpcWFO2Yteje8usbdm/isvxGSRNOpqDOdu3Tz4Wwf/dTEWmvbdUnrmEjba\n\txwdwP1Wz9phzQtQUFpk5GrRV768Jcc9T2I1I6LimnGO6Slk++j6JA58olXeLzrRtDZNj\n\ttx+tRB3IieZgldNuO9diQccjglWYsBc3Jb06xTW4Tshw1kiX/An/+A3/gE3h8oGSLw7T\n\tDenA==",
        "X-Gm-Message-State": "ANhLgQ1e9faHuV31SgISv+HOo7+O0gmsTOf8dtTo4kS0VyvSwwNCZ+/I\n\tk/sqOmZYi0EioZqOWtziiinVZP6Wvwa2Xw==",
        "X-Google-Smtp-Source": "ADFU+vskgTS5yBYsojjTHs8CEAgdDimmBvwpFWGsh/2oWHmNWVjsjdQhiPXVHleso5nhMAALrzeBMQ==",
        "X-Received": "by 2002:a17:90b:8f:: with SMTP id\n\tbb15mr7615946pjb.186.1584694751187; \n\tFri, 20 Mar 2020 01:59:11 -0700 (PDT)",
        "From": "Show Liu <show.liu@linaro.org>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Date": "Fri, 20 Mar 2020 16:50:27 +0800",
        "Message-Id": "<20200320085029.17875-2-show.liu@linaro.org>",
        "X-Mailer": "git-send-email 2.20.1",
        "In-Reply-To": "<20200320085029.17875-1-show.liu@linaro.org>",
        "References": "<20200320085029.17875-1-show.liu@linaro.org>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[libcamera-devel] [RFC] [PATCH 1/3] Added statusbar to show the\n\tcamera stream configuration",
        "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>",
        "X-List-Received-Date": "Fri, 20 Mar 2020 08:59:13 -0000"
    },
    "content": "qcam: Added statusbar to show the camera stream information\n\nSigned-off-by: Show Liu <show.liu@linaro.org>\n---\n src/qcam/main_window.cpp | 5 +++++\n 1 file changed, 5 insertions(+)",
    "diff": "diff --git a/src/qcam/main_window.cpp b/src/qcam/main_window.cpp\nindex ae1760d..98e55ba 100644\n--- a/src/qcam/main_window.cpp\n+++ b/src/qcam/main_window.cpp\n@@ -21,6 +21,7 @@\n #include <QTimer>\n #include <QToolBar>\n #include <QToolButton>\n+#include <QStatusBar>\n \n #include <libcamera/camera_manager.h>\n #include <libcamera/version.h>\n@@ -238,6 +239,8 @@ int MainWindow::startCapture()\n \t\treturn ret;\n \t}\n \n+\tstatusBar()->showMessage(QString(cfg.toString().c_str()));\n+\n \tadjustSize();\n \n \tallocator_ = FrameBufferAllocator::create(camera_);\n@@ -342,6 +345,8 @@ void MainWindow::stopCapture()\n \n \tconfig_.reset();\n \n+\tstatusBar()->clearMessage();\n+\n \ttitleTimer_.stop();\n \tsetWindowTitle(title_);\n }\n",
    "prefixes": [
        "libcamera-devel",
        "RFC",
        "1/3"
    ]
}