![]() |
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, const QColor &color) 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 | createSceneRect (qreal x, qreal y, qreal w, qreal h) noexcept |
| void | slintTr (slint::private_api::Slice< uint8_t > string, slint::private_api::Slice< uint8_t > ctx, slint::private_api::Slice< uint8_t > domain, int32_t n, slint::private_api::Slice< uint8_t > plural, slint::SharedString *out) noexcept |
| static QString | appendNumberToSignalName (QString name, int number) noexcept |
| static QString | cleanDescription (const LocalizedDescriptionMap &descs) noexcept |
| template<typename T > | |
| static void | clearAndCount (T &container, int &count) 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 ui::SolderTechnology | determineSolderTechnology (const QVector< Tag > &tags) noexcept |
| static ui::IpcDensityLevel | determineIpcDensityLevel (const QVector< Tag > &tags) noexcept |
| template<typename T > | |
| static T | extractTagValue (const std::initializer_list< QVector< Tag > > &tags, std::function< T(const QVector< Tag > &)> cb, T fallback) noexcept |
| template<typename T > | |
| static bool | updateMember (T &member, const T &newValue) 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) |
| static std::optional< std::pair< bool, PositiveLength > > | extractViaDimension (const QString &padStackId, int index) noexcept |
| static std::optional< UnsignedLength > | mergeMinTraceLengthDifference (const std::optional< UnsignedLength > &a, const std::optional< UnsignedLength > &b) noexcept |
| static std::shared_ptr< GerberExcellonOutputJob > | migratedBoardFabSettings (const Project &prj) noexcept |
| uint | qHash (const PartInformationProvider::Part &key, uint seed=0) noexcept |
| template<typename T > | |
| static bool | isOffGrid (const T *ptr, const PositiveLength &gridInterval) noexcept |
| template<> | |
| bool | isOffGrid< SI_Polygon > (const SI_Polygon *ptr, const PositiveLength &gridInterval) noexcept |
| template<typename T > | |
| static bool | isAnyOffGrid (const T &container, const PositiveLength &gridInterval) noexcept |
| static ui::WireMode | l2s (SchematicEditorState_DrawWire::WireMode v) noexcept |
| static SchematicEditorState_DrawWire::WireMode | s2l (ui::WireMode v) noexcept |
| static bool | convertToSupportedFormat (QByteArray &data, QString &format) noexcept |
| static std::optional< FilePath > | tryGetImageFilePathFromClipboard (const QMimeData *d) 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 |
| Qt::Key | s2key (const slint::SharedString &k) noexcept |
| static slint::SharedString | getInputError (const QString &input) |
| static slint::SharedString | getDuplicateError () |
| static slint::SharedString | getRecommendedError () |
| std::optional< ElementName > | validateElementName (const QString &input, slint::SharedString &error) noexcept |
| std::optional< Version > | validateVersion (const QString &input, slint::SharedString &error) noexcept |
| std::optional< QString > | validateFileName (const QString &input, slint::SharedString &error, FilePath::CleanFileNameOptions options, int maxLength, const QString &requiredSuffix) noexcept |
| std::optional< AttributeKey > | validateAttributeKey (const QString &input, slint::SharedString &error, bool isDuplicate) noexcept |
| std::optional< CircuitIdentifier > | validateCircuitIdentifier (const QString &input, slint::SharedString &error, bool isDuplicate) noexcept |
| std::optional< QUrl > | validateUrl (const QString &input, slint::SharedString &error, bool allowEmpty) noexcept |
| std::optional< ComponentPrefix > | validateComponentPrefix (const QString &input, slint::SharedString &error) noexcept |
| void | validateComponentDefaultValue (const QString &input, slint::SharedString &error) 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 |
| int | l2s (const Ratio &v) noexcept |
| Ratio | s2ratio (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 |
| static const std::vector< Package::AssemblyType > & | getAssemblyTypes () noexcept |
| int | l2s (Package::AssemblyType v) noexcept |
| std::optional< Package::AssemblyType > | s2assemblyType (int v) noexcept |
| ui::ComponentPinoutDisplayMode | l2s (const CmpSigPinDisplayType &v) noexcept |
| const CmpSigPinDisplayType & | s2l (ui::ComponentPinoutDisplayMode v) noexcept |
| ui::EditorCommand | l2s (const EditorCommand &cmd, ui::EditorCommand in) noexcept |
| static bool | isKeySequence (const slint::private_api::KeyEvent &e, const QKeySequence &seq) |
| bool | isShortcut (const slint::private_api::KeyEvent &e, const ui::EditorCommand &cmd) 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 CmdComponentPinSignalMapItemInsert = CmdListElementInsert<ComponentPinSignalMapItem, ComponentPinSignalMapNameProvider, ComponentPinSignalMapItem::Event> |
| using CmdComponentPinSignalMapItemRemove = CmdListElementRemove<ComponentPinSignalMapItem, ComponentPinSignalMapNameProvider, ComponentPinSignalMapItem::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:
|
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:
|
staticnoexcept |
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:
|
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:
|
staticnoexcept |
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:
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:
|
staticnoexcept |
Here is the call graph for this function:
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:
|
staticnoexcept |
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 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:
|
noexcept |
|
staticnoexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
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:
Here is the caller graph for this function:
|
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:
|
noexcept |
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:
|
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:
|
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 |
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 |
|
staticnoexcept |
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 |
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:
|
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 caller graph for this function:
|
staticnoexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
|
static |