# HG changeset patch # User Santeri Piippo # Date 1379881627 -10800 # Node ID 7d1b5ecd76c00e6158b26a7ab074aec0d9616192 # Parent 25747c37c7be18362a9547417ae7faaf97330caf it's LDForge's 1st birthday! - moved the project qmake code into ldforge.pro, removing src/src.pro in the process, with UI_DIR there is no need to have the main qmake in src/ - added moc #include directives to relevant source files, speeding up compile diff -r 25747c37c7be -r 7d1b5ecd76c0 ldforge.pro --- a/ldforge.pro Wed Sep 04 11:54:17 2013 +0300 +++ b/ldforge.pro Sun Sep 22 23:27:07 2013 +0300 @@ -2,6 +2,26 @@ # Automatically generated by qmake (2.01a) Sat Sep 22 17:29:49 2012 ###################################################################### -TEMPLATE = subdirs +TEMPLATE = app +TARGET = ldforge +SUBDIRS += ./src + TARGET = ldforge -SUBDIRS += ./src \ No newline at end of file +DEPENDPATH += . +INCLUDEPATH += . ./build/ +RC_FILE = ldforge.rc +RESOURCES = ldforge.qrc +RCC_DIR = ./build/ +OBJECTS_DIR = ./build/ +MOC_DIR = ./build/ +RCC_DIR = ./build/ +UI_DIR = ./build/ +SOURCES = src/*.cpp +HEADERS = src/*.h +FORMS = ui/*.ui +QT += opengl network +QMAKE_CXXFLAGS += -std=c++0x + +unix { + LIBS += -lGLU +} \ No newline at end of file diff -r 25747c37c7be -r 7d1b5ecd76c0 src/addObjectDialog.cpp --- a/src/addObjectDialog.cpp Wed Sep 04 11:54:17 2013 +0300 +++ b/src/addObjectDialog.cpp Sun Sep 22 23:27:07 2013 +0300 @@ -403,4 +403,5 @@ } g_win->fullRefresh(); -} \ No newline at end of file +} +#include "moc_addObjectDialog.cpp" diff -r 25747c37c7be -r 7d1b5ecd76c0 src/colorSelectDialog.cpp --- a/src/colorSelectDialog.cpp Wed Sep 04 11:54:17 2013 +0300 +++ b/src/colorSelectDialog.cpp Sun Sep 22 23:27:07 2013 +0300 @@ -191,4 +191,5 @@ } return false; -} \ No newline at end of file +} +#include "moc_colorSelectDialog.cpp" diff -r 25747c37c7be -r 7d1b5ecd76c0 src/configDialog.cpp --- a/src/configDialog.cpp Wed Sep 04 11:54:17 2013 +0300 +++ b/src/configDialog.cpp Sun Sep 22 23:27:07 2013 +0300 @@ -700,4 +700,5 @@ void KeySequenceDialog::keyPressEvent (QKeyEvent* ev) { seq = ev->key() + ev->modifiers(); updateOutput(); -} \ No newline at end of file +} +#include "moc_configDialog.cpp" diff -r 25747c37c7be -r 7d1b5ecd76c0 src/dialogs.cpp --- a/src/dialogs.cpp Wed Sep 04 11:54:17 2013 +0300 +++ b/src/dialogs.cpp Sun Sep 22 23:27:07 2013 +0300 @@ -333,4 +333,5 @@ // ----------------------------------------------------------------------------- void AboutDialog::slot_mail() { QDesktopServices::openUrl (QUrl ("mailto:Santeri Piippo ?subject=LDForge")); -} \ No newline at end of file +} +#include "moc_dialogs.cpp" diff -r 25747c37c7be -r 7d1b5ecd76c0 src/download.cpp --- a/src/download.cpp Wed Sep 04 11:54:17 2013 +0300 +++ b/src/download.cpp Sun Sep 22 23:27:07 2013 +0300 @@ -487,4 +487,5 @@ // ----------------------------------------------------------------------------- DEFINE_ACTION (DownloadFrom, 0) { PartDownloader::k_download(); -} \ No newline at end of file +} +#include "moc_download.cpp" diff -r 25747c37c7be -r 7d1b5ecd76c0 src/file.cpp --- a/src/file.cpp Wed Sep 04 11:54:17 2013 +0300 +++ b/src/file.cpp Sun Sep 22 23:27:07 2013 +0300 @@ -1128,4 +1128,5 @@ g_logoedStud = openDATFile ("stud-logo.dat", true); g_logoedStud2 = openDATFile ("stud2-logo.dat", true); -} \ No newline at end of file +} +#include "moc_file.cpp" diff -r 25747c37c7be -r 7d1b5ecd76c0 src/gldraw.cpp --- a/src/gldraw.cpp Wed Sep 04 11:54:17 2013 +0300 +++ b/src/gldraw.cpp Sun Sep 22 23:27:07 2013 +0300 @@ -1710,4 +1710,5 @@ if (g_win->R() == this) g_win->refresh(); -} \ No newline at end of file +} +#include "moc_gldraw.cpp" diff -r 25747c37c7be -r 7d1b5ecd76c0 src/gui.cpp --- a/src/gui.cpp Wed Sep 04 11:54:17 2013 +0300 +++ b/src/gui.cpp Sun Sep 22 23:27:07 2013 +0300 @@ -934,4 +934,5 @@ bool LDQuickColor::isSeparator() const { return color() == null; -} \ No newline at end of file +} +#include "moc_gui.cpp" diff -r 25747c37c7be -r 7d1b5ecd76c0 src/messagelog.cpp --- a/src/messagelog.cpp Wed Sep 04 11:54:17 2013 +0300 +++ b/src/messagelog.cpp Sun Sep 22 23:27:07 2013 +0300 @@ -121,4 +121,5 @@ // Also print it to stdout print ("%1\n", msg); -} \ No newline at end of file +} +#include "moc_messagelog.cpp" diff -r 25747c37c7be -r 7d1b5ecd76c0 src/primitives.cpp --- a/src/primitives.cpp Wed Sep 04 11:54:17 2013 +0300 +++ b/src/primitives.cpp Sun Sep 22 23:27:07 2013 +0300 @@ -566,4 +566,5 @@ // spinbox to 48. if (on && ui->sb_segs->value() == lores) ui->sb_segs->setValue (hires); -} \ No newline at end of file +} +#include "moc_primitives.cpp" diff -r 25747c37c7be -r 7d1b5ecd76c0 src/ui/about.ui --- a/src/ui/about.ui Wed Sep 04 11:54:17 2013 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,139 +0,0 @@ - - - AboutUI - - - - 0 - 0 - 320 - 400 - - - - - 320 - 400 - - - - - 16777215 - 16777215 - - - - About LDForge - - - - - - - 16777215 - 16777215 - - - - - - - :/icons/ldforge.png - - - false - - - Qt::AlignCenter - - - - - - - font-weight: bold - - - [[ VERSION INFO HERE]] - - - Qt::AlignCenter - - - - - - - Copyright (C) 2013 Santeri Piippo - - - Qt::AlignCenter - - - - - - - - 16777215 - 16777215 - - - - QFrame::NoFrame - - - <html><head/><body><p>This software is intended for usage as a parts authoring tool for the <a href="http://ldraw.org/"><span style=" text-decoration: underline; color:#0057ae;">LDraw</span></a> parts library.</p><p>LDForge is free software, and you are welcome to redistribute it under the terms of GPL v3. See the LICENSE text file for details. If the license text is not available for some reason, see <a href="http://www.gnu.org/licenses/"><span style=" text-decoration: underline; color:#0057ae;">http://www.gnu.org/licenses/</span></a> for the license terms.</p><p>The graphical assets of LDForge are licensed under the <a href="http://creativecommons.org/licenses/by-sa/3.0/"><span style=" text-decoration: underline; color:#0057ae;">CC Attribution-ShareAlike 3.0 Unported license</span></a>. The GNU GPL applies to the source code of the program. The application icon is derived from <a href="http://en.wikipedia.org/wiki/File:Anvil,_labelled_en.svg"><span style=" text-decoration: underline; color:#0057ae;">this image on Wikipedia</span></a>. The linked image (retrieved 22 May 2013) was released into the public domain.</p></body></html> - - - Qt::AlignCenter - - - true - - - - - - - In living memory of James Jessiman. - - - Qt::AlignCenter - - - - - - - QDialogButtonBox::Close - - - false - - - - - - - - - - - buttonBox - rejected() - AboutUI - reject() - - - 296 - 384 - - - 293 - 1 - - - - - diff -r 25747c37c7be -r 7d1b5ecd76c0 src/ui/addhistoryline.ui --- a/src/ui/addhistoryline.ui Wed Sep 04 11:54:17 2013 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,98 +0,0 @@ - - - AddHistoryLine - - - - 0 - 0 - 410 - 120 - - - - Add History Line - - - - - - - - Date: - - - - - - - - - - Username: - - - - - - - - - - Comment: - - - - - - - - - - - - Qt::Horizontal - - - QDialogButtonBox::Cancel|QDialogButtonBox::Ok - - - - - - - - - buttonBox - accepted() - AddHistoryLine - accept() - - - 248 - 254 - - - 157 - 274 - - - - - buttonBox - rejected() - AddHistoryLine - reject() - - - 316 - 260 - - - 286 - 274 - - - - - diff -r 25747c37c7be -r 7d1b5ecd76c0 src/ui/colorsel.ui --- a/src/ui/colorsel.ui Wed Sep 04 11:54:17 2013 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,98 +0,0 @@ - - - ColorSelUI - - - - 0 - 0 - 382 - 442 - - - - Pick a Color - - - - - - Qt::ScrollBarAlwaysOn - - - Qt::ScrollBarAlwaysOff - - - - - - - - - [[ COLOR HERE ]] - - - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - - - Qt::Horizontal - - - QDialogButtonBox::Cancel|QDialogButtonBox::Ok - - - - - - - - - buttonBox - accepted() - ColorSelUI - accept() - - - 248 - 254 - - - 157 - 274 - - - - - buttonBox - rejected() - ColorSelUI - reject() - - - 316 - 260 - - - 286 - 274 - - - - - diff -r 25747c37c7be -r 7d1b5ecd76c0 src/ui/config.ui --- a/src/ui/config.ui Wed Sep 04 11:54:17 2013 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,704 +0,0 @@ - - - ConfigUI - - - - 0 - 0 - 561 - 351 - - - - Settings - - - - :/icons/settings.png:/icons/settings.png - - - - - - QTabWidget::North - - - 0 - - - Qt::ElideNone - - - false - - - false - - - false - - - - Interface - - - - - - Colors - - - - - - QFormLayout::ExpandingFieldsGrow - - - - - - - - Main color: - - - - - - - This color is used for the main color. - - - - - - - :/icons/colorselect.png:/icons/colorselect.png - - - - - - - - - - Main color alpha: - - - - - - - Opacity of main color in the viewport. - - - 1 - - - 10 - - - Qt::Horizontal - - - QSlider::TicksAbove - - - 1 - - - - - - - - - - Background: - - - - - - - This is the background color for the viewport. - - - - - - - :/icons/colorselect.png:/icons/colorselect.png - - - - - - - - - - - - QFormLayout::ExpandingFieldsGrow - - - - - - - - Line thickness: - - - - - - - - - How thick lines should be drawn in the viewport. - - - 1 - - - 8 - - - Qt::Horizontal - - - QSlider::TicksAbove - - - 1 - - - - - - - # - - - - - - - - - - - - - - - Makes all edgelines appear black. If this is not set, edge lines take their color as defined in LDConfig.ldr. - - - Black edges - - - - - - - Polygons' front sides become green and back sides red. - - - Red/green BFC view (incomplete) - - - - - - - Makes colored objects (non-16 and 24) appear colored in the list view. A red triangle will, for instance, have its entry written in red text. This can be useful to locate colored objects. - - - Colorize objects in list view - - - - - - - List implicitly loaded files - - - - - - - - - - - Use logoed studs - - - - - - - Qt::Vertical - - - - 20 - 40 - - - - - - - - - - - - - Profile - - - - - - Profile - - - - - - - - Username: - - - - - - - Name: - - - - - - - License: - - - - - - - - - - - - - - 0 - 0 - - - - - CA - redistributable - - - - - NonCA - not redistributable - - - - - None - - - - - - - - - - Qt::Vertical - - - - 20 - 40 - - - - - - - - - - - - Shortcuts - - - - - - Here you can alter keyboard shortcuts for almost all LDForge actions. Only exceptions are the controls for the viewport. Use the set button to set a key shortcut, clear to remove it and reset to restore the shortcut to its default value. - -Shortcut changes apply immediately after closing this window. - - - Shortcuts - - - - - - Qt::ScrollBarAsNeeded - - - - - - - - - Set - - - - - - - Reset - - - - :/icons/undo.png:/icons/undo.png - - - - - - - Clear - - - - :/icons/delete.png:/icons/delete.png - - - - - - - Qt::Vertical - - - - 20 - 40 - - - - - - - - - - - - - - Quick colors - - - - - - Here you can alter the layout of the quick colors toolbar. Use the controls to add, remove or edit the colors used. You can also add separators in between colors. - -Usually this contains MainColor, EdgeColor and some auxiliary colors used to group objects. - - - Quick colors - - - - - - Qt::ScrollBarAsNeeded - - - - - - - - - Add Color - - - - :/icons/palette.png:/icons/palette.png - - - - - - - Add Separator - - - - - - - Edit - - - - :/icons/mode-draw.png:/icons/mode-draw.png - - - - - - - Qt::Horizontal - - - - - - - Move Up - - - - :/icons/arrow-up.png:/icons/arrow-up.png - - - - - - - Move Down - - - - :/icons/arrow-down.png:/icons/arrow-down.png - - - - - - - Qt::Horizontal - - - - - - - Remove - - - - :/icons/delete.png:/icons/delete.png - - - - - - - Clear List - - - - :/icons/delete.png:/icons/delete.png - - - - - - - Qt::Vertical - - - - 20 - 40 - - - - - - - - - - - - - - Grids - - - - - - Grids - - - - - - - Qt::Vertical - - - - 20 - 40 - - - - - - - - - External Programs - - - - - - LDForge supports launching of several third-party utility tools; here you can set the file paths to these tools. Set the paths of the tools to the exe files. - -Under Linux, you can also set the programs to be launched with Wine, so you can use Windows binaries here as well. You will obviously need Wine installed. A 'wine' command in PATH is necessary for this to work. - - - External Programs - - - - - - - Qt::Vertical - - - - 20 - 40 - - - - - - - - - Downloading - - - - - - - - Download path: - - - - - - - - - - - - - - :/icons/folder.png:/icons/folder.png - - - - - - - - - <p>When this is set, LDForge tries to adjust and correct part paths based on the input. A full path given to the download prompt should be of form <tt>"&lt;dir&gt;/&lt;file&gt;.dat"</tt> - with this set, input can be automatically completed.</p> - -<p>Examples: -<ul> -<li>3002 -> parts/3002.dat</li> -<li>3002.da -> parts/3002.dat</li> -<li>3002s01 -> parts/s/3002s01.dat</li> -<li>4-4cyli -> p/4-4cyli.dat</li> -</ul></p> - - - Correct and guess part paths - - - - - - - If this is set, LDForge will close the download prompt after everything has been downloaded. The prompt will not be closed if a download has failed. - - - Close download prompt after completion - - - - - - - Qt::Vertical - - - - 20 - 40 - - - - - - - - - - - - Qt::Horizontal - - - QDialogButtonBox::Apply|QDialogButtonBox::Cancel|QDialogButtonBox::Ok - - - - - - - - - - diff -r 25747c37c7be -r 7d1b5ecd76c0 src/ui/coverer.ui --- a/src/ui/coverer.ui Wed Sep 04 11:54:17 2013 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,157 +0,0 @@ - - - CovererUI - - - - 0 - 0 - 310 - 220 - - - - - 310 - 220 - - - - - 10000 - 10000 - - - - Coverer - - - - - 40 - 180 - 261 - 32 - - - - Qt::Horizontal - - - QDialogButtonBox::Cancel|QDialogButtonBox::Ok - - - - - - 10 - 5 - 291 - 171 - - - - - - - Shape 1 - - - - - - - Shape 2 - - - - - - - - - - - - - Segment split length: - - - - - - - Bias: - - - - - - - 10000.000000000000000 - - - - - - - -100 - - - 100 - - - - - - - Reverse shape 2 - - - - - - - Old sweep method - - - - - - - - - - buttonBox - accepted() - CovererUI - accept() - - - 248 - 254 - - - 157 - 274 - - - - - buttonBox - rejected() - CovererUI - reject() - - - 316 - 260 - - - 286 - 274 - - - - - diff -r 25747c37c7be -r 7d1b5ecd76c0 src/ui/downloadfrom.ui --- a/src/ui/downloadfrom.ui Wed Sep 04 11:54:17 2013 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,141 +0,0 @@ - - - DownloadFrom - - - - 0 - 0 - 546 - 405 - - - - Download from LDraw.org - - - - - - - 11 - 75 - true - - - - Download from LDraw.org - - - Qt::AlignCenter - - - - - - - QFormLayout::ExpandingFieldsGrow - - - - - Source: - - - - - - - - 0 - 0 - - - - - Parts tracker - - - - - Custom URL - - - - - - - - File name: - - - - - - - - - - - - false - - - QAbstractItemView::NoEditTriggers - - - QAbstractItemView::NoSelection - - - false - - - - File - - - - 50 - false - - - - - - Status - - - - - - - - Qt::Horizontal - - - QDialogButtonBox::Abort|QDialogButtonBox::Close - - - - - - - - - buttonBox - rejected() - DownloadFrom - reject() - - - 322 - 312 - - - 286 - 274 - - - - - diff -r 25747c37c7be -r 7d1b5ecd76c0 src/ui/edger2.ui --- a/src/ui/edger2.ui Wed Sep 04 11:54:17 2013 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,297 +0,0 @@ - - - Edger2Dialog - - - - 0 - 0 - 357 - 257 - - - - Edger 2 - - - 1.000000000000000 - - - - - - - - - - Precision - - - - - - - - - - 4 - - - 0.001000000000000 - - - - - - - ° - - - 4 - - - 0.000000000000000 - - - 360.000000000000000 - - - 0.100000000000000 - - - 0.100000000000000 - - - - - - - Flat angle - - - - - - - Conditional line angle - - - - - - - ° - - - 4 - - - 360.000000000000000 - - - 0.100000000000000 - - - 60.000000000000000 - - - - - - - ° - - - 4 - - - 360.000000000000000 - - - 0.100000000000000 - - - 60.000000000000000 - - - - - - - Edge line angle - - - - - - - 1 - - - - Only - - - - - Normally - - - - - Never - - - - - - - - Create unmatched edges - - - - - - - - - - - - - Color-coded result - - - - - - - Delete existing lines - - - - - - - Delete existing cond. lines - - - - - - - - - - - File is BFCd - - - - - - - false - - - Convex cond. lines only - - - - - - - false - - - Concave cond. lines only - - - - - - - - - - - - - Qt::Horizontal - - - QDialogButtonBox::Cancel|QDialogButtonBox::Ok - - - - - - - - - buttonBox - accepted() - Edger2Dialog - accept() - - - 254 - 250 - - - 157 - 256 - - - - - buttonBox - rejected() - Edger2Dialog - reject() - - - 322 - 250 - - - 286 - 256 - - - - - bfc - clicked(bool) - convex - setEnabled(bool) - - - 249 - 157 - - - 248 - 185 - - - - - bfc - clicked(bool) - concave - setEnabled(bool) - - - 283 - 154 - - - 283 - 205 - - - - - diff -r 25747c37c7be -r 7d1b5ecd76c0 src/ui/editraw.ui --- a/src/ui/editraw.ui Wed Sep 04 11:54:17 2013 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,116 +0,0 @@ - - - EditRawUI - - - - 0 - 0 - 400 - 87 - - - - Edit LDraw Code - - - - - - LDraw code: - - - - - - - <html><head/><body><p>The LDraw code of this object. The code written here is expected to be valid LDraw code, invalid code here results the object being turned into an error object. Please do refer to the <a href="http://www.ldraw.org/article/218.html"><span style=" text-decoration: underline; color:#0057ae;">official file format standard</span></a> for further information.</p></body></html> - - - - - - - - - - 16 - 16 - - - - - - - :/icons/error.png - - - true - - - - - - - true - - - color: #900 - - - Error description - - - - - - - Qt::Horizontal - - - QDialogButtonBox::Cancel|QDialogButtonBox::Ok - - - - - - - - - - - - - buttonBox - accepted() - EditRawUI - accept() - - - 248 - 254 - - - 157 - 274 - - - - - buttonBox - rejected() - EditRawUI - reject() - - - 316 - 260 - - - 286 - 274 - - - - - diff -r 25747c37c7be -r 7d1b5ecd76c0 src/ui/extprogpath.ui --- a/src/ui/extprogpath.ui Wed Sep 04 11:54:17 2013 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,85 +0,0 @@ - - - ExtProgPath - - - - 0 - 0 - 444 - 89 - - - - Program path required - - - - - - Please input a path for <PROGRAM>: - - - - - - - - - - - - ... - - - - - - - - - Qt::Horizontal - - - QDialogButtonBox::Cancel|QDialogButtonBox::Ok - - - - - - - - - buttonBox - accepted() - ExtProgPath - accept() - - - 248 - 254 - - - 157 - 274 - - - - - buttonBox - rejected() - ExtProgPath - reject() - - - 316 - 260 - - - 286 - 274 - - - - - diff -r 25747c37c7be -r 7d1b5ecd76c0 src/ui/flip.ui --- a/src/ui/flip.ui Wed Sep 04 11:54:17 2013 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,94 +0,0 @@ - - - FlipUI - - - - 0 - 0 - 178 - 93 - - - - Flip - - - - - - Axes - - - - - - X - - - - - - - Y - - - - - - - Z - - - - - - - - - - Qt::Horizontal - - - QDialogButtonBox::Cancel|QDialogButtonBox::Ok - - - - - - - - - buttonBox - accepted() - FlipUI - accept() - - - 248 - 254 - - - 157 - 274 - - - - - buttonBox - rejected() - FlipUI - reject() - - - 316 - 260 - - - 286 - 274 - - - - - diff -r 25747c37c7be -r 7d1b5ecd76c0 src/ui/intersector.ui --- a/src/ui/intersector.ui Wed Sep 04 11:54:17 2013 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,175 +0,0 @@ - - - IntersectorUI - - - - 0 - 0 - 250 - 200 - - - - - 250 - 200 - - - - - 250 - 200 - - - - Intersector - - - - - 10 - 160 - 231 - 32 - - - - Qt::Horizontal - - - QDialogButtonBox::Cancel|QDialogButtonBox::Ok - - - - - - 10 - 10 - 233 - 143 - - - - - - - - - Cutter: - - - - - - - Input: - - - - - - - - - - - - - - - - - Colorize output - - - - - - - Repeat inverse - - - - - - - No condensing - - - - - - - Add edges - - - - - - - - - - - Prescaling factor - - - - - - - - - - 10000.000000000000000 - - - 0.010000000000000 - - - 1.000000000000000 - - - - - - - - - - - - buttonBox - accepted() - IntersectorUI - accept() - - - 248 - 254 - - - 157 - 274 - - - - - buttonBox - rejected() - IntersectorUI - reject() - - - 316 - 260 - - - 286 - 274 - - - - - diff -r 25747c37c7be -r 7d1b5ecd76c0 src/ui/isecalc.ui --- a/src/ui/isecalc.ui Wed Sep 04 11:54:17 2013 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,112 +0,0 @@ - - - IsecalcUI - - - - 0 - 0 - 240 - 120 - - - - - 240 - 120 - - - - - 10000 - 120 - - - - Isecalc - - - - - 30 - 80 - 201 - 32 - - - - Qt::Horizontal - - - QDialogButtonBox::Cancel|QDialogButtonBox::Ok - - - - - - 10 - 10 - 221 - 61 - - - - - - - - - - - - - Shape 1: - - - - - - - Shape 2: - - - - - - - - - - buttonBox - accepted() - IsecalcUI - accept() - - - 248 - 254 - - - 157 - 274 - - - - - buttonBox - rejected() - IsecalcUI - reject() - - - 316 - 260 - - - 286 - 274 - - - - - diff -r 25747c37c7be -r 7d1b5ecd76c0 src/ui/ldforge.ui --- a/src/ui/ldforge.ui Wed Sep 04 11:54:17 2013 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1286 +0,0 @@ - - - LDForgeUI - - - - 0 - 0 - 900 - 600 - - - - - - - - :/icons/ldforge.png:/icons/ldforge.png - - - - - - - - - - 0 - 0 - - - - - - - - - 0 - 0 - - - - QFrame::StyledPanel - - - QFrame::Raised - - - - - - - - 0 - 0 - - - - QAbstractItemView::ExtendedSelection - - - - - - - - - - - 0 - 0 - 900 - 22 - - - - - File - - - - Open Recent... - - - - :/icons/open-recent.png:/icons/open-recent.png - - - - - - - - - - - - - - - - - - - - - - - - - - - View - - - - - - - - - - - - - - Insert - - - - - - - - - - - - - - - Edit - - - - - - - - - - - - - - - - - - - - - - - - - Tools - - - - - - - - - - - - - - - - - - - - - - - - - External Tools - - - - - - - - - - - Help - - - - - - - - - Move - - - - Grids - - - - - - - - Move Objects - - - - - - - - - - - Object List - - - - - - - Rotate - - - - - - - - - - - - - - - - - - - - - - - - - - - - toolBar - - - TopToolBarArea - - - false - - - - - - - - - - - - - toolBar_2 - - - TopToolBarArea - - - false - - - - - - - - - - - - - toolBar_3 - - - TopToolBarArea - - - false - - - - - - - - - - - toolBar_4 - - - TopToolBarArea - - - true - - - - - - - - toolBar_5 - - - TopToolBarArea - - - false - - - - - - - - toolBar_6 - - - TopToolBarArea - - - false - - - - - - - - toolBar_7 - - - TopToolBarArea - - - false - - - - - - - - - - - - - - - toolBar_8 - - - LeftToolBarArea - - - false - - - - - - - toolBar_9 - - - RightToolBarArea - - - false - - - - - - :/icons/brick.png:/icons/brick.png - - - New Part - - - Create a new part model. - - - Ctrl+N - - - - - - :/icons/file-open.png:/icons/file-open.png - - - Open - - - Load a part model from a file. - - - Ctrl+O - - - - - - :/icons/file-save.png:/icons/file-save.png - - - Save - - - Save the part model. - - - - - - - - - :/icons/file-save-as.png:/icons/file-save-as.png - - - Save As.. - - - Save the part model to a specific file. - - - - - - :/icons/file-import.png:/icons/file-import.png - - - Insert From.. - - - - - - :/icons/file-export.png:/icons/file-export.png - - - Export To.. - - - - - - :/icons/settings.png:/icons/settings.png - - - Settings - - - Edit the settings of LDForge. - - - - - - - - - :/icons/settings.png:/icons/settings.png - - - Set LDraw Path - - - Change the LDraw directory path. - - - - - - :/icons/radial.png:/icons/radial.png - - - Scan Primitives - - - Scan the primitives folder for primitive info. Use this if you add new primitives. - - - - - - :/icons/exit.png:/icons/exit.png - - - Exit - - - Ctrl+Q - - - - - Reset View - - - - - true - - - true - - - - :/icons/axes.png:/icons/axes.png - - - Draw Axes - - - - - true - - - - :/icons/wireframe.png:/icons/wireframe.png - - - Wireframe - - - - - true - - - - :/icons/bfc-view.png:/icons/bfc-view.png - - - BFC Red/Green View - - - - - - :/icons/overlay.png:/icons/overlay.png - - - Set Overlay Image - - - - - - :/icons/overlay-clear.png:/icons/overlay-clear.png - - - Clear Overlay Image - - - - - - :/icons/screencap.png:/icons/screencap.png - - - Screenshot - - - - - LDraw Code.. - - - - - - :/icons/add-line.png:/icons/add-line.png - - - New Line - - - - - - :/icons/add-subfile.png:/icons/add-subfile.png - - - New Subfile Reference - - - - - - :/icons/add-triangle.png:/icons/add-triangle.png - - - New Triangle - - - - - - :/icons/add-quad.png:/icons/add-quad.png - - - New Quadrilateral - - - - - - :/icons/add-condline.png:/icons/add-condline.png - - - New Conditional Line - - - - - - :/icons/add-comment.png:/icons/add-comment.png - - - New Comment - - - - - - :/icons/add-bfc.png:/icons/add-bfc.png - - - New BFC Statement - - - - - - :/icons/add-vertex.png:/icons/add-vertex.png - - - New Vertex - - - - - - :/icons/undo.png:/icons/undo.png - - - Undo - - - Undo a step. - - - - - - :/icons/redo.png:/icons/redo.png - - - Redo - - - Redo a step. - - - - - - :/icons/cut.png:/icons/cut.png - - - Cut - - - Cut the current selection to clipboard. - - - - - - :/icons/copy.png:/icons/copy.png - - - Copy - - - Copy the current selection to clipboard. - - - - - - - - - :/icons/paste.png:/icons/paste.png - - - Paste - - - Paste clipboard contents. - - - - - - :/icons/delete.png:/icons/delete.png - - - Delete - - - Delete the selection - - - - - - :/icons/select-all.png:/icons/select-all.png - - - Select All - - - - - - :/icons/select-color.png:/icons/select-color.png - - - Select by Color - - - - - - :/icons/select-type.png:/icons/select-type.png - - - Select by Type - - - - - true - - - true - - - - :/icons/mode-select.png:/icons/mode-select.png - - - Select Mode - - - - - true - - - - :/icons/mode-draw.png:/icons/mode-draw.png - - - Draw Mode - - - - - Set Draw Depth - - - - - - :/icons/palette.png:/icons/palette.png - - - Set Color - - - Set the color on given objects. - - - - - - :/icons/autocolor.png:/icons/autocolor.png - - - Auto-color - - - Set the color of the given object to the first found unused color. - - - - - - :/icons/uncolorize.png:/icons/uncolorize.png - - - Uncolorize - - - Reduce colors of everything selected to main and edge colors - - - - - - :/icons/inline.png:/icons/inline.png - - - Inline - - - Inline selected subfiles. - - - - - - :/icons/inline-deep.png:/icons/inline-deep.png - - - Deep Inline - - - Recursively inline selected subfiles down to polygons only. - - - - - - :/icons/invert.png:/icons/invert.png - - - Invert - - - - - - :/icons/radial.png:/icons/radial.png - - - Generate Primitive - - - - - - :/icons/quad-split.png:/icons/quad-split.png - - - Split Quads - - - Split quads into triangles. - - - - - - :/icons/set-contents.png:/icons/set-contents.png - - - Edit LDraw Code - - - Edit the LDraw code of this object. - - - - - - :/icons/make-borders.png:/icons/make-borders.png - - - Make Borders - - - Add borders around given polygons. - - - - - - :/icons/corner-verts.png:/icons/corner-verts.png - - - Make Corner Vertices - - - Adds vertex objects to the corners of the given polygons - - - - - - :/icons/round-coords.png:/icons/round-coords.png - - - Round Coordinates - - - Round coordinates down to 3/4 decimals - - - - - - :/icons/visibility.png:/icons/visibility.png - - - Toggle Visibility - - - Toggles visibility/hiding on objects. - - - - - - :/icons/replace-coords.png:/icons/replace-coords.png - - - Replace Coordinates - - - Find and replace coordinate values. - - - - - - :/icons/flip.png:/icons/flip.png - - - Flip - - - Flip coordinates. - - - - - Demote Conditional Lines - - - Demote conditional lines down to normal lines. - - - - - - :/icons/ytruder.png:/icons/ytruder.png - - - Ytruder - - - Extrude selected lines to a given plane - - - - - - :/icons/rectifier.png:/icons/rectifier.png - - - Rectifier - - - Optimizes quads into rect primitives. - - - - - - :/icons/intersector.png:/icons/intersector.png - - - Intersector - - - Perform clipping between two input groups. - - - - - - :/icons/isecalc.png:/icons/isecalc.png - - - Isecalc - - - Compute intersection edgelines between two input groups. - - - - - - :/icons/coverer.png:/icons/coverer.png - - - Coverer - - - Fill the space between two line shapes - - - - - Edger 2 - - - - - false - - - - :/icons/help.png:/icons/help.png - - - Help - - - - - - :/icons/ldforge.png:/icons/ldforge.png - - - About LDForge - - - - - About Qt - - - - - true - - - - :/icons/grid-coarse.png:/icons/grid-coarse.png - - - Coarse Grid - - - - - true - - - true - - - - :/icons/grid-medium.png:/icons/grid-medium.png - - - Medium Grid - - - - - true - - - - :/icons/grid-fine.png:/icons/grid-fine.png - - - Fine Grid - - - - - Edit Selected Object - - - - - - :/icons/arrow-up.png:/icons/arrow-up.png - - - Move Up - - - - - - :/icons/arrow-down.png:/icons/arrow-down.png - - - Move Down - - - - - - :/icons/move-x-neg.png:/icons/move-x-neg.png - - - Move -X - - - - - - :/icons/move-x-pos.png:/icons/move-x-pos.png - - - Move +X - - - - - - :/icons/move-y-neg.png:/icons/move-y-neg.png - - - Move -Y - - - - - - :/icons/move-y-pos.png:/icons/move-y-pos.png - - - Move +Y - - - - - - :/icons/move-z-neg.png:/icons/move-z-neg.png - - - Move -Z - - - - - - :/icons/move-z-pos.png:/icons/move-z-pos.png - - - Move +Z - - - - - Rotate -X - - - - - Rotate +X - - - - - Rotate -Y - - - - - Rotate +Y - - - - - Rotate -Z - - - - - Rotate +Z - - - - - Set Rotation Point - - - - - Save All - - - - - Close - - - - - Close All - - - - - - :/icons/file-new.png:/icons/file-new.png - - - New File - - - - - Download From... - - - - - Add History Line - - - - - Go to Line... - - - - - - - - diff -r 25747c37c7be -r 7d1b5ecd76c0 src/ui/ldrawpath.ui --- a/src/ui/ldrawpath.ui Wed Sep 04 11:54:17 2013 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,88 +0,0 @@ - - - LDPathUI - - - - 0 - 0 - 344 - 123 - - - - Set LDraw Path - - - - - - Please input your LDraw directory root to proceed: - - - - - - - - - LDraw Path: - - - - - - - - - - - - - - :/icons/folder.png:/icons/folder.png - - - - - - - - - font-weight: bold - - - [[ Information ]] - - - - - - - Qt::Vertical - - - - 20 - 40 - - - - - - - - Qt::Horizontal - - - QDialogButtonBox::Cancel|QDialogButtonBox::Ok - - - - - - - - - - diff -r 25747c37c7be -r 7d1b5ecd76c0 src/ui/makeprim.ui --- a/src/ui/makeprim.ui Wed Sep 04 11:54:17 2013 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,309 +0,0 @@ - - - MakePrimUI - - - - 0 - 0 - 336 - 147 - - - - Generate a Primitive - - - - - - - - - - - 0 - 0 - - - - Type - - - - - - Circle - - - true - - - false - - - - - - - Cylinder - - - - - - - Disc - - - - - - - Disc Negative - - - - - - - Ring - - - - - - - Cone - - - - - - - - - - - - - - Qt::Vertical - - - - 20 - 40 - - - - - - - - Hi-res - - - - - - - - - Segments: - - - - - - - Ring number: - - - - - - - 1 - - - 16 - - - 16 - - - - - - - false - - - - - - - - - Qt::Vertical - - - - 20 - 40 - - - - - - - - - - - - Qt::Horizontal - - - QDialogButtonBox::Cancel|QDialogButtonBox::Ok - - - - - - - - - buttonBox - accepted() - MakePrimUI - accept() - - - 254 - 140 - - - 157 - 146 - - - - - buttonBox - rejected() - MakePrimUI - reject() - - - 322 - 140 - - - 286 - 146 - - - - - rb_circle - clicked(bool) - sb_ringnum - setDisabled(bool) - - - 45 - 41 - - - 305 - 86 - - - - - rb_cylinder - clicked(bool) - sb_ringnum - setDisabled(bool) - - - 109 - 42 - - - 287 - 86 - - - - - rb_disc - clicked(bool) - sb_ringnum - setDisabled(bool) - - - 49 - 66 - - - 287 - 87 - - - - - rb_ndisc - clicked(bool) - sb_ringnum - setDisabled(bool) - - - 121 - 58 - - - 288 - 83 - - - - - rb_ring - clicked(bool) - sb_ringnum - setEnabled(bool) - - - 45 - 90 - - - 301 - 86 - - - - - rb_cone - clicked(bool) - sb_ringnum - setEnabled(bool) - - - 111 - 89 - - - 302 - 85 - - - - - - enableRingNumber() - - diff -r 25747c37c7be -r 7d1b5ecd76c0 src/ui/newpart.ui --- a/src/ui/newpart.ui Wed Sep 04 11:54:17 2013 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,191 +0,0 @@ - - - NewPartUI - - - - 0 - 0 - 491 - 203 - - - - New Part - - - - - - - - - - - - - :/icons/brick.png - - - - - - - Qt::Vertical - - - - 20 - 40 - - - - - - - - - - - - Title: - - - - - - - Author: - - - - - - - - - - - - - - - - - - - License - - - - - - CCAL Redistributable - - - true - - - - - - - Non-redistributable - - - - - - - None - - - - - - - - - - BFC winding - - - - - - CCW - - - true - - - - - - - CW - - - - - - - None - - - - - - - - - - - - Qt::Horizontal - - - QDialogButtonBox::Cancel|QDialogButtonBox::Ok - - - - - - - - - - - buttonBox - accepted() - NewPartUI - accept() - - - 248 - 254 - - - 157 - 274 - - - - - buttonBox - rejected() - NewPartUI - reject() - - - 316 - 260 - - - 286 - 274 - - - - - diff -r 25747c37c7be -r 7d1b5ecd76c0 src/ui/openprogress.ui --- a/src/ui/openprogress.ui Wed Sep 04 11:54:17 2013 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,78 +0,0 @@ - - - OpenProgressUI - - - - 0 - 0 - 400 - 89 - - - - Opening - - - - - - [[ Progress text ]] - - - - - - - 24 - - - - - - - Qt::Horizontal - - - QDialogButtonBox::Cancel - - - - - - - - - buttonBox - accepted() - OpenProgressUI - accept() - - - 248 - 254 - - - 157 - 274 - - - - - buttonBox - rejected() - OpenProgressUI - reject() - - - 316 - 260 - - - 286 - 274 - - - - - diff -r 25747c37c7be -r 7d1b5ecd76c0 src/ui/overlay.ui --- a/src/ui/overlay.ui Wed Sep 04 11:54:17 2013 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,278 +0,0 @@ - - - OverlayUI - - - - 0 - 0 - 276 - 244 - - - - Set Overlay - - - - :/icons/overlay.png:/icons/overlay.png - - - - - - Camera - - - - - - Top - - - - :/icons/camera-top.png:/icons/camera-top.png - - - - - - - Front - - - - :/icons/camera-front.png:/icons/camera-front.png - - - - - - - Left - - - - :/icons/camera-left.png:/icons/camera-left.png - - - - - - - Bottom - - - - :/icons/camera-bottom.png:/icons/camera-bottom.png - - - - - - - Back - - - - :/icons/camera-back.png:/icons/camera-back.png - - - - - - - Right - - - - :/icons/camera-right.png:/icons/camera-right.png - - - - - - - - - - Image - - - - - - QFormLayout::ExpandingFieldsGrow - - - - - File: - - - - - - - - - - - - - - - - :/icons/file-open.png:/icons/file-open.png - - - - - - - - - Origin: - - - - - - - - - - 80 - 0 - - - - px - - - - - - 10000 - - - - - - - - 80 - 0 - - - - px - - - 10000 - - - - - - - - - Dimensions: - - - - - - - - - - 80 - 0 - - - - LDU - - - 10000.000000000000000 - - - - - - - - 80 - 0 - - - - LDU - - - 0.000000000000000 - - - 10000.000000000000000 - - - - - - - - - - - - - - Qt::Horizontal - - - QDialogButtonBox::Cancel|QDialogButtonBox::Help|QDialogButtonBox::Ok - - - - - - - - - - - buttonBox - accepted() - OverlayUI - accept() - - - 248 - 254 - - - 157 - 274 - - - - - buttonBox - rejected() - OverlayUI - reject() - - - 316 - 260 - - - 286 - 274 - - - - - diff -r 25747c37c7be -r 7d1b5ecd76c0 src/ui/rectifier.ui --- a/src/ui/rectifier.ui Wed Sep 04 11:54:17 2013 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,150 +0,0 @@ - - - RectifierUI - - - - 0 - 0 - 300 - 175 - - - - - 300 - 175 - - - - Rectifier - - - false - - - false - - - - - 10 - 140 - 281 - 32 - - - - Qt::Horizontal - - - QDialogButtonBox::Cancel|QDialogButtonBox::Ok - - - - - - 0 - 0 - 301 - 131 - - - - - - - Condense triangles to quads - - - true - - - - - - - Substitute with rect primitives - - - true - - - - - - - Don't replace quads that have adj. cond. lines - - - - - - - Colorize result - - - - - - - - - Coplanarity threshold - - - - - - - 3 - - - 360.000000000000000 - - - 0.100000000000000 - - - - - - - - - - - - buttonBox - accepted() - RectifierUI - accept() - - - 248 - 254 - - - 157 - 274 - - - - - buttonBox - rejected() - RectifierUI - reject() - - - 316 - 260 - - - 286 - 274 - - - - - diff -r 25747c37c7be -r 7d1b5ecd76c0 src/ui/replcoords.ui --- a/src/ui/replcoords.ui Wed Sep 04 11:54:17 2013 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,196 +0,0 @@ - - - ReplaceCoordsUI - - - - 0 - 0 - 239 - 153 - - - - Replace Coordinates - - - - - - Axes - - - - - - Replace X coordinates. - - - X - - - - - - - Replace Y coordinates. - - - Y - - - - - - - Replace Z coordinates. - - - Z - - - - - - - - - - QFormLayout::ExpandingFieldsGrow - - - - - Search: - - - - - - - - - 4 - - - -10000.000000000000000 - - - 10000.000000000000000 - - - - - - - If this is checked, all of the coordinates of selected objects will be changed. If not, they have to match the search value. - -Use this with the Relative option to offset objects, or without to project or flatten. - - - Any - - - - - - - - - Replace: - - - - - - - - - 4 - - - -10000.000000000000000 - - - 10000.000000000000000 - - - - - - - If this is set, the replace value is added to the coordinates, rather than replaced with. - - - Relative - - - - - - - - - - - Qt::Horizontal - - - QDialogButtonBox::Cancel|QDialogButtonBox::Ok - - - - - - - - - buttonBox - accepted() - ReplaceCoordsUI - accept() - - - 224 - 128 - - - 157 - 144 - - - - - buttonBox - rejected() - ReplaceCoordsUI - reject() - - - 246 - 134 - - - 252 - 144 - - - - - any - clicked(bool) - search - setDisabled(bool) - - - 207 - 13 - - - 125 - 12 - - - - - diff -r 25747c37c7be -r 7d1b5ecd76c0 src/ui/rotpoint.ui --- a/src/ui/rotpoint.ui Wed Sep 04 11:54:17 2013 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,214 +0,0 @@ - - - RotPointUI - - - - 0 - 0 - 178 - 267 - - - - Set Rotation Point - - - - - - Rotation Point - - - - - - Object origin - - - - - - - World origin (0, 0, 0) - - - - - - - Custom - - - - - - - - - - false - - - Custom Point - - - - - - 4 - - - -10000.000000000000000 - - - 10000.000000000000000 - - - - - - - 4 - - - -10000.000000000000000 - - - 10000.000000000000000 - - - - - - - X: - - - - - - - 4 - - - -10000.000000000000000 - - - 10000.000000000000000 - - - - - - - Y: - - - - - - - Z: - - - - - - - - - - Qt::Horizontal - - - QDialogButtonBox::Cancel|QDialogButtonBox::Ok - - - - - - - - - buttonBox - accepted() - RotPointUI - accept() - - - 171 - 250 - - - 157 - 266 - - - - - buttonBox - rejected() - RotPointUI - reject() - - - 171 - 256 - - - 177 - 266 - - - - - customPoint - clicked(bool) - groupBox - setEnabled(bool) - - - 46 - 85 - - - 136 - 131 - - - - - worldPoint - clicked(bool) - groupBox - setDisabled(bool) - - - 72 - 66 - - - 90 - 127 - - - - - objectPoint - clicked(bool) - groupBox - setDisabled(bool) - - - 36 - 45 - - - 23 - 129 - - - - - diff -r 25747c37c7be -r 7d1b5ecd76c0 src/ui/ytruder.ui --- a/src/ui/ytruder.ui Wed Sep 04 11:54:17 2013 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,204 +0,0 @@ - - - YtruderUI - - - - 0 - 0 - 340 - 170 - - - - Ytruder - - - - - - - - Extrusion Mode - - - - - - Distance - - - true - - - - - - - Symmetry - - - - - - - Projection - - - - - - - Radial - - - - - - - - - - - - Axis - - - - - - X - - - - - - - Y - - - true - - - - - - - Z - - - - - - - - - - - - Plane depth: - - - - - - - Line threshold angle: - - - - - - - - 85 - 0 - - - - 3 - - - -10000.000000000000000 - - - 10000.000000000000000 - - - - - - - - 85 - 0 - - - - ° - - - 3 - - - 360.000000000000000 - - - 30.000000000000000 - - - - - - - - - - - - - Qt::Horizontal - - - QDialogButtonBox::Cancel|QDialogButtonBox::Ok - - - - - - - - - buttonBox - accepted() - YtruderUI - accept() - - - 248 - 254 - - - 157 - 274 - - - - - buttonBox - rejected() - YtruderUI - reject() - - - 316 - 260 - - - 286 - 274 - - - - - diff -r 25747c37c7be -r 7d1b5ecd76c0 src/widgets.cpp --- a/src/widgets.cpp Wed Sep 04 11:54:17 2013 +0300 +++ b/src/widgets.cpp Sun Sep 22 23:27:07 2013 +0300 @@ -173,4 +173,5 @@ // ----------------------------------------------------------------------------- RadioGroup::it RadioGroup::end() { return m_objects.end(); -} \ No newline at end of file +} +#include "moc_widgets.cpp" diff -r 25747c37c7be -r 7d1b5ecd76c0 ui/about.ui --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ui/about.ui Sun Sep 22 23:27:07 2013 +0300 @@ -0,0 +1,139 @@ + + + AboutUI + + + + 0 + 0 + 320 + 400 + + + + + 320 + 400 + + + + + 16777215 + 16777215 + + + + About LDForge + + + + + + + 16777215 + 16777215 + + + + + + + :/icons/ldforge.png + + + false + + + Qt::AlignCenter + + + + + + + font-weight: bold + + + [[ VERSION INFO HERE]] + + + Qt::AlignCenter + + + + + + + Copyright (C) 2013 Santeri Piippo + + + Qt::AlignCenter + + + + + + + + 16777215 + 16777215 + + + + QFrame::NoFrame + + + <html><head/><body><p>This software is intended for usage as a parts authoring tool for the <a href="http://ldraw.org/"><span style=" text-decoration: underline; color:#0057ae;">LDraw</span></a> parts library.</p><p>LDForge is free software, and you are welcome to redistribute it under the terms of GPL v3. See the LICENSE text file for details. If the license text is not available for some reason, see <a href="http://www.gnu.org/licenses/"><span style=" text-decoration: underline; color:#0057ae;">http://www.gnu.org/licenses/</span></a> for the license terms.</p><p>The graphical assets of LDForge are licensed under the <a href="http://creativecommons.org/licenses/by-sa/3.0/"><span style=" text-decoration: underline; color:#0057ae;">CC Attribution-ShareAlike 3.0 Unported license</span></a>. The GNU GPL applies to the source code of the program. The application icon is derived from <a href="http://en.wikipedia.org/wiki/File:Anvil,_labelled_en.svg"><span style=" text-decoration: underline; color:#0057ae;">this image on Wikipedia</span></a>. The linked image (retrieved 22 May 2013) was released into the public domain.</p></body></html> + + + Qt::AlignCenter + + + true + + + + + + + In living memory of James Jessiman. + + + Qt::AlignCenter + + + + + + + QDialogButtonBox::Close + + + false + + + + + + + + + + + buttonBox + rejected() + AboutUI + reject() + + + 296 + 384 + + + 293 + 1 + + + + + diff -r 25747c37c7be -r 7d1b5ecd76c0 ui/addhistoryline.ui --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ui/addhistoryline.ui Sun Sep 22 23:27:07 2013 +0300 @@ -0,0 +1,98 @@ + + + AddHistoryLine + + + + 0 + 0 + 410 + 120 + + + + Add History Line + + + + + + + + Date: + + + + + + + + + + Username: + + + + + + + + + + Comment: + + + + + + + + + + + + Qt::Horizontal + + + QDialogButtonBox::Cancel|QDialogButtonBox::Ok + + + + + + + + + buttonBox + accepted() + AddHistoryLine + accept() + + + 248 + 254 + + + 157 + 274 + + + + + buttonBox + rejected() + AddHistoryLine + reject() + + + 316 + 260 + + + 286 + 274 + + + + + diff -r 25747c37c7be -r 7d1b5ecd76c0 ui/colorsel.ui --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ui/colorsel.ui Sun Sep 22 23:27:07 2013 +0300 @@ -0,0 +1,98 @@ + + + ColorSelUI + + + + 0 + 0 + 382 + 442 + + + + Pick a Color + + + + + + Qt::ScrollBarAlwaysOn + + + Qt::ScrollBarAlwaysOff + + + + + + + + + [[ COLOR HERE ]] + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + + Qt::Horizontal + + + QDialogButtonBox::Cancel|QDialogButtonBox::Ok + + + + + + + + + buttonBox + accepted() + ColorSelUI + accept() + + + 248 + 254 + + + 157 + 274 + + + + + buttonBox + rejected() + ColorSelUI + reject() + + + 316 + 260 + + + 286 + 274 + + + + + diff -r 25747c37c7be -r 7d1b5ecd76c0 ui/config.ui --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ui/config.ui Sun Sep 22 23:27:07 2013 +0300 @@ -0,0 +1,704 @@ + + + ConfigUI + + + + 0 + 0 + 561 + 351 + + + + Settings + + + + :/icons/settings.png:/icons/settings.png + + + + + + QTabWidget::North + + + 0 + + + Qt::ElideNone + + + false + + + false + + + false + + + + Interface + + + + + + Colors + + + + + + QFormLayout::ExpandingFieldsGrow + + + + + + + + Main color: + + + + + + + This color is used for the main color. + + + + + + + :/icons/colorselect.png:/icons/colorselect.png + + + + + + + + + + Main color alpha: + + + + + + + Opacity of main color in the viewport. + + + 1 + + + 10 + + + Qt::Horizontal + + + QSlider::TicksAbove + + + 1 + + + + + + + + + + Background: + + + + + + + This is the background color for the viewport. + + + + + + + :/icons/colorselect.png:/icons/colorselect.png + + + + + + + + + + + + QFormLayout::ExpandingFieldsGrow + + + + + + + + Line thickness: + + + + + + + + + How thick lines should be drawn in the viewport. + + + 1 + + + 8 + + + Qt::Horizontal + + + QSlider::TicksAbove + + + 1 + + + + + + + # + + + + + + + + + + + + + + + Makes all edgelines appear black. If this is not set, edge lines take their color as defined in LDConfig.ldr. + + + Black edges + + + + + + + Polygons' front sides become green and back sides red. + + + Red/green BFC view (incomplete) + + + + + + + Makes colored objects (non-16 and 24) appear colored in the list view. A red triangle will, for instance, have its entry written in red text. This can be useful to locate colored objects. + + + Colorize objects in list view + + + + + + + List implicitly loaded files + + + + + + + + + + + Use logoed studs + + + + + + + Qt::Vertical + + + + 20 + 40 + + + + + + + + + + + + + Profile + + + + + + Profile + + + + + + + + Username: + + + + + + + Name: + + + + + + + License: + + + + + + + + + + + + + + 0 + 0 + + + + + CA - redistributable + + + + + NonCA - not redistributable + + + + + None + + + + + + + + + + Qt::Vertical + + + + 20 + 40 + + + + + + + + + + + + Shortcuts + + + + + + Here you can alter keyboard shortcuts for almost all LDForge actions. Only exceptions are the controls for the viewport. Use the set button to set a key shortcut, clear to remove it and reset to restore the shortcut to its default value. + +Shortcut changes apply immediately after closing this window. + + + Shortcuts + + + + + + Qt::ScrollBarAsNeeded + + + + + + + + + Set + + + + + + + Reset + + + + :/icons/undo.png:/icons/undo.png + + + + + + + Clear + + + + :/icons/delete.png:/icons/delete.png + + + + + + + Qt::Vertical + + + + 20 + 40 + + + + + + + + + + + + + + Quick colors + + + + + + Here you can alter the layout of the quick colors toolbar. Use the controls to add, remove or edit the colors used. You can also add separators in between colors. + +Usually this contains MainColor, EdgeColor and some auxiliary colors used to group objects. + + + Quick colors + + + + + + Qt::ScrollBarAsNeeded + + + + + + + + + Add Color + + + + :/icons/palette.png:/icons/palette.png + + + + + + + Add Separator + + + + + + + Edit + + + + :/icons/mode-draw.png:/icons/mode-draw.png + + + + + + + Qt::Horizontal + + + + + + + Move Up + + + + :/icons/arrow-up.png:/icons/arrow-up.png + + + + + + + Move Down + + + + :/icons/arrow-down.png:/icons/arrow-down.png + + + + + + + Qt::Horizontal + + + + + + + Remove + + + + :/icons/delete.png:/icons/delete.png + + + + + + + Clear List + + + + :/icons/delete.png:/icons/delete.png + + + + + + + Qt::Vertical + + + + 20 + 40 + + + + + + + + + + + + + + Grids + + + + + + Grids + + + + + + + Qt::Vertical + + + + 20 + 40 + + + + + + + + + External Programs + + + + + + LDForge supports launching of several third-party utility tools; here you can set the file paths to these tools. Set the paths of the tools to the exe files. + +Under Linux, you can also set the programs to be launched with Wine, so you can use Windows binaries here as well. You will obviously need Wine installed. A 'wine' command in PATH is necessary for this to work. + + + External Programs + + + + + + + Qt::Vertical + + + + 20 + 40 + + + + + + + + + Downloading + + + + + + + + Download path: + + + + + + + + + + + + + + :/icons/folder.png:/icons/folder.png + + + + + + + + + <p>When this is set, LDForge tries to adjust and correct part paths based on the input. A full path given to the download prompt should be of form <tt>"&lt;dir&gt;/&lt;file&gt;.dat"</tt> - with this set, input can be automatically completed.</p> + +<p>Examples: +<ul> +<li>3002 -> parts/3002.dat</li> +<li>3002.da -> parts/3002.dat</li> +<li>3002s01 -> parts/s/3002s01.dat</li> +<li>4-4cyli -> p/4-4cyli.dat</li> +</ul></p> + + + Correct and guess part paths + + + + + + + If this is set, LDForge will close the download prompt after everything has been downloaded. The prompt will not be closed if a download has failed. + + + Close download prompt after completion + + + + + + + Qt::Vertical + + + + 20 + 40 + + + + + + + + + + + + Qt::Horizontal + + + QDialogButtonBox::Apply|QDialogButtonBox::Cancel|QDialogButtonBox::Ok + + + + + + + + + + diff -r 25747c37c7be -r 7d1b5ecd76c0 ui/coverer.ui --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ui/coverer.ui Sun Sep 22 23:27:07 2013 +0300 @@ -0,0 +1,157 @@ + + + CovererUI + + + + 0 + 0 + 310 + 220 + + + + + 310 + 220 + + + + + 10000 + 10000 + + + + Coverer + + + + + 40 + 180 + 261 + 32 + + + + Qt::Horizontal + + + QDialogButtonBox::Cancel|QDialogButtonBox::Ok + + + + + + 10 + 5 + 291 + 171 + + + + + + + Shape 1 + + + + + + + Shape 2 + + + + + + + + + + + + + Segment split length: + + + + + + + Bias: + + + + + + + 10000.000000000000000 + + + + + + + -100 + + + 100 + + + + + + + Reverse shape 2 + + + + + + + Old sweep method + + + + + + + + + + buttonBox + accepted() + CovererUI + accept() + + + 248 + 254 + + + 157 + 274 + + + + + buttonBox + rejected() + CovererUI + reject() + + + 316 + 260 + + + 286 + 274 + + + + + diff -r 25747c37c7be -r 7d1b5ecd76c0 ui/downloadfrom.ui --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ui/downloadfrom.ui Sun Sep 22 23:27:07 2013 +0300 @@ -0,0 +1,141 @@ + + + DownloadFrom + + + + 0 + 0 + 546 + 405 + + + + Download from LDraw.org + + + + + + + 11 + 75 + true + + + + Download from LDraw.org + + + Qt::AlignCenter + + + + + + + QFormLayout::ExpandingFieldsGrow + + + + + Source: + + + + + + + + 0 + 0 + + + + + Parts tracker + + + + + Custom URL + + + + + + + + File name: + + + + + + + + + + + + false + + + QAbstractItemView::NoEditTriggers + + + QAbstractItemView::NoSelection + + + false + + + + File + + + + 50 + false + + + + + + Status + + + + + + + + Qt::Horizontal + + + QDialogButtonBox::Abort|QDialogButtonBox::Close + + + + + + + + + buttonBox + rejected() + DownloadFrom + reject() + + + 322 + 312 + + + 286 + 274 + + + + + diff -r 25747c37c7be -r 7d1b5ecd76c0 ui/edger2.ui --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ui/edger2.ui Sun Sep 22 23:27:07 2013 +0300 @@ -0,0 +1,297 @@ + + + Edger2Dialog + + + + 0 + 0 + 357 + 257 + + + + Edger 2 + + + 1.000000000000000 + + + + + + + + + + Precision + + + + + + + + + + 4 + + + 0.001000000000000 + + + + + + + ° + + + 4 + + + 0.000000000000000 + + + 360.000000000000000 + + + 0.100000000000000 + + + 0.100000000000000 + + + + + + + Flat angle + + + + + + + Conditional line angle + + + + + + + ° + + + 4 + + + 360.000000000000000 + + + 0.100000000000000 + + + 60.000000000000000 + + + + + + + ° + + + 4 + + + 360.000000000000000 + + + 0.100000000000000 + + + 60.000000000000000 + + + + + + + Edge line angle + + + + + + + 1 + + + + Only + + + + + Normally + + + + + Never + + + + + + + + Create unmatched edges + + + + + + + + + + + + + Color-coded result + + + + + + + Delete existing lines + + + + + + + Delete existing cond. lines + + + + + + + + + + + File is BFCd + + + + + + + false + + + Convex cond. lines only + + + + + + + false + + + Concave cond. lines only + + + + + + + + + + + + + Qt::Horizontal + + + QDialogButtonBox::Cancel|QDialogButtonBox::Ok + + + + + + + + + buttonBox + accepted() + Edger2Dialog + accept() + + + 254 + 250 + + + 157 + 256 + + + + + buttonBox + rejected() + Edger2Dialog + reject() + + + 322 + 250 + + + 286 + 256 + + + + + bfc + clicked(bool) + convex + setEnabled(bool) + + + 249 + 157 + + + 248 + 185 + + + + + bfc + clicked(bool) + concave + setEnabled(bool) + + + 283 + 154 + + + 283 + 205 + + + + + diff -r 25747c37c7be -r 7d1b5ecd76c0 ui/editraw.ui --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ui/editraw.ui Sun Sep 22 23:27:07 2013 +0300 @@ -0,0 +1,116 @@ + + + EditRawUI + + + + 0 + 0 + 400 + 87 + + + + Edit LDraw Code + + + + + + LDraw code: + + + + + + + <html><head/><body><p>The LDraw code of this object. The code written here is expected to be valid LDraw code, invalid code here results the object being turned into an error object. Please do refer to the <a href="http://www.ldraw.org/article/218.html"><span style=" text-decoration: underline; color:#0057ae;">official file format standard</span></a> for further information.</p></body></html> + + + + + + + + + + 16 + 16 + + + + + + + :/icons/error.png + + + true + + + + + + + true + + + color: #900 + + + Error description + + + + + + + Qt::Horizontal + + + QDialogButtonBox::Cancel|QDialogButtonBox::Ok + + + + + + + + + + + + + buttonBox + accepted() + EditRawUI + accept() + + + 248 + 254 + + + 157 + 274 + + + + + buttonBox + rejected() + EditRawUI + reject() + + + 316 + 260 + + + 286 + 274 + + + + + diff -r 25747c37c7be -r 7d1b5ecd76c0 ui/extprogpath.ui --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ui/extprogpath.ui Sun Sep 22 23:27:07 2013 +0300 @@ -0,0 +1,85 @@ + + + ExtProgPath + + + + 0 + 0 + 444 + 89 + + + + Program path required + + + + + + Please input a path for <PROGRAM>: + + + + + + + + + + + + ... + + + + + + + + + Qt::Horizontal + + + QDialogButtonBox::Cancel|QDialogButtonBox::Ok + + + + + + + + + buttonBox + accepted() + ExtProgPath + accept() + + + 248 + 254 + + + 157 + 274 + + + + + buttonBox + rejected() + ExtProgPath + reject() + + + 316 + 260 + + + 286 + 274 + + + + + diff -r 25747c37c7be -r 7d1b5ecd76c0 ui/flip.ui --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ui/flip.ui Sun Sep 22 23:27:07 2013 +0300 @@ -0,0 +1,94 @@ + + + FlipUI + + + + 0 + 0 + 178 + 93 + + + + Flip + + + + + + Axes + + + + + + X + + + + + + + Y + + + + + + + Z + + + + + + + + + + Qt::Horizontal + + + QDialogButtonBox::Cancel|QDialogButtonBox::Ok + + + + + + + + + buttonBox + accepted() + FlipUI + accept() + + + 248 + 254 + + + 157 + 274 + + + + + buttonBox + rejected() + FlipUI + reject() + + + 316 + 260 + + + 286 + 274 + + + + + diff -r 25747c37c7be -r 7d1b5ecd76c0 ui/intersector.ui --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ui/intersector.ui Sun Sep 22 23:27:07 2013 +0300 @@ -0,0 +1,175 @@ + + + IntersectorUI + + + + 0 + 0 + 250 + 200 + + + + + 250 + 200 + + + + + 250 + 200 + + + + Intersector + + + + + 10 + 160 + 231 + 32 + + + + Qt::Horizontal + + + QDialogButtonBox::Cancel|QDialogButtonBox::Ok + + + + + + 10 + 10 + 233 + 143 + + + + + + + + + Cutter: + + + + + + + Input: + + + + + + + + + + + + + + + + + Colorize output + + + + + + + Repeat inverse + + + + + + + No condensing + + + + + + + Add edges + + + + + + + + + + + Prescaling factor + + + + + + + + + + 10000.000000000000000 + + + 0.010000000000000 + + + 1.000000000000000 + + + + + + + + + + + + buttonBox + accepted() + IntersectorUI + accept() + + + 248 + 254 + + + 157 + 274 + + + + + buttonBox + rejected() + IntersectorUI + reject() + + + 316 + 260 + + + 286 + 274 + + + + + diff -r 25747c37c7be -r 7d1b5ecd76c0 ui/isecalc.ui --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ui/isecalc.ui Sun Sep 22 23:27:07 2013 +0300 @@ -0,0 +1,112 @@ + + + IsecalcUI + + + + 0 + 0 + 240 + 120 + + + + + 240 + 120 + + + + + 10000 + 120 + + + + Isecalc + + + + + 30 + 80 + 201 + 32 + + + + Qt::Horizontal + + + QDialogButtonBox::Cancel|QDialogButtonBox::Ok + + + + + + 10 + 10 + 221 + 61 + + + + + + + + + + + + + Shape 1: + + + + + + + Shape 2: + + + + + + + + + + buttonBox + accepted() + IsecalcUI + accept() + + + 248 + 254 + + + 157 + 274 + + + + + buttonBox + rejected() + IsecalcUI + reject() + + + 316 + 260 + + + 286 + 274 + + + + + diff -r 25747c37c7be -r 7d1b5ecd76c0 ui/ldforge.ui --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ui/ldforge.ui Sun Sep 22 23:27:07 2013 +0300 @@ -0,0 +1,1286 @@ + + + LDForgeUI + + + + 0 + 0 + 900 + 600 + + + + + + + + :/icons/ldforge.png:/icons/ldforge.png + + + + + + + + + + 0 + 0 + + + + + + + + + 0 + 0 + + + + QFrame::StyledPanel + + + QFrame::Raised + + + + + + + + 0 + 0 + + + + QAbstractItemView::ExtendedSelection + + + + + + + + + + + 0 + 0 + 900 + 22 + + + + + File + + + + Open Recent... + + + + :/icons/open-recent.png:/icons/open-recent.png + + + + + + + + + + + + + + + + + + + + + + + + + + + View + + + + + + + + + + + + + + Insert + + + + + + + + + + + + + + + Edit + + + + + + + + + + + + + + + + + + + + + + + + + Tools + + + + + + + + + + + + + + + + + + + + + + + + + External Tools + + + + + + + + + + + Help + + + + + + + + + Move + + + + Grids + + + + + + + + Move Objects + + + + + + + + + + + Object List + + + + + + + Rotate + + + + + + + + + + + + + + + + + + + + + + + + + + + + toolBar + + + TopToolBarArea + + + false + + + + + + + + + + + + + toolBar_2 + + + TopToolBarArea + + + false + + + + + + + + + + + + + toolBar_3 + + + TopToolBarArea + + + false + + + + + + + + + + + toolBar_4 + + + TopToolBarArea + + + true + + + + + + + + toolBar_5 + + + TopToolBarArea + + + false + + + + + + + + toolBar_6 + + + TopToolBarArea + + + false + + + + + + + + toolBar_7 + + + TopToolBarArea + + + false + + + + + + + + + + + + + + + toolBar_8 + + + LeftToolBarArea + + + false + + + + + + + toolBar_9 + + + RightToolBarArea + + + false + + + + + + :/icons/brick.png:/icons/brick.png + + + New Part + + + Create a new part model. + + + Ctrl+N + + + + + + :/icons/file-open.png:/icons/file-open.png + + + Open + + + Load a part model from a file. + + + Ctrl+O + + + + + + :/icons/file-save.png:/icons/file-save.png + + + Save + + + Save the part model. + + + + + + + + + :/icons/file-save-as.png:/icons/file-save-as.png + + + Save As.. + + + Save the part model to a specific file. + + + + + + :/icons/file-import.png:/icons/file-import.png + + + Insert From.. + + + + + + :/icons/file-export.png:/icons/file-export.png + + + Export To.. + + + + + + :/icons/settings.png:/icons/settings.png + + + Settings + + + Edit the settings of LDForge. + + + + + + + + + :/icons/settings.png:/icons/settings.png + + + Set LDraw Path + + + Change the LDraw directory path. + + + + + + :/icons/radial.png:/icons/radial.png + + + Scan Primitives + + + Scan the primitives folder for primitive info. Use this if you add new primitives. + + + + + + :/icons/exit.png:/icons/exit.png + + + Exit + + + Ctrl+Q + + + + + Reset View + + + + + true + + + true + + + + :/icons/axes.png:/icons/axes.png + + + Draw Axes + + + + + true + + + + :/icons/wireframe.png:/icons/wireframe.png + + + Wireframe + + + + + true + + + + :/icons/bfc-view.png:/icons/bfc-view.png + + + BFC Red/Green View + + + + + + :/icons/overlay.png:/icons/overlay.png + + + Set Overlay Image + + + + + + :/icons/overlay-clear.png:/icons/overlay-clear.png + + + Clear Overlay Image + + + + + + :/icons/screencap.png:/icons/screencap.png + + + Screenshot + + + + + LDraw Code.. + + + + + + :/icons/add-line.png:/icons/add-line.png + + + New Line + + + + + + :/icons/add-subfile.png:/icons/add-subfile.png + + + New Subfile Reference + + + + + + :/icons/add-triangle.png:/icons/add-triangle.png + + + New Triangle + + + + + + :/icons/add-quad.png:/icons/add-quad.png + + + New Quadrilateral + + + + + + :/icons/add-condline.png:/icons/add-condline.png + + + New Conditional Line + + + + + + :/icons/add-comment.png:/icons/add-comment.png + + + New Comment + + + + + + :/icons/add-bfc.png:/icons/add-bfc.png + + + New BFC Statement + + + + + + :/icons/add-vertex.png:/icons/add-vertex.png + + + New Vertex + + + + + + :/icons/undo.png:/icons/undo.png + + + Undo + + + Undo a step. + + + + + + :/icons/redo.png:/icons/redo.png + + + Redo + + + Redo a step. + + + + + + :/icons/cut.png:/icons/cut.png + + + Cut + + + Cut the current selection to clipboard. + + + + + + :/icons/copy.png:/icons/copy.png + + + Copy + + + Copy the current selection to clipboard. + + + + + + + + + :/icons/paste.png:/icons/paste.png + + + Paste + + + Paste clipboard contents. + + + + + + :/icons/delete.png:/icons/delete.png + + + Delete + + + Delete the selection + + + + + + :/icons/select-all.png:/icons/select-all.png + + + Select All + + + + + + :/icons/select-color.png:/icons/select-color.png + + + Select by Color + + + + + + :/icons/select-type.png:/icons/select-type.png + + + Select by Type + + + + + true + + + true + + + + :/icons/mode-select.png:/icons/mode-select.png + + + Select Mode + + + + + true + + + + :/icons/mode-draw.png:/icons/mode-draw.png + + + Draw Mode + + + + + Set Draw Depth + + + + + + :/icons/palette.png:/icons/palette.png + + + Set Color + + + Set the color on given objects. + + + + + + :/icons/autocolor.png:/icons/autocolor.png + + + Auto-color + + + Set the color of the given object to the first found unused color. + + + + + + :/icons/uncolorize.png:/icons/uncolorize.png + + + Uncolorize + + + Reduce colors of everything selected to main and edge colors + + + + + + :/icons/inline.png:/icons/inline.png + + + Inline + + + Inline selected subfiles. + + + + + + :/icons/inline-deep.png:/icons/inline-deep.png + + + Deep Inline + + + Recursively inline selected subfiles down to polygons only. + + + + + + :/icons/invert.png:/icons/invert.png + + + Invert + + + + + + :/icons/radial.png:/icons/radial.png + + + Generate Primitive + + + + + + :/icons/quad-split.png:/icons/quad-split.png + + + Split Quads + + + Split quads into triangles. + + + + + + :/icons/set-contents.png:/icons/set-contents.png + + + Edit LDraw Code + + + Edit the LDraw code of this object. + + + + + + :/icons/make-borders.png:/icons/make-borders.png + + + Make Borders + + + Add borders around given polygons. + + + + + + :/icons/corner-verts.png:/icons/corner-verts.png + + + Make Corner Vertices + + + Adds vertex objects to the corners of the given polygons + + + + + + :/icons/round-coords.png:/icons/round-coords.png + + + Round Coordinates + + + Round coordinates down to 3/4 decimals + + + + + + :/icons/visibility.png:/icons/visibility.png + + + Toggle Visibility + + + Toggles visibility/hiding on objects. + + + + + + :/icons/replace-coords.png:/icons/replace-coords.png + + + Replace Coordinates + + + Find and replace coordinate values. + + + + + + :/icons/flip.png:/icons/flip.png + + + Flip + + + Flip coordinates. + + + + + Demote Conditional Lines + + + Demote conditional lines down to normal lines. + + + + + + :/icons/ytruder.png:/icons/ytruder.png + + + Ytruder + + + Extrude selected lines to a given plane + + + + + + :/icons/rectifier.png:/icons/rectifier.png + + + Rectifier + + + Optimizes quads into rect primitives. + + + + + + :/icons/intersector.png:/icons/intersector.png + + + Intersector + + + Perform clipping between two input groups. + + + + + + :/icons/isecalc.png:/icons/isecalc.png + + + Isecalc + + + Compute intersection edgelines between two input groups. + + + + + + :/icons/coverer.png:/icons/coverer.png + + + Coverer + + + Fill the space between two line shapes + + + + + Edger 2 + + + + + false + + + + :/icons/help.png:/icons/help.png + + + Help + + + + + + :/icons/ldforge.png:/icons/ldforge.png + + + About LDForge + + + + + About Qt + + + + + true + + + + :/icons/grid-coarse.png:/icons/grid-coarse.png + + + Coarse Grid + + + + + true + + + true + + + + :/icons/grid-medium.png:/icons/grid-medium.png + + + Medium Grid + + + + + true + + + + :/icons/grid-fine.png:/icons/grid-fine.png + + + Fine Grid + + + + + Edit Selected Object + + + + + + :/icons/arrow-up.png:/icons/arrow-up.png + + + Move Up + + + + + + :/icons/arrow-down.png:/icons/arrow-down.png + + + Move Down + + + + + + :/icons/move-x-neg.png:/icons/move-x-neg.png + + + Move -X + + + + + + :/icons/move-x-pos.png:/icons/move-x-pos.png + + + Move +X + + + + + + :/icons/move-y-neg.png:/icons/move-y-neg.png + + + Move -Y + + + + + + :/icons/move-y-pos.png:/icons/move-y-pos.png + + + Move +Y + + + + + + :/icons/move-z-neg.png:/icons/move-z-neg.png + + + Move -Z + + + + + + :/icons/move-z-pos.png:/icons/move-z-pos.png + + + Move +Z + + + + + Rotate -X + + + + + Rotate +X + + + + + Rotate -Y + + + + + Rotate +Y + + + + + Rotate -Z + + + + + Rotate +Z + + + + + Set Rotation Point + + + + + Save All + + + + + Close + + + + + Close All + + + + + + :/icons/file-new.png:/icons/file-new.png + + + New File + + + + + Download From... + + + + + Add History Line + + + + + Go to Line... + + + + + + + + diff -r 25747c37c7be -r 7d1b5ecd76c0 ui/ldrawpath.ui --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ui/ldrawpath.ui Sun Sep 22 23:27:07 2013 +0300 @@ -0,0 +1,88 @@ + + + LDPathUI + + + + 0 + 0 + 344 + 123 + + + + Set LDraw Path + + + + + + Please input your LDraw directory root to proceed: + + + + + + + + + LDraw Path: + + + + + + + + + + + + + + :/icons/folder.png:/icons/folder.png + + + + + + + + + font-weight: bold + + + [[ Information ]] + + + + + + + Qt::Vertical + + + + 20 + 40 + + + + + + + + Qt::Horizontal + + + QDialogButtonBox::Cancel|QDialogButtonBox::Ok + + + + + + + + + + diff -r 25747c37c7be -r 7d1b5ecd76c0 ui/makeprim.ui --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ui/makeprim.ui Sun Sep 22 23:27:07 2013 +0300 @@ -0,0 +1,309 @@ + + + MakePrimUI + + + + 0 + 0 + 336 + 147 + + + + Generate a Primitive + + + + + + + + + + + 0 + 0 + + + + Type + + + + + + Circle + + + true + + + false + + + + + + + Cylinder + + + + + + + Disc + + + + + + + Disc Negative + + + + + + + Ring + + + + + + + Cone + + + + + + + + + + + + + + Qt::Vertical + + + + 20 + 40 + + + + + + + + Hi-res + + + + + + + + + Segments: + + + + + + + Ring number: + + + + + + + 1 + + + 16 + + + 16 + + + + + + + false + + + + + + + + + Qt::Vertical + + + + 20 + 40 + + + + + + + + + + + + Qt::Horizontal + + + QDialogButtonBox::Cancel|QDialogButtonBox::Ok + + + + + + + + + buttonBox + accepted() + MakePrimUI + accept() + + + 254 + 140 + + + 157 + 146 + + + + + buttonBox + rejected() + MakePrimUI + reject() + + + 322 + 140 + + + 286 + 146 + + + + + rb_circle + clicked(bool) + sb_ringnum + setDisabled(bool) + + + 45 + 41 + + + 305 + 86 + + + + + rb_cylinder + clicked(bool) + sb_ringnum + setDisabled(bool) + + + 109 + 42 + + + 287 + 86 + + + + + rb_disc + clicked(bool) + sb_ringnum + setDisabled(bool) + + + 49 + 66 + + + 287 + 87 + + + + + rb_ndisc + clicked(bool) + sb_ringnum + setDisabled(bool) + + + 121 + 58 + + + 288 + 83 + + + + + rb_ring + clicked(bool) + sb_ringnum + setEnabled(bool) + + + 45 + 90 + + + 301 + 86 + + + + + rb_cone + clicked(bool) + sb_ringnum + setEnabled(bool) + + + 111 + 89 + + + 302 + 85 + + + + + + enableRingNumber() + + diff -r 25747c37c7be -r 7d1b5ecd76c0 ui/newpart.ui --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ui/newpart.ui Sun Sep 22 23:27:07 2013 +0300 @@ -0,0 +1,191 @@ + + + NewPartUI + + + + 0 + 0 + 491 + 203 + + + + New Part + + + + + + + + + + + + + :/icons/brick.png + + + + + + + Qt::Vertical + + + + 20 + 40 + + + + + + + + + + + + Title: + + + + + + + Author: + + + + + + + + + + + + + + + + + + + License + + + + + + CCAL Redistributable + + + true + + + + + + + Non-redistributable + + + + + + + None + + + + + + + + + + BFC winding + + + + + + CCW + + + true + + + + + + + CW + + + + + + + None + + + + + + + + + + + + Qt::Horizontal + + + QDialogButtonBox::Cancel|QDialogButtonBox::Ok + + + + + + + + + + + buttonBox + accepted() + NewPartUI + accept() + + + 248 + 254 + + + 157 + 274 + + + + + buttonBox + rejected() + NewPartUI + reject() + + + 316 + 260 + + + 286 + 274 + + + + + diff -r 25747c37c7be -r 7d1b5ecd76c0 ui/openprogress.ui --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ui/openprogress.ui Sun Sep 22 23:27:07 2013 +0300 @@ -0,0 +1,78 @@ + + + OpenProgressUI + + + + 0 + 0 + 400 + 89 + + + + Opening + + + + + + [[ Progress text ]] + + + + + + + 24 + + + + + + + Qt::Horizontal + + + QDialogButtonBox::Cancel + + + + + + + + + buttonBox + accepted() + OpenProgressUI + accept() + + + 248 + 254 + + + 157 + 274 + + + + + buttonBox + rejected() + OpenProgressUI + reject() + + + 316 + 260 + + + 286 + 274 + + + + + diff -r 25747c37c7be -r 7d1b5ecd76c0 ui/overlay.ui --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ui/overlay.ui Sun Sep 22 23:27:07 2013 +0300 @@ -0,0 +1,278 @@ + + + OverlayUI + + + + 0 + 0 + 276 + 244 + + + + Set Overlay + + + + :/icons/overlay.png:/icons/overlay.png + + + + + + Camera + + + + + + Top + + + + :/icons/camera-top.png:/icons/camera-top.png + + + + + + + Front + + + + :/icons/camera-front.png:/icons/camera-front.png + + + + + + + Left + + + + :/icons/camera-left.png:/icons/camera-left.png + + + + + + + Bottom + + + + :/icons/camera-bottom.png:/icons/camera-bottom.png + + + + + + + Back + + + + :/icons/camera-back.png:/icons/camera-back.png + + + + + + + Right + + + + :/icons/camera-right.png:/icons/camera-right.png + + + + + + + + + + Image + + + + + + QFormLayout::ExpandingFieldsGrow + + + + + File: + + + + + + + + + + + + + + + + :/icons/file-open.png:/icons/file-open.png + + + + + + + + + Origin: + + + + + + + + + + 80 + 0 + + + + px + + + + + + 10000 + + + + + + + + 80 + 0 + + + + px + + + 10000 + + + + + + + + + Dimensions: + + + + + + + + + + 80 + 0 + + + + LDU + + + 10000.000000000000000 + + + + + + + + 80 + 0 + + + + LDU + + + 0.000000000000000 + + + 10000.000000000000000 + + + + + + + + + + + + + + Qt::Horizontal + + + QDialogButtonBox::Cancel|QDialogButtonBox::Help|QDialogButtonBox::Ok + + + + + + + + + + + buttonBox + accepted() + OverlayUI + accept() + + + 248 + 254 + + + 157 + 274 + + + + + buttonBox + rejected() + OverlayUI + reject() + + + 316 + 260 + + + 286 + 274 + + + + + diff -r 25747c37c7be -r 7d1b5ecd76c0 ui/rectifier.ui --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ui/rectifier.ui Sun Sep 22 23:27:07 2013 +0300 @@ -0,0 +1,150 @@ + + + RectifierUI + + + + 0 + 0 + 300 + 175 + + + + + 300 + 175 + + + + Rectifier + + + false + + + false + + + + + 10 + 140 + 281 + 32 + + + + Qt::Horizontal + + + QDialogButtonBox::Cancel|QDialogButtonBox::Ok + + + + + + 0 + 0 + 301 + 131 + + + + + + + Condense triangles to quads + + + true + + + + + + + Substitute with rect primitives + + + true + + + + + + + Don't replace quads that have adj. cond. lines + + + + + + + Colorize result + + + + + + + + + Coplanarity threshold + + + + + + + 3 + + + 360.000000000000000 + + + 0.100000000000000 + + + + + + + + + + + + buttonBox + accepted() + RectifierUI + accept() + + + 248 + 254 + + + 157 + 274 + + + + + buttonBox + rejected() + RectifierUI + reject() + + + 316 + 260 + + + 286 + 274 + + + + + diff -r 25747c37c7be -r 7d1b5ecd76c0 ui/replcoords.ui --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ui/replcoords.ui Sun Sep 22 23:27:07 2013 +0300 @@ -0,0 +1,196 @@ + + + ReplaceCoordsUI + + + + 0 + 0 + 239 + 153 + + + + Replace Coordinates + + + + + + Axes + + + + + + Replace X coordinates. + + + X + + + + + + + Replace Y coordinates. + + + Y + + + + + + + Replace Z coordinates. + + + Z + + + + + + + + + + QFormLayout::ExpandingFieldsGrow + + + + + Search: + + + + + + + + + 4 + + + -10000.000000000000000 + + + 10000.000000000000000 + + + + + + + If this is checked, all of the coordinates of selected objects will be changed. If not, they have to match the search value. + +Use this with the Relative option to offset objects, or without to project or flatten. + + + Any + + + + + + + + + Replace: + + + + + + + + + 4 + + + -10000.000000000000000 + + + 10000.000000000000000 + + + + + + + If this is set, the replace value is added to the coordinates, rather than replaced with. + + + Relative + + + + + + + + + + + Qt::Horizontal + + + QDialogButtonBox::Cancel|QDialogButtonBox::Ok + + + + + + + + + buttonBox + accepted() + ReplaceCoordsUI + accept() + + + 224 + 128 + + + 157 + 144 + + + + + buttonBox + rejected() + ReplaceCoordsUI + reject() + + + 246 + 134 + + + 252 + 144 + + + + + any + clicked(bool) + search + setDisabled(bool) + + + 207 + 13 + + + 125 + 12 + + + + + diff -r 25747c37c7be -r 7d1b5ecd76c0 ui/rotpoint.ui --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ui/rotpoint.ui Sun Sep 22 23:27:07 2013 +0300 @@ -0,0 +1,214 @@ + + + RotPointUI + + + + 0 + 0 + 178 + 267 + + + + Set Rotation Point + + + + + + Rotation Point + + + + + + Object origin + + + + + + + World origin (0, 0, 0) + + + + + + + Custom + + + + + + + + + + false + + + Custom Point + + + + + + 4 + + + -10000.000000000000000 + + + 10000.000000000000000 + + + + + + + 4 + + + -10000.000000000000000 + + + 10000.000000000000000 + + + + + + + X: + + + + + + + 4 + + + -10000.000000000000000 + + + 10000.000000000000000 + + + + + + + Y: + + + + + + + Z: + + + + + + + + + + Qt::Horizontal + + + QDialogButtonBox::Cancel|QDialogButtonBox::Ok + + + + + + + + + buttonBox + accepted() + RotPointUI + accept() + + + 171 + 250 + + + 157 + 266 + + + + + buttonBox + rejected() + RotPointUI + reject() + + + 171 + 256 + + + 177 + 266 + + + + + customPoint + clicked(bool) + groupBox + setEnabled(bool) + + + 46 + 85 + + + 136 + 131 + + + + + worldPoint + clicked(bool) + groupBox + setDisabled(bool) + + + 72 + 66 + + + 90 + 127 + + + + + objectPoint + clicked(bool) + groupBox + setDisabled(bool) + + + 36 + 45 + + + 23 + 129 + + + + + diff -r 25747c37c7be -r 7d1b5ecd76c0 ui/ytruder.ui --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ui/ytruder.ui Sun Sep 22 23:27:07 2013 +0300 @@ -0,0 +1,204 @@ + + + YtruderUI + + + + 0 + 0 + 340 + 170 + + + + Ytruder + + + + + + + + Extrusion Mode + + + + + + Distance + + + true + + + + + + + Symmetry + + + + + + + Projection + + + + + + + Radial + + + + + + + + + + + + Axis + + + + + + X + + + + + + + Y + + + true + + + + + + + Z + + + + + + + + + + + + Plane depth: + + + + + + + Line threshold angle: + + + + + + + + 85 + 0 + + + + 3 + + + -10000.000000000000000 + + + 10000.000000000000000 + + + + + + + + 85 + 0 + + + + ° + + + 3 + + + 360.000000000000000 + + + 30.000000000000000 + + + + + + + + + + + + + Qt::Horizontal + + + QDialogButtonBox::Cancel|QDialogButtonBox::Ok + + + + + + + + + buttonBox + accepted() + YtruderUI + accept() + + + 248 + 254 + + + 157 + 274 + + + + + buttonBox + rejected() + YtruderUI + reject() + + + 316 + 260 + + + 286 + 274 + + + + +