|
|
@ -54,13 +54,13 @@ MainWindow::MainWindow() : KMainWindow(0, "abakus-mainwindow"), m_popup(0), m_in |
|
|
|
{ |
|
|
|
m_mainSplitter = new TQSplitter(this); |
|
|
|
TQWidget *box = new TQWidget(m_mainSplitter); |
|
|
|
TQVBoxLayout *tqlayout = new TQVBoxLayout(box); |
|
|
|
m_layout = tqlayout; |
|
|
|
tqlayout->setSpacing(6); |
|
|
|
tqlayout->setMargin(6); |
|
|
|
TQVBoxLayout *layout = new TQVBoxLayout(box); |
|
|
|
m_layout = layout; |
|
|
|
layout->setSpacing(6); |
|
|
|
layout->setMargin(6); |
|
|
|
|
|
|
|
TQWidget *configBox = new TQWidget(box); |
|
|
|
tqlayout->addWidget(configBox); |
|
|
|
layout->addWidget(configBox); |
|
|
|
|
|
|
|
TQHBoxLayout *configLayout = new TQHBoxLayout(configBox); |
|
|
|
|
|
|
@ -90,7 +90,7 @@ MainWindow::MainWindow() : KMainWindow(0, "abakus-mainwindow"), m_popup(0), m_in |
|
|
|
connect(m_radians, TQT_SIGNAL(clicked()), TQT_SLOT(slotRadians())); |
|
|
|
|
|
|
|
m_history = new TQVBox(box); |
|
|
|
tqlayout->addWidget(m_history); |
|
|
|
layout->addWidget(m_history); |
|
|
|
m_history->setSpacing(6); |
|
|
|
m_history->setMargin(0); |
|
|
|
|
|
|
@ -103,10 +103,10 @@ MainWindow::MainWindow() : KMainWindow(0, "abakus-mainwindow"), m_popup(0), m_in |
|
|
|
TQT_SLOT(slotResultSelected(const TQString &))); |
|
|
|
|
|
|
|
m_history->setStretchFactor(m_result, 1); |
|
|
|
tqlayout->setStretchFactor(m_history, 1); |
|
|
|
layout->setStretchFactor(m_history, 1); |
|
|
|
|
|
|
|
TQHBox *editBox = new TQHBox(box); |
|
|
|
tqlayout->addWidget(editBox); |
|
|
|
layout->addWidget(editBox); |
|
|
|
editBox->setSpacing(6); |
|
|
|
|
|
|
|
m_edit = new Editor(editBox); |
|
|
|