mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-18 13:30:34 +01:00
Editor element primitive change setRange -1000 1000 to -5000 5000
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4609 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -42,10 +42,10 @@ ArcEditor::ArcEditor(QETElementEditor *editor, PartArc *arc, QWidget *parent) :
|
|||||||
start_angle -> setRange(-360, 360);
|
start_angle -> setRange(-360, 360);
|
||||||
angle -> setRange(-360, 360);
|
angle -> setRange(-360, 360);
|
||||||
|
|
||||||
x->setRange(-1000, 1000);
|
x->setRange(-5000, 5000);
|
||||||
y->setRange(-1000, 1000);
|
y->setRange(-5000, 5000);
|
||||||
h->setRange(-1000, 1000);
|
h->setRange(-5000, 5000);
|
||||||
v->setRange(-1000, 1000);
|
v->setRange(-5000, 5000);
|
||||||
|
|
||||||
QVBoxLayout *v_layout = new QVBoxLayout(this);
|
QVBoxLayout *v_layout = new QVBoxLayout(this);
|
||||||
|
|
||||||
|
|||||||
@@ -39,10 +39,10 @@ EllipseEditor::EllipseEditor(QETElementEditor *editor, PartEllipse *ellipse, QWi
|
|||||||
h = new QDoubleSpinBox();
|
h = new QDoubleSpinBox();
|
||||||
v = new QDoubleSpinBox();
|
v = new QDoubleSpinBox();
|
||||||
|
|
||||||
x->setRange(-1000, 1000);
|
x->setRange(-5000, 5000);
|
||||||
y->setRange(-1000, 1000);
|
y->setRange(-5000, 5000);
|
||||||
h->setRange(-1000, 1000);
|
h->setRange(-5000, 5000);
|
||||||
v->setRange(-1000, 1000);
|
v->setRange(-5000, 5000);
|
||||||
|
|
||||||
QVBoxLayout *v_layout = new QVBoxLayout(this);
|
QVBoxLayout *v_layout = new QVBoxLayout(this);
|
||||||
|
|
||||||
|
|||||||
@@ -41,10 +41,10 @@ LineEditor::LineEditor(QETElementEditor *editor, PartLine *line, QWidget *parent
|
|||||||
x2 = new QDoubleSpinBox();
|
x2 = new QDoubleSpinBox();
|
||||||
y2 = new QDoubleSpinBox();
|
y2 = new QDoubleSpinBox();
|
||||||
|
|
||||||
x1 -> setRange(-1000, 1000);
|
x1 -> setRange(-5000, 5000);
|
||||||
y1 -> setRange(-1000, 1000);
|
y1 -> setRange(-5000, 5000);
|
||||||
x2 -> setRange(-1000, 1000);
|
x2 -> setRange(-5000, 5000);
|
||||||
y2 -> setRange(-1000, 1000);
|
y2 -> setRange(-5000, 5000);
|
||||||
|
|
||||||
end1_type = new QComboBox();
|
end1_type = new QComboBox();
|
||||||
end1_type -> addItem(QET::Icons::EndLineNone, tr("Normale", "type of the 1st end of a line"), Qet::None );
|
end1_type -> addItem(QET::Icons::EndLineNone, tr("Normale", "type of the 1st end of a line"), Qet::None );
|
||||||
|
|||||||
@@ -39,10 +39,10 @@ RectangleEditor::RectangleEditor(QETElementEditor *editor, PartRectangle *rect,
|
|||||||
w = new QDoubleSpinBox();
|
w = new QDoubleSpinBox();
|
||||||
h = new QDoubleSpinBox();
|
h = new QDoubleSpinBox();
|
||||||
|
|
||||||
x->setRange(-1000, 1000);
|
x->setRange(-5000, 5000);
|
||||||
y->setRange(-1000, 1000);
|
y->setRange(-5000, 5000);
|
||||||
w->setRange(-1000, 1000);
|
w->setRange(-5000, 5000);
|
||||||
h->setRange(-1000, 1000);
|
h->setRange(-5000, 5000);
|
||||||
|
|
||||||
QVBoxLayout *v_layout = new QVBoxLayout(this);
|
QVBoxLayout *v_layout = new QVBoxLayout(this);
|
||||||
|
|
||||||
|
|||||||
@@ -39,8 +39,8 @@ TerminalEditor::TerminalEditor(QETElementEditor *editor, PartTerminal *term, QWi
|
|||||||
qle_x = new QDoubleSpinBox();
|
qle_x = new QDoubleSpinBox();
|
||||||
qle_y = new QDoubleSpinBox();
|
qle_y = new QDoubleSpinBox();
|
||||||
|
|
||||||
qle_x -> setRange(-1000, 1000);
|
qle_x -> setRange(-5000, 5000);
|
||||||
qle_y -> setRange(-1000, 1000);
|
qle_y -> setRange(-5000, 5000);
|
||||||
|
|
||||||
orientation = new QComboBox();
|
orientation = new QComboBox();
|
||||||
orientation -> addItem(QET::Icons::North, tr("Nord"), Qet::North);
|
orientation -> addItem(QET::Icons::North, tr("Nord"), Qet::North);
|
||||||
|
|||||||
@@ -48,8 +48,8 @@ TextEditor::TextEditor(QETElementEditor *editor, PartText *text, QWidget *parent
|
|||||||
rotation_angle_label -> setWordWrap(true);
|
rotation_angle_label -> setWordWrap(true);
|
||||||
rotation_angle_ = QETApp::createTextOrientationSpinBoxWidget();
|
rotation_angle_ = QETApp::createTextOrientationSpinBoxWidget();
|
||||||
|
|
||||||
qle_x -> setRange(-1000, 1000);
|
qle_x -> setRange(-5000, 5000);
|
||||||
qle_y -> setRange(-1000, 1000);
|
qle_y -> setRange(-5000, 5000);
|
||||||
|
|
||||||
QVBoxLayout *main_layout = new QVBoxLayout();
|
QVBoxLayout *main_layout = new QVBoxLayout();
|
||||||
main_layout -> addWidget(new QLabel(tr("Position : ")));
|
main_layout -> addWidget(new QLabel(tr("Position : ")));
|
||||||
|
|||||||
@@ -43,8 +43,8 @@ TextFieldEditor::TextFieldEditor(QETElementEditor *editor, PartTextField *textfi
|
|||||||
rotation_angle_label -> setWordWrap(true);
|
rotation_angle_label -> setWordWrap(true);
|
||||||
rotation_angle_ = QETApp::createTextOrientationSpinBoxWidget();
|
rotation_angle_ = QETApp::createTextOrientationSpinBoxWidget();
|
||||||
|
|
||||||
qle_x -> setRange (-1000, 1000);
|
qle_x -> setRange (-5000, 5000);
|
||||||
qle_y -> setRange (-1000, 1000);
|
qle_y -> setRange (-5000, 5000);
|
||||||
|
|
||||||
QVBoxLayout *main_layout = new QVBoxLayout();
|
QVBoxLayout *main_layout = new QVBoxLayout();
|
||||||
main_layout -> addWidget(new QLabel(tr("Position : ")));
|
main_layout -> addWidget(new QLabel(tr("Position : ")));
|
||||||
|
|||||||
Reference in New Issue
Block a user