Skip to content
Snippets Groups Projects
Commit a343fbe0 authored by Jan Schnathmeier's avatar Jan Schnathmeier
Browse files

Improve GUI

#41
parent 429ccbd7
No related branches found
No related tags found
No related merge requests found
......@@ -57,8 +57,8 @@ MetaMeshToolbox::MetaMeshToolbox(QWidget* parent) : QWidget(parent)
button_split_ = new QPushButton("Split");
button_collapse_ = new QPushButton("Collapse");
button_relocate_ = new QPushButton("Relocate");
button_dummy1_ = new QPushButton("Insert");
button_dummy2_ = new QPushButton("Delete");
button_dummy1_ = new QPushButton("Dummy 1");
button_dummy2_ = new QPushButton("Dummy 2");
button_next_ = new QPushButton("nxt");
button_opp_ = new QPushButton("opp");
button_prev_ = new QPushButton("prv");
......@@ -109,6 +109,9 @@ MetaMeshToolbox::MetaMeshToolbox(QWidget* parent) : QWidget(parent)
QLabel* label_beta = new QLabel("Beta:");
QLabel* label_length = new QLabel("Length:");
QLabel* label_iterations = new QLabel("Iterations:");
QLabel* label_smtype = new QLabel("Smoothing:");
QLabel* label_strtype = new QLabel("Straightening:");
QLabel* label_corder = new QLabel("Collapse Order:");
layout->addWidget(button_triangulate_, 0, 0, 1, 6);
layout->addWidget(button_randomize_ratio_, 1, 0, 1, 6);
......@@ -128,19 +131,22 @@ MetaMeshToolbox::MetaMeshToolbox(QWidget* parent) : QWidget(parent)
layout->addWidget(button_next_, 10, 0, 1, 2);
layout->addWidget(button_opp_, 10, 2, 1, 2);
layout->addWidget(button_prev_, 10, 4, 1, 2);
layout->addWidget(button_remesh_, 11, 0, 1, 3);
layout->addWidget(combo_box_remeshing_smtype_, 11, 3, 1, 3);
layout->addWidget(combo_box_remeshing_strype_, 12, 0, 1, 3);
layout->addWidget(combo_box_remeshing_crorder_, 12, 3, 1, 3);
layout->addWidget(checkbox_limit_flips_, 14, 0, 1, 2);
layout->addWidget(label_alpha, 13, 2, 1, 2);
layout->addWidget(input_alpha_, 14, 2, 1, 2);
layout->addWidget(label_beta, 13, 4, 1, 2);
layout->addWidget(input_beta_, 14, 4, 1, 2);
layout->addWidget(checkbox_data_output_, 16, 0, 1, 2);
layout->addWidget(label_length, 15, 2, 1, 2);
layout->addWidget(input_length_, 16, 2, 1, 2);
layout->addWidget(label_iterations, 15, 4, 1, 2);
layout->addWidget(input_iterations_, 16, 4, 1, 2);
layout->addWidget(button_remesh_, 12, 0, 1, 3);
layout->addWidget(label_smtype, 11, 3, 1, 3);
layout->addWidget(combo_box_remeshing_smtype_, 12, 3, 1, 3);
layout->addWidget(label_strtype, 13, 0, 1, 3);
layout->addWidget(combo_box_remeshing_strype_, 14, 0, 1, 3);
layout->addWidget(label_corder, 13, 3, 1, 3);
layout->addWidget(combo_box_remeshing_crorder_, 14, 3, 1, 3);
layout->addWidget(checkbox_limit_flips_, 16, 0, 1, 2);
layout->addWidget(label_alpha, 15, 2, 1, 2);
layout->addWidget(input_alpha_, 16, 2, 1, 2);
layout->addWidget(label_beta, 15, 4, 1, 2);
layout->addWidget(input_beta_, 16, 4, 1, 2);
layout->addWidget(checkbox_data_output_, 18, 0, 1, 2);
layout->addWidget(label_length, 17, 2, 1, 2);
layout->addWidget(input_length_, 18, 2, 1, 2);
layout->addWidget(label_iterations, 17, 4, 1, 2);
layout->addWidget(input_iterations_, 18, 4, 1, 2);
this->setLayout(layout);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment