![]() |
LibrePCB Developers Documentation
|
Namespaces | |
| namespace | Ui |
Enumerations | |
| enum class | EditableListModelType |
Functions | |
| static qreal | calcAspectRatio (qreal width, qreal height) noexcept |
| static slint::Image | createBackground (const QSize &size) noexcept |
| 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 |
| static QRectF | validateSceneRect (const QRectF &r) 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 std::optional< QSize > | getOverrideWindowSize () noexcept |
| static bool | askForRestoringBackup (const FilePath &) |
| static LocalizedNameMap | copyLibraryElementNames (const LocalizedNameMap &names) |
| static ui::WireMode | l2s (BoardEditorState_DrawTrace::WireMode v) noexcept |
| static BoardEditorState_DrawTrace::WireMode | s2l (ui::WireMode v) 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 |
| static ui::WireMode | l2s (SchematicEditorState_DrawWire::WireMode v) noexcept |
| static SchematicEditorState_DrawWire::WireMode | s2l (ui::WireMode v) 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 |
| std::shared_ptr< slint::VectorModel< slint::SharedString > > | q2s (const QStringList &s) noexcept |
| QStringList | s2q (const slint::Model< 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 |
| qint64 | s2l (const ui::Int64 &v) noexcept |
| ui::Int64 | l2s (const Length &v) noexcept |
| Length | s2length (const ui::Int64 &v) noexcept |
| std::optional< UnsignedLength > | s2ulength (const ui::Int64 &v) noexcept |
| std::optional< PositiveLength > | s2plength (const ui::Int64 &v) noexcept |
| int | l2s (const Angle &v) noexcept |
| Angle | s2angle (int v) noexcept |
| ui::GridStyle | l2s (Theme::GridStyle v) noexcept |
| Theme::GridStyle | s2l (ui::GridStyle v) noexcept |
| ui::LengthUnit | l2s (const LengthUnit &v) noexcept |
| LengthUnit | s2l (ui::LengthUnit v) noexcept |
| slint::cbindgen_private::TextHorizontalAlignment | l2s (const HAlign &v) noexcept |
| HAlign | s2l (slint::cbindgen_private::TextHorizontalAlignment v) noexcept |
| slint::cbindgen_private::TextVerticalAlignment | l2s (const VAlign &v) noexcept |
| VAlign | s2l (slint::cbindgen_private::TextVerticalAlignment v) noexcept |
| ui::NotificationType | l2s (RuleCheckMessage::Severity v) noexcept |
| ui::EditorCommand | l2s (const EditorCommand &cmd, ui::EditorCommand in) noexcept |
| ui::FeatureState | toFs (bool enabled) noexcept |
| static void | addToWatchedDirs (const FilePath &fp, QSet< FilePath > &out, int limit=10) noexcept |
Variables | |
| static const qreal | sScrollFactor = 0.07 |
| 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 |
|
staticnoexcept |
Here is the caller graph for this function:
|
staticnoexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Here is the caller graph for this function:
|
static |
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
|
staticnoexcept |
Here is the call graph for this function:
|
staticnoexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
staticnoexcept |
Here is the caller graph for this function:
|
staticnoexcept |
Here is the caller graph for this function:
|
static |
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
|
staticnoexcept |
Here is the caller graph for this function:
|
staticnoexcept |
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinenoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
noexcept |
Here is the caller graph for this function:
|
noexcept |
Here is the caller graph for this function:
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
Here is the call graph for this function:
|
noexcept |
Here is the call graph for this function:
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
Here is the call graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
|
noexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
noexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
noexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
noexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the call graph for this function:
|
noexcept |
Here is the caller graph for this function:
|
noexcept |
Here is the caller graph for this function:
|
noexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
noexcept |
Here is the call graph for this function:
|
noexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
noexcept |
|
noexcept |
Here is the caller graph for this function:
|
noexcept |
|
noexcept |
|
noexcept |
Here is the call graph for this function:
|
noexcept |
Here is the call graph for this function:
|
noexcept |
Here is the call graph for this function:
|
noexcept |
Here is the call graph for this function:
|
noexcept |
Here is the call graph for this function:
|
noexcept |
Here is the call graph for this function:
|
noexcept |
|
noexcept |
Here is the call graph for this function:
|
noexcept |
Here is the caller graph for this function:
|
staticnoexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
|
static |