mirror of
https://gitlab.com/then-try-this/samplebrain.git
synced 2026-06-25 16:11:41 +00:00
Update project to Qt6:
* loaded and saved `samplebrain.ui` in Qt6 Designer * generate `ui_samplebrain.h` on the fly (via `FORMS +=`) * remove example files `sample.ui` and `ui_sample.h` * remove `setMargin()` calls, these methods have been removed * use `QFont::Bold` for `setWeight()` calls, numeric values aren't accepted anymore * qualify `spiralcore::sample` in `block.cpp`'s `normalise()`
This commit is contained in:
@@ -40,12 +40,10 @@ MainWindow::MainWindow() :
|
||||
setUnifiedTitleAndToolBarOnMac(true);
|
||||
|
||||
m_Ui.verticalLayout_5->setSpacing(0);
|
||||
m_Ui.verticalLayout_5->setMargin(0);
|
||||
m_Ui.verticalLayout_5->setContentsMargins(0,0,0,0);
|
||||
|
||||
m_Ui.brain_contents->setAlignment(Qt::AlignTop);
|
||||
m_Ui.brain_contents->setSpacing(0);
|
||||
m_Ui.brain_contents->setMargin(0);
|
||||
m_Ui.brain_contents->setContentsMargins(0,0,0,0);
|
||||
|
||||
// add default local dest
|
||||
|
||||
Reference in New Issue
Block a user