mirror of
git://git.savannah.nongnu.org/eliot.git
synced 2025-01-13 20:03:23 +01:00
MainWindow: no frame is needed for labels in the status bar
This commit is contained in:
parent
0cfc063a0f
commit
afc791dd73
1 changed files with 0 additions and 3 deletions
|
@ -133,14 +133,11 @@ MainWindow::MainWindow(QWidget *iParent)
|
|||
// First widget, not added yet
|
||||
m_lettersLabel = new QLabel(statusBar());
|
||||
m_lettersLabel->setVisible(false);
|
||||
m_lettersLabel->setFrameStyle(QFrame::Sunken | QFrame::Panel);
|
||||
// Second widget, not added yet
|
||||
m_turnLabel = new QLabel(statusBar());
|
||||
m_turnLabel->setVisible(false);
|
||||
m_turnLabel->setFrameStyle(QFrame::Sunken | QFrame::Panel);
|
||||
// Third widget
|
||||
m_dicNameLabel = new QLabel(this);
|
||||
m_dicNameLabel->setFrameStyle(QFrame::Sunken | QFrame::Panel);
|
||||
statusBar()->addPermanentWidget(m_dicNameLabel);
|
||||
QObject::connect(this, SIGNAL(dicChanged(const Dictionary*)),
|
||||
this, SLOT(updateStatusBar(const Dictionary*)));
|
||||
|
|
Loading…
Reference in a new issue