mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJClient.git
synced 2026-03-28 05:25:39 +03:00
ref: add entry widget and list of changes
This commit is contained in:
34
updatewidget.cpp
Normal file
34
updatewidget.cpp
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user