Commit c801700d authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Show headers in qt6

parent 2ddb6304
......@@ -47,10 +47,15 @@ endif (HAVE_OPENBABEL)
set(kalziumtools_SRCS
${kalziumtools_SRCS}
calculator/calculator.cpp
calculator/nuclearCalculator.cpp
calculator/gasCalculator.cpp
calculator/calculator.h
calculator/concCalculator.cpp
calculator/concCalculator.h
calculator/gasCalculator.cpp
calculator/gasCalculator.h
calculator/nuclearCalculator.cpp
calculator/nuclearCalculator.h
calculator/titrationCalculator.cpp
calculator/titrationCalculator.h
# calculator/massCalculator.cpp
)
ki18n_wrap_ui(kalziumtools_SRCS
......
......@@ -22,7 +22,7 @@
calculator::calculator(QWidget *parent) : QDialog(parent)
{
setWindowTitle(i18nc("@title:window", "Chemical Calculator"));
QDialogButtonBox *buttonBox = new QDialogButtonBox(QDialogButtonBox::Help|QDialogButtonBox::Close);
QDialogButtonBox *buttonBox = new QDialogButtonBox(QDialogButtonBox::Help|QDialogButtonBox::Close, this);
QWidget *mainWidget = new QWidget(this);
QVBoxLayout *mainLayout = new QVBoxLayout;
setLayout(mainLayout);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment