mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 02:14:50 +00:00
put widget in layout
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20569 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
3a7f10bb19
commit
38df07a8a7
@ -21,6 +21,7 @@
|
||||
#include <QDialog>
|
||||
#include <QSettings>
|
||||
#include <QShowEvent>
|
||||
#include <QGridLayout>
|
||||
|
||||
#include <string>
|
||||
|
||||
@ -46,7 +47,10 @@ public:
|
||||
MyController * c = new MyController(*this);
|
||||
controller_ = c;
|
||||
controller_->setLyXView(parent);
|
||||
QGridLayout * gridLayout = new QGridLayout(this);
|
||||
gridLayout->setMargin(0);
|
||||
widget_ = new MyWidget(*c, this);
|
||||
gridLayout->addWidget(widget_);
|
||||
setWindowTitle("LyX: " + widget_->windowTitle());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user