Multi-Qt building
git-svn-id: svn://db.shs.com.ru/libs@250 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -5,8 +5,13 @@ MainWindow::MainWindow(QWidget * parent): QMainWindow(parent), Ui::MainWindow()
|
||||
setupUi(this);
|
||||
active_ = false;
|
||||
lineInput->setFocus();
|
||||
#if QT_VERSION >= 0x050000
|
||||
treeGraphics->header()->setSectionResizeMode(0, QHeaderView::ResizeToContents);
|
||||
treeGraphics->header()->setSectionResizeMode(1, QHeaderView::ResizeToContents);
|
||||
#else
|
||||
treeGraphics->header()->setResizeMode(0, QHeaderView::ResizeToContents);
|
||||
treeGraphics->header()->setResizeMode(1, QHeaderView::ResizeToContents);
|
||||
#endif
|
||||
npal = epal = lineInput->palette();
|
||||
epal.setColor(lineInput->backgroundRole(), QColor(Qt::red).lighter(150));
|
||||
connect(&session, SIGNAL(loading(QPIConfig & )), this, SLOT(loading(QPIConfig & )));
|
||||
|
||||
Reference in New Issue
Block a user