LibrePCB Developers Documentation
Loading...
Searching...
No Matches
uihelpers.cpp File Reference
#include "uihelpers.h"
#include "../editorcommand.h"
#include "slinthelpers.h"
#include <QtCore>
#include <QtGui>
+ Include dependency graph for uihelpers.cpp:

Namespaces

namespace  librepcb
 
namespace  librepcb::editor
 

Functions

qint64 s2l (const ui::Int64 &v) noexcept
 
ui::Int64 l2s (const Length &v) noexcept
 
Length s2length (const ui::Int64 &v) noexcept
 
std::optional< UnsignedLengths2ulength (const ui::Int64 &v) noexcept
 
std::optional< PositiveLengths2plength (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