diff --git a/glabels/icons.qrc b/glabels/icons.qrc index bf9b5ed..8e4b4be 100644 --- a/glabels/icons.qrc +++ b/glabels/icons.qrc @@ -28,20 +28,26 @@ icons/16x16/actions/glabels-rotate-right.png icons/16x16/actions/glabels-text.png icons/16x16/apps/glabels.png - icons/24x24/actions/glabels-align-text-bottom.png - icons/24x24/actions/glabels-align-text-middle.png - icons/24x24/actions/glabels-align-text-top.png + icons/24x24/actions/glabels-align-text-center.png + icons/24x24/actions/glabels-align-text-left.png + icons/24x24/actions/glabels-align-text-right.png icons/24x24/actions/glabels-arrow.png icons/24x24/actions/glabels-barcode.png icons/24x24/actions/glabels-box.png icons/24x24/actions/glabels-bucket-fill.png icons/24x24/actions/glabels-ellipse.png + icons/24x24/actions/glabels-format-text-bold.png + icons/24x24/actions/glabels-format-text-italic.png + icons/24x24/actions/glabels-format-text-underline.png icons/24x24/actions/glabels-image.png icons/24x24/actions/glabels-line.png icons/24x24/actions/glabels-merge.png icons/24x24/actions/glabels-object-properties.png icons/24x24/actions/glabels-pencil.png icons/24x24/actions/glabels-text.png + icons/24x24/actions/glabels-valign-text-bottom.png + icons/24x24/actions/glabels-valign-text-middle.png + icons/24x24/actions/glabels-valign-text-top.png icons/24x24/actions/fallback-edit-copy.png icons/24x24/actions/fallback-edit-cut.png icons/24x24/actions/fallback-edit-paste.png diff --git a/glabels/icons/24x24/actions/glabels-align-text-center.png b/glabels/icons/24x24/actions/glabels-align-text-center.png new file mode 100644 index 0000000..2125816 Binary files /dev/null and b/glabels/icons/24x24/actions/glabels-align-text-center.png differ diff --git a/glabels/icons/24x24/actions/glabels-align-text-left.png b/glabels/icons/24x24/actions/glabels-align-text-left.png new file mode 100644 index 0000000..e38b02f Binary files /dev/null and b/glabels/icons/24x24/actions/glabels-align-text-left.png differ diff --git a/glabels/icons/24x24/actions/glabels-align-text-right.png b/glabels/icons/24x24/actions/glabels-align-text-right.png new file mode 100644 index 0000000..a740a6a Binary files /dev/null and b/glabels/icons/24x24/actions/glabels-align-text-right.png differ diff --git a/glabels/icons/24x24/actions/glabels-format-text-bold.png b/glabels/icons/24x24/actions/glabels-format-text-bold.png new file mode 100644 index 0000000..fef9444 Binary files /dev/null and b/glabels/icons/24x24/actions/glabels-format-text-bold.png differ diff --git a/glabels/icons/24x24/actions/glabels-format-text-italic.png b/glabels/icons/24x24/actions/glabels-format-text-italic.png new file mode 100644 index 0000000..027220f Binary files /dev/null and b/glabels/icons/24x24/actions/glabels-format-text-italic.png differ diff --git a/glabels/icons/24x24/actions/glabels-format-text-underline.png b/glabels/icons/24x24/actions/glabels-format-text-underline.png new file mode 100644 index 0000000..836acf2 Binary files /dev/null and b/glabels/icons/24x24/actions/glabels-format-text-underline.png differ diff --git a/glabels/icons/24x24/actions/glabels-align-text-bottom.png b/glabels/icons/24x24/actions/glabels-valign-text-bottom.png similarity index 100% rename from glabels/icons/24x24/actions/glabels-align-text-bottom.png rename to glabels/icons/24x24/actions/glabels-valign-text-bottom.png diff --git a/glabels/icons/24x24/actions/glabels-align-text-middle.png b/glabels/icons/24x24/actions/glabels-valign-text-middle.png similarity index 100% rename from glabels/icons/24x24/actions/glabels-align-text-middle.png rename to glabels/icons/24x24/actions/glabels-valign-text-middle.png diff --git a/glabels/icons/24x24/actions/glabels-align-text-top.png b/glabels/icons/24x24/actions/glabels-valign-text-top.png similarity index 100% rename from glabels/icons/24x24/actions/glabels-align-text-top.png rename to glabels/icons/24x24/actions/glabels-valign-text-top.png diff --git a/glabels/ui/ObjectEditor.ui b/glabels/ui/ObjectEditor.ui index f78a8cd..2f68777 100644 --- a/glabels/ui/ObjectEditor.ui +++ b/glabels/ui/ObjectEditor.ui @@ -70,13 +70,178 @@ - 0 + 5 Text + + + + Layout + + + + + + + + Alignment: + + + + + + + + + + + + + :/icons/24x24/actions/glabels-align-text-left.png:/icons/24x24/actions/glabels-align-text-left.png + + + true + + + false + + + + + + + + + + + :/icons/24x24/actions/glabels-align-text-center.png:/icons/24x24/actions/glabels-align-text-center.png + + + true + + + + + + + + + + + :/icons/24x24/actions/glabels-align-text-right.png:/icons/24x24/actions/glabels-align-text-right.png + + + true + + + + + + + + + + + + + + + + + + + + + + :/icons/24x24/actions/glabels-valign-text-top.png:/icons/24x24/actions/glabels-valign-text-top.png + + + true + + + false + + + + + + + + + + + :/icons/24x24/actions/glabels-valign-text-middle.png:/icons/24x24/actions/glabels-valign-text-middle.png + + + true + + + + + + + + + + + :/icons/24x24/actions/glabels-valign-text-bottom.png:/icons/24x24/actions/glabels-valign-text-bottom.png + + + true + + + + + + + + + Line spacing: + + + + + + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + @@ -88,6 +253,9 @@ + + QFormLayout::AllNonFixedFieldsGrow + @@ -95,6 +263,9 @@ + + + @@ -102,9 +273,6 @@ - - - @@ -115,13 +283,13 @@ - + - :/icons/24x24/actions/glabels-text.png:/icons/24x24/actions/glabels-text.png + :/icons/24x24/actions/glabels-format-text-bold.png:/icons/24x24/actions/glabels-format-text-bold.png true @@ -132,13 +300,13 @@ - + - :/icons/24x24/actions/glabels-text.png:/icons/24x24/actions/glabels-text.png + :/icons/24x24/actions/glabels-format-text-italic.png:/icons/24x24/actions/glabels-format-text-italic.png true @@ -146,19 +314,32 @@ - + - :/icons/24x24/actions/glabels-text.png:/icons/24x24/actions/glabels-text.png + :/icons/24x24/actions/glabels-format-text-underline.png:/icons/24x24/actions/glabels-format-text-underline.png true + + + + Qt::Horizontal + + + + 40 + 20 + + + + @@ -168,15 +349,49 @@ - - - - - - + + + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + - - + + + + + + + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + @@ -196,153 +411,18 @@ - - - - Layout + + + + Qt::Vertical - - - - - - - Alignment: - - - - - - - - - - - - - :/icons/24x24/actions/glabels-text.png:/icons/24x24/actions/glabels-text.png - - - true - - - false - - - - - - - - - - - :/icons/24x24/actions/glabels-text.png:/icons/24x24/actions/glabels-text.png - - - true - - - - - - - - - - - :/icons/24x24/actions/glabels-text.png:/icons/24x24/actions/glabels-text.png - - - true - - - - - - - - - - - - - - - - - - - - - - :/icons/24x24/actions/glabels-align-text-bottom.png:/icons/24x24/actions/glabels-align-text-bottom.png - - - true - - - false - - - - - - - - - - - :/icons/24x24/actions/glabels-align-text-middle.png:/icons/24x24/actions/glabels-align-text-middle.png - - - true - - - - - - - - - - - :/icons/24x24/actions/glabels-align-text-top.png:/icons/24x24/actions/glabels-align-text-top.png - - - true - - - - - - - - - Line spacing: - - - - - - - - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - + + + 20 + 150 + + + @@ -371,7 +451,7 @@ - + @@ -397,19 +477,6 @@ - - - - Qt::Vertical - - - - 20 - 156 - - - - @@ -417,6 +484,19 @@ Barcode + + + + Qt::Vertical + + + + 20 + 356 + + + + @@ -433,17 +513,17 @@ - + - + Show text - + Checksum @@ -457,11 +537,28 @@ - - - - - + + + + + + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + @@ -492,7 +589,7 @@ - + 0 @@ -526,7 +623,7 @@ - + 0 @@ -544,7 +641,7 @@ - + 0 @@ -582,7 +679,7 @@ - + @@ -613,9 +710,9 @@ - + - TextLabel + 0000000000 @@ -629,7 +726,7 @@ - + @@ -655,19 +752,6 @@ - - - - Qt::Vertical - - - - 20 - 356 - - - - @@ -697,7 +781,7 @@ - + File: @@ -711,14 +795,14 @@ - + Key: - + @@ -769,9 +853,6 @@ - - - @@ -779,12 +860,43 @@ + + + + + + + + + points + + + + + - - - - - + + + + + + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + @@ -820,7 +932,7 @@ - + @@ -854,7 +966,7 @@ 20 - 582 + 578 @@ -884,10 +996,10 @@ - + - + inches @@ -905,10 +1017,10 @@ - + - + inches @@ -935,7 +1047,7 @@ - + Size @@ -952,10 +1064,10 @@ - + - + inches @@ -973,10 +1085,10 @@ - + - + inches @@ -987,14 +1099,14 @@ - + Lock aspect ratio - + Reset image size @@ -1021,7 +1133,7 @@ - + Size @@ -1038,10 +1150,10 @@ - + - + inches @@ -1059,7 +1171,7 @@ - + @@ -1109,7 +1221,7 @@ - + Shadow @@ -1132,10 +1244,10 @@ - + - + inches @@ -1153,10 +1265,10 @@ - + - + inches @@ -1171,13 +1283,6 @@ - - - - - - - @@ -1188,7 +1293,7 @@ - + @@ -1199,6 +1304,30 @@ + + + + + + + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + @@ -1225,7 +1354,7 @@ 20 - 585 + 583