Files
RRJClient/updatewidget.cpp
2024-12-12 12:56:20 +03:00

35 lines
980 B
C++
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#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;
}