Answer the question
In order to leave comments, you need to log in
Qt CSS
During the layout of the design for the program, I decided to upload CSS for the first time. Here is the output:
mainwindow.cpp
#include "mainwindow.h"
#include "ui_mainwindow.h"
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
ui->setupUi(this);
}
MainWindow::~MainWindow()
{
delete ui;
}
QMainWindow // 16 строчка
{
background-color:#777; // 18 cтрочка
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question