File: kcalc_display_frame.cpp

package info (click to toggle)
kcalc 4%3A25.04.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 6,740 kB
  • sloc: cpp: 13,605; xml: 699; python: 49; makefile: 6; sh: 4
file content (20 lines) | stat: -rw-r--r-- 662 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
    SPDX-FileCopyrightText: 2023 Gabriel Barrantes <gabriel.barrantes.dev@outlook.com>
    SPDX-License-Identifier: GPL-2.0-or-later
*/

#include "kcalc_display_frame.h"

//------------------------------------------------------------------------------
// Name: KCalcDisplayFrame
// Desc: constructor
//------------------------------------------------------------------------------
KCalcDisplayFrame::KCalcDisplayFrame(QWidget *parent)
    : QFrame(parent)
{
    setAutoFillBackground(true);
    setBackgroundRole(QPalette::Base);
    setProperty("_breeze_borders_sides", QVariant::fromValue(QFlags(Qt::BottomEdge)));
}

#include "moc_kcalc_display_frame.cpp"