mirror of
https://github.com/leozide/leocad
synced 2024-11-16 07:47:27 +01:00
Cleanup.
This commit is contained in:
parent
0282a88c87
commit
2718a4253c
8 changed files with 38 additions and 47 deletions
|
@ -1,38 +0,0 @@
|
|||
#pragma once
|
||||
|
||||
#include "lc_math.h"
|
||||
#include "lc_array.h"
|
||||
#include "lc_application.h"
|
||||
#include "lc_category.h"
|
||||
#include "lc_shortcuts.h"
|
||||
#include "image.h"
|
||||
|
||||
struct lcPreferencesDialogOptions
|
||||
{
|
||||
lcPreferences Preferences;
|
||||
|
||||
QString LibraryPath;
|
||||
QString ColorConfigPath;
|
||||
QString MinifigSettingsPath;
|
||||
QString POVRayPath;
|
||||
QString LGEOPath;
|
||||
QString DefaultAuthor;
|
||||
QString Language;
|
||||
int CheckForUpdates;
|
||||
|
||||
int AASamples;
|
||||
int StudLogo;
|
||||
|
||||
std::vector<lcLibraryCategory> Categories;
|
||||
bool CategoriesModified;
|
||||
bool CategoriesDefault;
|
||||
|
||||
lcKeyboardShortcuts KeyboardShortcuts;
|
||||
bool KeyboardShortcutsModified;
|
||||
bool KeyboardShortcutsDefault;
|
||||
|
||||
lcMouseShortcuts MouseShortcuts;
|
||||
bool MouseShortcutsModified;
|
||||
bool MouseShortcutsDefault;
|
||||
};
|
||||
|
|
@ -1,6 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include "lc_basewindow.h"
|
||||
#include "lc_application.h"
|
||||
#include "lc_shortcuts.h"
|
||||
#include "lc_array.h"
|
||||
#include "lc_commands.h"
|
||||
#include "lc_model.h"
|
||||
|
|
|
@ -12,8 +12,9 @@
|
|||
#include "lc_glextensions.h"
|
||||
#include "lc_viewwidget.h"
|
||||
#include "lc_previewwidget.h"
|
||||
#include "lc_category.h"
|
||||
|
||||
Q_DECLARE_METATYPE(QList<int>)
|
||||
Q_DECLARE_METATYPE(QList<int>)
|
||||
|
||||
void lcPartSelectionItemDelegate::paint(QPainter* Painter, const QStyleOptionViewItem& Option, const QModelIndex& Index) const
|
||||
{
|
||||
|
|
|
@ -244,7 +244,6 @@ HEADERS += \
|
|||
common/light.h \
|
||||
common/lc_application.h \
|
||||
common/lc_array.h \
|
||||
common/lc_basewindow.h \
|
||||
common/lc_category.h \
|
||||
common/lc_colors.h \
|
||||
common/lc_commands.h \
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
#include "lc_model.h"
|
||||
#include "piece.h"
|
||||
#include "group.h"
|
||||
#include "lc_basewindow.h"
|
||||
|
||||
lcQEditGroupsDialog::lcQEditGroupsDialog(QWidget* Parent, const QMap<lcPiece*, lcGroup*>& PieceParents, const QMap<lcGroup*, lcGroup*>& GroupParents, lcModel* Model)
|
||||
: QDialog(Parent), mPieceParents(PieceParents), mGroupParents(GroupParents)
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
#include "ui_lc_qpreferencesdialog.h"
|
||||
#include "lc_qutils.h"
|
||||
#include "lc_qcategorydialog.h"
|
||||
#include "lc_basewindow.h"
|
||||
#include "lc_library.h"
|
||||
#include "lc_application.h"
|
||||
#include "lc_qutils.h"
|
||||
|
|
|
@ -1,9 +1,40 @@
|
|||
#pragma once
|
||||
|
||||
#include <QDialog>
|
||||
struct lcPreferencesDialogOptions;
|
||||
#include "lc_application.h"
|
||||
#include "lc_shortcuts.h"
|
||||
#include "lc_category.h"
|
||||
|
||||
namespace Ui {
|
||||
struct lcPreferencesDialogOptions
|
||||
{
|
||||
lcPreferences Preferences;
|
||||
|
||||
QString LibraryPath;
|
||||
QString ColorConfigPath;
|
||||
QString MinifigSettingsPath;
|
||||
QString POVRayPath;
|
||||
QString LGEOPath;
|
||||
QString DefaultAuthor;
|
||||
QString Language;
|
||||
int CheckForUpdates;
|
||||
|
||||
int AASamples;
|
||||
int StudLogo;
|
||||
|
||||
std::vector<lcLibraryCategory> Categories;
|
||||
bool CategoriesModified;
|
||||
bool CategoriesDefault;
|
||||
|
||||
lcKeyboardShortcuts KeyboardShortcuts;
|
||||
bool KeyboardShortcutsModified;
|
||||
bool KeyboardShortcutsDefault;
|
||||
|
||||
lcMouseShortcuts MouseShortcuts;
|
||||
bool MouseShortcutsModified;
|
||||
bool MouseShortcutsDefault;
|
||||
};
|
||||
|
||||
namespace Ui
|
||||
{
|
||||
class lcQPreferencesDialog;
|
||||
}
|
||||
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
#include "lc_qpropertiesdialog.h"
|
||||
#include "ui_lc_qpropertiesdialog.h"
|
||||
#include "lc_qutils.h"
|
||||
#include "lc_basewindow.h"
|
||||
#include "lc_colors.h"
|
||||
#include "lc_application.h"
|
||||
#include "pieceinf.h"
|
||||
|
|
Loading…
Reference in a new issue