From e0c6872cf40896c7be36b11dcc744620f10adf1d Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 2 Sep 2019 13:46:59 +0900 Subject: Initial commit --- graphics/asymptote/GUI/windows/custMatTransform.ui | 356 ++++ graphics/asymptote/GUI/windows/labelTextEditor.ui | 230 +++ graphics/asymptote/GUI/windows/setCustomAnchor.ui | 109 ++ graphics/asymptote/GUI/windows/widg_addLabel.ui | 287 +++ graphics/asymptote/GUI/windows/widg_addPolyOpt.ui | 91 + graphics/asymptote/GUI/windows/widg_editBezier.ui | 170 ++ .../asymptote/GUI/windows/widgetPointEditor.ui | 150 ++ graphics/asymptote/GUI/windows/window1.ui | 2000 ++++++++++++++++++++ 8 files changed, 3393 insertions(+) create mode 100644 graphics/asymptote/GUI/windows/custMatTransform.ui create mode 100644 graphics/asymptote/GUI/windows/labelTextEditor.ui create mode 100644 graphics/asymptote/GUI/windows/setCustomAnchor.ui create mode 100644 graphics/asymptote/GUI/windows/widg_addLabel.ui create mode 100644 graphics/asymptote/GUI/windows/widg_addPolyOpt.ui create mode 100644 graphics/asymptote/GUI/windows/widg_editBezier.ui create mode 100644 graphics/asymptote/GUI/windows/widgetPointEditor.ui create mode 100644 graphics/asymptote/GUI/windows/window1.ui (limited to 'graphics/asymptote/GUI/windows') diff --git a/graphics/asymptote/GUI/windows/custMatTransform.ui b/graphics/asymptote/GUI/windows/custMatTransform.ui new file mode 100644 index 0000000000..4612f277c9 --- /dev/null +++ b/graphics/asymptote/GUI/windows/custMatTransform.ui @@ -0,0 +1,356 @@ + + + Dialog + + + + 0 + 0 + 500 + 320 + + + + + 0 + 0 + + + + + 500 + 320 + + + + + 500 + 320 + + + + false + + + Set Custom Transformation + + + + :/icons/android-expand.svg:/icons/android-expand.svg + + + true + + + false + + + + + 20 + 20 + 461 + 271 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 4 + + + + + + + + + + + + 0 + 0 + + + + Transformation Matrix + + + + + + + QFrame::Box + + + + + + + 70 + 16777215 + + + + 1 + + + + + + + + 70 + 16777215 + + + + 1 + + + + + + + + 70 + 16777215 + + + + 0 + + + + + + + + 70 + 16777215 + + + + 0 + + + + + + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + + + 0 + 0 + + + + Translation + + + + + + + QFrame::Box + + + + + + + 70 + 16777215 + + + + 0 + + + + + + + + 70 + 16777215 + + + + 0 + + + + + + + + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + + Preview: + + + + + + + + 0 + 0 + + + + + 150 + 150 + + + + + 300 + 300 + + + + Shows a red square if transformation determinant is negative. + + + QFrame::Box + + + + + + + + + + + + + + Anchor: Top Left + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + + + + Coordinates: Global + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + + + + Qt::Vertical + + + + 20 + 40 + + + + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + Reset + + + + + + + Cancel + + + + + + + Accept + + + + + + + + + + + + + diff --git a/graphics/asymptote/GUI/windows/labelTextEditor.ui b/graphics/asymptote/GUI/windows/labelTextEditor.ui new file mode 100644 index 0000000000..06cd31bd1a --- /dev/null +++ b/graphics/asymptote/GUI/windows/labelTextEditor.ui @@ -0,0 +1,230 @@ + + + Dialog + + + + 0 + 0 + 473 + 424 + + + + Dialog + + + + + + QFrame::StyledPanel + + + QFrame::Raised + + + + + + 0 + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + Math Mode + + + + + + + false + + + + 0 + 0 + + + + + 100 + 0 + + + + + Inline Style + + + + + Display Style + + + + + Script Style + + + + + + + + + + + + + + + + + 0 + + + + + Preview + + + + + + + + 0 + 100 + + + + QFrame::Box + + + + + + + + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + 32 + 32 + + + + + + + + :/icons/text.svg:/icons/text.svg + + + true + + + + + + + + 32 + 32 + + + + + + + + :/icons/eye.svg:/icons/eye.svg + + + true + + + + + + + + 32 + 32 + + + + + + + + :/icons/android-close.svg:/icons/android-close.svg + + + true + + + + + + + + 32 + 32 + + + + + + + + :/icons/android-done.svg:/icons/android-done.svg + + + true + + + + + + + + + + + + + + + diff --git a/graphics/asymptote/GUI/windows/setCustomAnchor.ui b/graphics/asymptote/GUI/windows/setCustomAnchor.ui new file mode 100644 index 0000000000..5a4b14676e --- /dev/null +++ b/graphics/asymptote/GUI/windows/setCustomAnchor.ui @@ -0,0 +1,109 @@ + + + Dialog + + + + 0 + 0 + 245 + 161 + + + + Set Custom Anchor + + + + + 20 + 20 + 201 + 121 + + + + + + + QFormLayout::AllNonFixedFieldsGrow + + + + + X: + + + + + + + 0 + + + + + + + Y: + + + + + + + 0 + + + + + + + + + Qt::Horizontal + + + QDialogButtonBox::Cancel|QDialogButtonBox::Ok|QDialogButtonBox::Reset + + + + + + + + + + buttonBox + accepted() + Dialog + accept() + + + 248 + 254 + + + 157 + 274 + + + + + buttonBox + rejected() + Dialog + reject() + + + 316 + 260 + + + 286 + 274 + + + + + diff --git a/graphics/asymptote/GUI/windows/widg_addLabel.ui b/graphics/asymptote/GUI/windows/widg_addLabel.ui new file mode 100644 index 0000000000..40bc4ddc60 --- /dev/null +++ b/graphics/asymptote/GUI/windows/widg_addLabel.ui @@ -0,0 +1,287 @@ + + + Form + + + Qt::NonModal + + + + 0 + 0 + 599 + 35 + + + + + 0 + 0 + + + + + 0 + 35 + + + + + 16777215 + 35 + + + + Form + + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + + + + + Number of Sides + + + Text + + + + + + + + 25 + 25 + + + + + + + + :/icons/edit.svg:/icons/edit.svg + + + true + + + + + + + Align + + + + + + + + Center + + + + + N + + + + + E + + + + + W + + + + + S + + + + + NW + + + + + NE + + + + + SW + + + + + SE + + + + + Custom + + + + + + + + Font Size + + + + + + + + 0 + 0 + + + + true + + + + - + + + + + 8 + + + + + 9 + + + + + 10 + + + + + 11 + + + + + 12 + + + + + 14 + + + + + 18 + + + + + 24 + + + + + 48 + + + + + 72 + + + + + + + + Custom Align + + + + + + + + 0 + 0 + + + + + 50 + 16777215 + + + + Shift X + + + + + + + + 0 + 0 + + + + + 50 + 16777215 + + + + Shift Y + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + + + + + diff --git a/graphics/asymptote/GUI/windows/widg_addPolyOpt.ui b/graphics/asymptote/GUI/windows/widg_addPolyOpt.ui new file mode 100644 index 0000000000..b8bde4236a --- /dev/null +++ b/graphics/asymptote/GUI/windows/widg_addPolyOpt.ui @@ -0,0 +1,91 @@ + + + Form + + + Qt::NonModal + + + + 0 + 0 + 326 + 35 + + + + + 0 + 0 + + + + + 0 + 35 + + + + + 16777215 + 35 + + + + Form + + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + + + + + Start at Vertex + + + + + + + Number of Sides + + + Sides + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + + + diff --git a/graphics/asymptote/GUI/windows/widg_editBezier.ui b/graphics/asymptote/GUI/windows/widg_editBezier.ui new file mode 100644 index 0000000000..cca3aaaa2d --- /dev/null +++ b/graphics/asymptote/GUI/windows/widg_editBezier.ui @@ -0,0 +1,170 @@ + + + Form + + + Qt::NonModal + + + + 0 + 0 + 692 + 35 + + + + + 0 + 0 + + + + + 0 + 35 + + + + + 16777215 + 35 + + + + Form + + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + + + + + + 0 + 0 + + + + 1 + + + + No Lock + + + + + Lock Angle + + + + + Lock Angle & Scale + + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + 0 + 0 + + + + Recompute Path + + + + + + + Recompute Once + + + + + + + + 0 + 0 + + + + + 25 + 25 + + + + + :/icons/check.svg:/icons/check.svg + + + true + + + + + + + + 0 + 0 + + + + + 25 + 25 + + + + + :/icons/close-round.svg:/icons/close-round.svg + + + true + + + + + + + + + + + + diff --git a/graphics/asymptote/GUI/windows/widgetPointEditor.ui b/graphics/asymptote/GUI/windows/widgetPointEditor.ui new file mode 100644 index 0000000000..c3e486ad5a --- /dev/null +++ b/graphics/asymptote/GUI/windows/widgetPointEditor.ui @@ -0,0 +1,150 @@ + + + Form + + + + 0 + 0 + 324 + 67 + + + + Form + + + + + + + 0 + 0 + + + + Left Control Point + + + + + + + + + false + + + X + + + false + + + X + + + + + + + false + + + X + + + false + + + false + + + Y + + + + + + + false + + + + 0 + 0 + + + + + + + + :/icons/android-locate.svg:/icons/android-locate.svg + + + true + + + false + + + + + + + false + + + + 0 + 0 + + + + + + + + :/icons/android-radio-button-off.svg:/icons/android-radio-button-off.svg + + + true + + + false + + + + + + + + 0 + 0 + + + + + + + + :/icons/edit.svg:/icons/edit.svg + + + true + + + false + + + + + + + + + + + + diff --git a/graphics/asymptote/GUI/windows/window1.ui b/graphics/asymptote/GUI/windows/window1.ui new file mode 100644 index 0000000000..bbe474bab1 --- /dev/null +++ b/graphics/asymptote/GUI/windows/window1.ui @@ -0,0 +1,2000 @@ + + + MainWindow + + + + 0 + 0 + 1030 + 768 + + + + xasy + + + + + 0 + 0 + + + + true + + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + + + + 0 + 0 + + + + true + + + + 4 + + + 2 + + + 2 + + + 2 + + + 2 + + + + + + 0 + 0 + + + + QFrame::NoFrame + + + + 4 + + + QLayout::SetMinimumSize + + + 0 + + + 0 + + + 0 + + + 0 + + + + + false + + + + 0 + 0 + + + + + 25 + 25 + + + + + 32 + 32 + + + + Undo + + + + + + + :/icons/android-arrow-back.svg:/icons/android-arrow-back.svg + + + + 16 + 16 + + + + true + + + + + + + false + + + + 0 + 0 + + + + + 25 + 25 + + + + + 32 + 32 + + + + Redo + + + + + + + :/icons/android-arrow-forward.svg:/icons/android-arrow-forward.svg + + + true + + + + + + + + 0 + 0 + + + + + 25 + 25 + + + + + 32 + 32 + + + + <html><head/><body><p>Open file</p></body></html> + + + + + + + :/icons/android-folder-open.svg:/icons/android-folder-open.svg + + + true + + + + + + + + 0 + 0 + + + + + 25 + 25 + + + + + 32 + 32 + + + + <html><head/><body><p>Save file</p></body></html> + + + + + + + :/icons/save.svg:/icons/save.svg + + + true + + + + + + + + 0 + 0 + + + + + 25 + 25 + + + + + 32 + 32 + + + + <html><head/><body><p>Edit code</p></body></html> + + + + + + + :/icons/code.svg:/icons/code.svg + + + true + + + + + + + + 0 + 0 + + + + + 25 + 25 + + + + + 32 + 32 + + + + <html><head/><body><p>Screenshot</p></body></html> + + + + + + + :/icons/android-camera.svg:/icons/android-camera.svg + + + true + + + + + + + Qt::Horizontal + + + QSizePolicy::Minimum + + + + 20 + 20 + + + + + + + + + 0 + 0 + + + + + 25 + 25 + + + + + 32 + 32 + + + + + Roboto + 75 + true + + + + <html><head/><body><p>Toggle display axes</p></body></html> + + + + + + + :/icons/plus-round.svg:/icons/plus-round.svg + + + true + + + true + + + true + + + + + + + + 0 + 0 + + + + + 25 + 25 + + + + + 32 + 32 + + + + + Roboto + 75 + true + + + + <html><head/><body><p>Toggle grid</p></body></html> + + + + + + + :/icons/grid.svg:/icons/grid.svg + + + true + + + false + + + true + + + + + + + + 0 + 0 + + + + + 25 + 25 + + + + + 32 + 32 + + + + Synchronize with Asymptote + + + + + + + :/icons/magnifying-glass.svg:/icons/magnifying-glass.svg + + + true + + + + + + + + 0 + 0 + + + + + 25 + 25 + + + + + 32 + 32 + + + + <html><head/><body><p>Center</p></body></html> + + + + + + + :/icons/center.svg:/icons/center.svg + + + true + + + + + + + + 0 + 0 + + + + + 25 + 25 + + + + + 32 + 32 + + + + <html><head/><body><p>Center about origin</p></body></html> + + + + + + + :/icons/centerorigin.svg:/icons/centerorigin.svg + + + true + + + + + + + + 0 + 0 + + + + + 25 + 25 + + + + + 32 + 32 + + + + + Roboto + 75 + true + + + + <html><head/><body><p>Lock transform to X axis</p></body></html> + + + X + + + true + + + true + + + + + + + + 0 + 0 + + + + + 25 + 25 + + + + + 32 + 32 + + + + + 75 + true + + + + <html><head/><body><p>Lock transform to Y axis</p></body></html> + + + Y + + + true + + + true + + + + + + + Qt::Horizontal + + + QSizePolicy::Minimum + + + + 20 + 20 + + + + + + + + true + + + + 0 + 0 + + + + + 25 + 25 + + + + <html><head/><body><p>Bézier editor</p></body></html> + + + + + + + :/icons/edit.svg:/icons/edit.svg + + + true + + + + + + + true + + + + 0 + 0 + + + + + 25 + 25 + + + + + 32 + 32 + + + + <html><head/><body><p>Delete</p></body></html> + + + + + + + :/icons/android-delete.svg:/icons/android-delete.svg + + + false + + + true + + + + + + + Qt::Horizontal + + + QSizePolicy::Minimum + + + + 20 + 20 + + + + + + + + + 0 + 0 + + + + + 25 + 25 + + + + + 32 + 32 + + + + Pan + + + + + + + :/icons/android-hand.svg:/icons/android-hand.svg + + + true + + + true + + + + + + + + 0 + 0 + + + + + 25 + 25 + + + + + 32 + 32 + + + + Translate + + + + + + + :/icons/arrow-move.svg:/icons/arrow-move.svg + + + true + + + true + + + true + + + + + + + + 0 + 0 + + + + + 25 + 25 + + + + + 32 + 32 + + + + Scale + + + + + + + :/icons/arrow-resize.svg:/icons/arrow-resize.svg + + + true + + + true + + + + + + + + 0 + 0 + + + + + 25 + 25 + + + + + 32 + 32 + + + + Rotate + + + + + + + :/icons/android-refresh.svg:/icons/android-refresh.svg + + + true + + + true + + + + + + + Qt::Horizontal + + + QSizePolicy::Minimum + + + + 20 + 20 + + + + + + + + + 0 + 0 + + + + + 25 + 25 + + + + + 32 + 32 + + + + <html><head/><body><p>Set custom anchor</p></body></html> + + + + + + + :/icons/anchor.svg:/icons/anchor.svg + + + true + + + false + + + true + + + + + + + + 0 + 0 + + + + + 127 + 0 + + + + + 127 + 25 + + + + <html><head/><body><p>Anchor</p></body></html> + + + Qt::LeftToRight + + + false + + + Origin + + + 0 + + + QComboBox::InsertAtCurrent + + + QComboBox::AdjustToContentsOnFirstShow + + + + 0 + 0 + + + + false + + + false + + + 0 + + + + Origin + + + + + Center + + + + + Top Left + + + + + Top Right + + + + + Bottom Right + + + + + Bottom Left + + + + + Custom + + + + + + + + false + + + + 0 + 0 + + + + + 25 + 25 + + + + + 32 + 32 + + + + + + + + :/icons/eye.svg:/icons/eye.svg + + + false + + + true + + + + + + + + 0 + 0 + + + + + 25 + 25 + + + + + 32 + 32 + + + + <html><head/><body><p><br/></p></body></html> + + + + + + + :/icons/android-expand.svg:/icons/android-expand.svg + + + true + + + + + + + false + + + + 0 + 0 + + + + + 25 + 25 + + + + + 32 + 32 + + + + <html><head/><body><p><br/></p></body></html> + + + + + + + :/icons/chevron-with-circle-left.svg:/icons/chevron-with-circle-left.svg + + + true + + + + + + + false + + + + 0 + 0 + + + + + 25 + 25 + + + + + 32 + 32 + + + + Translate + + + + + + + :/icons/chevron-with-circle-right.svg:/icons/chevron-with-circle-right.svg + + + true + + + + + + + Qt::Horizontal + + + QSizePolicy::Fixed + + + + 40 + 25 + + + + + + btnUndo + btnRedo + btnLoadFile + btnSave + btnViewCode + btnQuickScreenshot + btnDrawAxes + btnDrawGrid + btnSetZoom + btnPanCenter + btnResetPan + btnAlignX + btnAlignY + btnPan + btnTranslate + btnScale + btnCustTransform + btnSendBackwards + btnSendForwards + comboAnchor + btnToggleVisible + btnAnchor + btnRotate + btnSelectEdit + btnDeleteMode + horizontalSpacer_4 + horizontalSpacer_5 + horizontalSpacer_6 + + + + + + 4 + + + + + 3 + + + + + 6 + + + QLayout::SetDefaultConstraint + + + 6 + + + 0 + + + + + + 0 + 0 + + + + + 32 + 32 + + + + + 32 + 32 + + + + <html><head/><body><p>Toggle fill/outline</p></body></html> + + + false + + + + + + + + + + :/icons/bucket.svg + :/icons/filledbucket.svg:/icons/bucket.svg + + + true + + + false + + + true + + + + + + + + + + Qt::Horizontal + + + QSizePolicy::MinimumExpanding + + + + 40 + 35 + + + + + + + + Line Width: + + + + + + + + 0 + 0 + + + + + 75 + 16777215 + + + + <html><head/><body><p>Current pen width</p></body></html> + + + + + + + + 0 + 0 + + + + + 15 + 15 + + + + <html><head/><body><p>Current pen color</p></body></html> + + + false + + + QFrame{ +padding: 4.0; +border-radius: 3.0; +background: rgb(0, 0, 0) +} + + + QFrame::StyledPanel + + + QFrame::Sunken + + + + + + + + 0 + 0 + + + + + 25 + 25 + + + + + 32 + 32 + + + + <html><head/><body><p>Set color</p></body></html> + + + false + + + + + + + + + + :/icons/android-color-palette.svg:/icons/android-color-palette.svg + + + false + + + true + + + + + + + + + 6 + + + + + + 0 + 0 + + + + QFrame::NoFrame + + + QFrame::Plain + + + 0 + + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + + + true + + + + 0 + 0 + + + + + 32 + 32 + + + + <html><head/><body><p>Open polygon</p></body></html> + + + + + + + :/icons/openpolygon.svg:/icons/openpolygon.svg + + + true + + + + + + + true + + + + 0 + 0 + + + + + 32 + 32 + + + + <html><head/><body><p>Closed polygon</p></body></html> + + + + + + + :/icons/closedpolygon.svg:/icons/closedpolygon.svg + + + true + + + + + + + true + + + + 0 + 0 + + + + + 32 + 32 + + + + <html><head/><body><p>Open Bézier curve</p></body></html> + + + + + + + :/icons/opencurve.svg:/icons/opencurve.svg + + + true + + + + + + + true + + + + 0 + 0 + + + + + 32 + 32 + + + + <html><head/><body><p>Closed Bézier curve</p></body></html> + + + + + + + :/icons/closedcurve.svg:/icons/closedcurve.svg + + + true + + + + + + + true + + + + 0 + 0 + + + + + 32 + 32 + + + + <html><head/><body><p>Regular polygon</p></body></html> + + + + + + + :/icons/triangle-stroked-15.svg:/icons/triangle-stroked-15.svg + + + true + + + + + + + true + + + + 0 + 0 + + + + + 32 + 32 + + + + <html><head/><body><p>Circle</p></body></html> + + + + + + + :/icons/circle.svg:/icons/circle.svg + + + true + + + + + + + true + + + + 0 + 0 + + + + + 32 + 32 + + + + <html><head/><body><p>Text</p></body></html> + + + + + + + :/icons/text.svg:/icons/text.svg + + + true + + + + + + + + + + + 0 + 6 + + + + true + + + QFrame::NoFrame + + + QFrame::Raised + + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + + + + 0 + 0 + + + + true + + + QFrame::Panel + + + + + + Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop + + + + + + + + + + + + 0 + + + QLayout::SetDefaultConstraint + + + 0 + + + + + true + + + + 0 + 0 + + + + + + + + :/icons/social-python.svg:/icons/social-python.svg + + + + 16 + 16 + + + + true + + + true + + + + + + + + 0 + 0 + + + + + + + + true + + + + 0 + 0 + + + + + + + + :/icons/subdirectory-left.svg:/icons/subdirectory-left.svg + + + true + + + + + + + + + + + + + + + + + + 0 + 0 + 1030 + 28 + + + + + &File + + + + + + + + + + + &Edit + + + + + + + + Optio&ns + + + + + + &Help + + + + + + + &Tools + + + + + + + + + + + + false + + + + + &About + + + + + &Manual + + + + + &Settings + + + + + Pause + + + + + &Save As + + + + + &Enter Command + + + + + &Quit + + + + + false + + + &Undo + + + + + false + + + &Redo + + + + + &Show Grid + + + + + Show &Local Grid + + + + + &Transform + + + + + Export + + + + + Save + + + + + Open + + + + + + + + + + + 10 + + + 10 + + + true + + + true + + + true + + + -- cgit v1.2.3