mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-06 06:53:37 +00:00
WIP: synchronization
This commit is contained in:
parent
7b3aa6e158
commit
73e26a25c4
41 changed files with 439 additions and 163 deletions
|
|
@ -122,6 +122,15 @@ bool TileWidget::allLimitsPassing()
|
|||
}
|
||||
}
|
||||
|
||||
void TileWidget::setSplitPercentage(int percentage)
|
||||
{
|
||||
if(!isSplit) {
|
||||
return;
|
||||
}
|
||||
splitter->setStretchFactor(0, percentage);
|
||||
splitter->setStretchFactor(1, 100 - percentage);
|
||||
}
|
||||
|
||||
void TileWidget::splitVertically(bool moveContentToSecondChild)
|
||||
{
|
||||
if(isSplit) {
|
||||
|
|
|
|||
|
|
@ -32,6 +32,8 @@ public:
|
|||
// check potential trace limits on graphs, only returns true if all traces in all graphs are within limits
|
||||
bool allLimitsPassing();
|
||||
|
||||
void setSplitPercentage(int percentage);
|
||||
|
||||
public slots:
|
||||
void splitVertically(bool moveContentToSecondChild = false);
|
||||
void splitHorizontally(bool moveContentToSecondChild = false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue