ref: add entry widget and list of changes

This commit is contained in:
semenov
2024-12-12 12:56:20 +03:00
parent 7f4205ea09
commit 31e42a97e4
34 changed files with 2634 additions and 785 deletions

34
updatewidget.cpp Normal file
View File

@@ -0,0 +1,34 @@
#include "updatewidget.h"
#include "ui_updatewidget.h"
UpdateWidget::UpdateWidget(QWidget *parent) :
QWidget(parent),
ui(new Ui::UpdateWidget)
{
ui->setupUi(this);
}
void UpdateWidget::initialize()
{
hide();
}
void UpdateWidget::showWithFill()
{
QString text = tr("Есть изменения в локальных файлах <A HREF=\"LINK\" style=color:rgb(45,84,130)>(список)</A> ");
QString list = tr("Возможные действия:\n"
" 1. Выгрузить изменения на сервер\n"
" 2. Отменить изменения с загрузкой версии с сервера \n"
" 3. Запустить без отправки файлов, но с текущими изменениями");
ui->updateListGuideLabel->setText(text);
ui->updateActionListLabel->setText(list);
show();
}
UpdateWidget::~UpdateWidget()
{
delete ui;
}