![]() |
LibrePCB Developers Documentation
|
Namespaces | |
namespace | Ui |
Enumerations | |
enum class | EditableListModelType |
Functions | |
static std::shared_ptr< QGraphicsPathItem > | createCrossGraphicsItem (bool cursor) |
static std::shared_ptr< QGraphicsLineItem > | createRefLineGraphicsItem () |
static std::shared_ptr< QWidget > | createReferenceWidget (int index, QWidget *parent, QList< std::pair< QPointF, Point > > *refs, std::function< void()> cb) |
static QIcon | loadIcon (const QString &fp) noexcept |
std::size_t | qHash (const EditorWidgetBase::Feature &feature, std::size_t seed=0) noexcept |
template<typename TCpy , typename TSel > | |
static bool | hasSelectedObjects (const TCpy &copied, const TSel &selected) noexcept |
static bool | fuzzyCompare (const Point &exact, const Point &imported) |
static bool | fuzzyCompare (const Angle &a, const Angle &b) |
static CmdBoardSpecctraImport::Side | parseSide (const SExpression &node) |
static Length | parseLength (const SExpression &node, double resolution) |
static Angle | parseAngle (const SExpression &node) |
static double | getResolution (const SExpression &node, QString &logStr) |
uint | qHash (const PartInformationProvider::Part &key, uint seed=0) noexcept |
slint::LogicalPosition | q2s (const QPointF &p) noexcept |
QPointF | s2q (const slint::LogicalPosition &p) noexcept |
slint::PhysicalPosition | q2s (const QPoint &p) noexcept |
QPoint | s2q (const slint::PhysicalPosition &p) noexcept |
slint::PhysicalSize | q2s (const QSize &s) noexcept |
QSize | s2q (const slint::PhysicalSize &s) noexcept |
slint::SharedString | q2s (const QString &s) noexcept |
QString | s2q (const slint::SharedString &s) noexcept |
bool | operator== (const QString &s1, const slint::SharedString &s2) noexcept |
bool | operator!= (const QString &s1, const slint::SharedString &s2) noexcept |
bool | operator== (const slint::SharedString &s1, const QString &s2) noexcept |
bool | operator!= (const slint::SharedString &s1, const QString &s2) noexcept |
slint::Image | q2s (const QPixmap &p) noexcept |
slint::Color | q2s (const QColor &c) noexcept |
slint::private_api::MouseCursor | q2s (Qt::CursorShape s) noexcept |
Qt::MouseButton | s2q (const slint::private_api::PointerEventButton &b) noexcept |
slint::private_api::KeyboardModifiers | q2s (Qt::KeyboardModifiers m) noexcept |
Qt::KeyboardModifiers | s2q (const slint::private_api::KeyboardModifiers &m) noexcept |
slint::SharedString | q2s (Qt::Key k) noexcept |
static slint::SharedString | getInputError (const QString &input) |
std::optional< ElementName > | validateElementName (const QString &input, slint::SharedString &error) noexcept |
std::optional< Version > | validateVersion (const QString &input, slint::SharedString &error) noexcept |
std::optional< FileProofName > | validateFileProofName (const QString &input, slint::SharedString &error, const QString &requiredSuffix) noexcept |
std::optional< QUrl > | validateUrl (const QString &input, slint::SharedString &error, bool allowEmpty) noexcept |
template<typename TTarget , typename TClass , typename T > | |
void | bind (QObject *context, const TTarget &target, void(TTarget::*setter)(const T &) const, TClass *source, void(TClass::*signal)(T), const T &defaultValue) noexcept |
template<typename TTarget , typename TSlint , typename TClass , typename TQt > | |
void | bind (QObject *context, const TTarget &target, void(TTarget::*setter)(const TSlint &) const, TClass *source, void(TClass::*signal)(TQt), const TQt &defaultValue, std::function< TSlint(const TQt &)> convert=[](const TQt &value) { return q2s(value);}) noexcept |
ui::EditorCommand | l2s (const EditorCommand &cmd, ui::EditorCommand in) noexcept |
static void | addToWatchedDirs (const FilePath &fp, QSet< FilePath > &out, int limit=10) noexcept |
Variables | |
static QtMetaTypeRegistration< CheckableItemsEditorWidget::ItemList > | sMetaType |
using CmdAttributeInsert = CmdListElementInsert<Attribute, AttributeListNameProvider, Attribute::Event> |
using CmdAttributeRemove = CmdListElementRemove<Attribute, AttributeListNameProvider, Attribute::Event> |
using CmdAttributesSwap = CmdListElementsSwap<Attribute, AttributeListNameProvider, Attribute::Event> |
using CmdStrokeTextInsert = CmdListElementInsert<StrokeText, StrokeTextListNameProvider, StrokeText::Event> |
using CmdStrokeTextRemove = CmdListElementRemove<StrokeText, StrokeTextListNameProvider, StrokeText::Event> |
using CmdStrokeTextsSwap = CmdListElementsSwap<StrokeText, StrokeTextListNameProvider, StrokeText::Event> |
using CmdComponentSignalInsert = CmdListElementInsert<ComponentSignal, ComponentSignalListNameProvider, ComponentSignal::Event> |
using CmdComponentSignalRemove = CmdListElementRemove<ComponentSignal, ComponentSignalListNameProvider, ComponentSignal::Event> |
using CmdComponentSignalsSwap = CmdListElementsSwap<ComponentSignal, ComponentSignalListNameProvider, ComponentSignal::Event> |
using CmdComponentSymbolVariantInsert = CmdListElementInsert<ComponentSymbolVariant, ComponentSymbolVariantListNameProvider, ComponentSymbolVariant::Event> |
using CmdComponentSymbolVariantRemove = CmdListElementRemove<ComponentSymbolVariant, ComponentSymbolVariantListNameProvider, ComponentSymbolVariant::Event> |
using CmdComponentSymbolVariantsSwap = CmdListElementsSwap<ComponentSymbolVariant, ComponentSymbolVariantListNameProvider, ComponentSymbolVariant::Event> |
using CmdComponentSymbolVariantItemInsert = CmdListElementInsert<ComponentSymbolVariantItem, ComponentSymbolVariantItemListNameProvider, ComponentSymbolVariantItem::Event> |
using CmdComponentSymbolVariantItemRemove = CmdListElementRemove<ComponentSymbolVariantItem, ComponentSymbolVariantItemListNameProvider, ComponentSymbolVariantItem::Event> |
using CmdComponentSymbolVariantItemsSwap = CmdListElementsSwap<ComponentSymbolVariantItem, ComponentSymbolVariantItemListNameProvider, ComponentSymbolVariantItem::Event> |
using CmdDevicePadSignalMapItemInsert = CmdListElementInsert<DevicePadSignalMapItem, DevicePadSignalMapNameProvider, DevicePadSignalMapItem::Event> |
using CmdDevicePadSignalMapItemRemove = CmdListElementRemove<DevicePadSignalMapItem, DevicePadSignalMapNameProvider, DevicePadSignalMapItem::Event> |
using CmdDevicePadSignalMapItemsSwap = CmdListElementsSwap<DevicePadSignalMapItem, DevicePadSignalMapNameProvider, DevicePadSignalMapItem::Event> |
using CmdFootprintInsert = CmdListElementInsert<Footprint, FootprintListNameProvider, Footprint::Event> |
using CmdFootprintRemove = CmdListElementRemove<Footprint, FootprintListNameProvider, Footprint::Event> |
using CmdFootprintsSwap = CmdListElementsSwap<Footprint, FootprintListNameProvider, Footprint::Event> |
using CmdFootprintPadInsert = CmdListElementInsert<FootprintPad, FootprintPadListNameProvider, FootprintPad::Event> |
using CmdFootprintPadRemove = CmdListElementRemove<FootprintPad, FootprintPadListNameProvider, FootprintPad::Event> |
using CmdFootprintPadsSwap = CmdListElementsSwap<FootprintPad, FootprintPadListNameProvider, FootprintPad::Event> |
using CmdPackageModelsSwap = CmdListElementsSwap<PackageModel, PackageModelListNameProvider, PackageModel::Event> |
using CmdPackagePadInsert = CmdListElementInsert<PackagePad, PackagePadListNameProvider, PackagePad::Event> |
using CmdPackagePadRemove = CmdListElementRemove<PackagePad, PackagePadListNameProvider, PackagePad::Event> |
using CmdPackagePadsSwap = CmdListElementsSwap<PackagePad, PackagePadListNameProvider, PackagePad::Event> |
using CmdSymbolPinInsert = CmdListElementInsert<SymbolPin, SymbolPinListNameProvider, SymbolPin::Event> |
using CmdSymbolPinRemove = CmdListElementRemove<SymbolPin, SymbolPinListNameProvider, SymbolPin::Event> |
using CmdSymbolPinsSwap = CmdListElementsSwap<SymbolPin, SymbolPinListNameProvider, SymbolPin::Event> |
using CmdAssemblyVariantsSwap = CmdListElementsSwap<AssemblyVariant, AssemblyVariantListNameProvider, AssemblyVariant::Event> |
|
strong |
|
static |
|
static |
|
static |
|
staticnoexcept |
|
inlinenoexcept |
|
staticnoexcept |
|
static |
|
static |
|
static |
|
static |
|
inlinenoexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
static |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
noexcept |
|
staticnoexcept |
|
static |