2026年7月16日 缓存
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
#include "DlgCanvasHeightEditor.h"
|
||||
#include "ui_DlgCanvasHeightEditor.h"
|
||||
|
||||
DlgCanvasHeightEditor::DlgCanvasHeightEditor(QWidget *parent) :
|
||||
QDialog(parent),
|
||||
ui(new Ui::DlgCanvasHeightEditor)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
}
|
||||
|
||||
DlgCanvasHeightEditor::~DlgCanvasHeightEditor()
|
||||
{
|
||||
delete ui;
|
||||
}
|
||||
|
||||
void DlgCanvasHeightEditor::setCanvsHeight(unsigned h)
|
||||
{
|
||||
ui->sbCanvasHeight->setValue(h);
|
||||
}
|
||||
|
||||
unsigned DlgCanvasHeightEditor::canvasHeight() const
|
||||
{
|
||||
return ui->sbCanvasHeight->value();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user