QTfrontend/pages.cpp
changeset 1904 20348675b015
parent 1902 aeadb10c2d77
child 1905 b1ec8db513f2
equal deleted inserted replaced
1903:64e56f19d6d6 1904:20348675b015
   658 	BtnMaster->setVisible(isMaster);
   658 	BtnMaster->setVisible(isMaster);
   659 }
   659 }
   660 
   660 
   661 PageInfo::PageInfo(QWidget* parent) : AbstractPage(parent)
   661 PageInfo::PageInfo(QWidget* parent) : AbstractPage(parent)
   662 {
   662 {
   663 	QFont * font14 = new QFont("MS Shell Dlg", 14);
       
   664 	QGridLayout * pageLayout = new QGridLayout(this);
   663 	QGridLayout * pageLayout = new QGridLayout(this);
   665 	pageLayout->setColumnStretch(0, 1);
   664 	pageLayout->setColumnStretch(0, 1);
   666 	pageLayout->setColumnStretch(1, 1);
   665 	pageLayout->setColumnStretch(1, 1);
   667 	pageLayout->setColumnStretch(2, 1);
   666 	pageLayout->setColumnStretch(2, 1);
   668 
   667 
   672 	pageLayout->addWidget(about, 0, 0, 1, 3);
   671 	pageLayout->addWidget(about, 0, 0, 1, 3);
   673 }
   672 }
   674 
   673 
   675 PageSinglePlayer::PageSinglePlayer(QWidget* parent) : AbstractPage(parent)
   674 PageSinglePlayer::PageSinglePlayer(QWidget* parent) : AbstractPage(parent)
   676 {
   675 {
   677 	QFont * font14 = new QFont("MS Shell Dlg", 14);
       
   678 	QVBoxLayout * vLayout = new QVBoxLayout(this);
   676 	QVBoxLayout * vLayout = new QVBoxLayout(this);
   679 	QHBoxLayout * topLine = new QHBoxLayout();
   677 	QHBoxLayout * topLine = new QHBoxLayout();
   680 	QHBoxLayout * middleLine = new QHBoxLayout();
   678 	QHBoxLayout * middleLine = new QHBoxLayout();
   681 	QHBoxLayout * bottomLine = new QHBoxLayout();
   679 	QHBoxLayout * bottomLine = new QHBoxLayout();
   682 	vLayout->addStretch();
   680 	vLayout->addStretch();
   848 
   846 
   849 PageConnecting::PageConnecting(QWidget* parent) :
   847 PageConnecting::PageConnecting(QWidget* parent) :
   850 	AbstractPage(parent)
   848 	AbstractPage(parent)
   851 {
   849 {
   852 	QGridLayout * pageLayout = new QGridLayout(this);
   850 	QGridLayout * pageLayout = new QGridLayout(this);
       
   851 
       
   852 	QLabel * lblConnecting = new QLabel(this);
       
   853 	lblConnecting->setText(tr("Connecting..."));
       
   854 	pageLayout->addWidget(lblConnecting);
   853 }
   855 }
   854 
   856 
   855 PageScheme::PageScheme(QWidget* parent) :
   857 PageScheme::PageScheme(QWidget* parent) :
   856 	AbstractPage(parent)
   858 	AbstractPage(parent)
   857 {
   859 {