author | tille <tille> | 2002-10-31 17:50:26 (UTC) |
---|---|---|
committer | tille <tille> | 2002-10-31 17:50:26 (UTC) |
commit | 9c511809c55d48db528e6ef97ec9969fa5517381 (patch) (side-by-side diff) | |
tree | 84f51a9b842aac6487cfd7b5ea78d3e17e1591a8 /noncore/settings/netsystemtime/ntpbase.cpp | |
parent | d955226c2197578f69c510282a4e9ad1ea8fe771 (diff) | |
download | opie-9c511809c55d48db528e6ef97ec9969fa5517381.zip opie-9c511809c55d48db528e6ef97ec9969fa5517381.tar.gz opie-9c511809c55d48db528e6ef97ec9969fa5517381.tar.bz2 |
replacement for systemtime now
Diffstat (limited to 'noncore/settings/netsystemtime/ntpbase.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/netsystemtime/ntpbase.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/noncore/settings/netsystemtime/ntpbase.cpp b/noncore/settings/netsystemtime/ntpbase.cpp index c10c6ae..8d44f17 100644 --- a/noncore/settings/netsystemtime/ntpbase.cpp +++ b/noncore/settings/netsystemtime/ntpbase.cpp @@ -35,43 +35,43 @@ NtpBase::NtpBase( QWidget* parent, const char* name, WFlags fl ) setCaption( tr( "Network Time" ) ); NtpBaseLayout = new QGridLayout( this ); NtpBaseLayout->setSpacing( 2 ); NtpBaseLayout->setMargin( 2 ); TabWidgetMain = new QTabWidget( this, "TabWidgetMain" ); tabMain = new QWidget( TabWidgetMain, "tabMain" ); tabMainLayout = new QGridLayout( tabMain ); tabMainLayout->setSpacing( 2 ); tabMainLayout->setMargin( 2 ); - FrameSystemTime = new QFrame( tabMain, "FrameSystemTime" ); - FrameSystemTime->setFrameShape( QFrame::StyledPanel ); - FrameSystemTime->setFrameShadow( QFrame::Raised ); + FrameSystemTime = new QWidget( tabMain, "FrameSystemTime" ); + // FrameSystemTime->setFrameShape( QFrame::StyledPanel ); + //FrameSystemTime->setFrameShadow( QFrame::Raised ); tabMainLayout->addWidget( FrameSystemTime, 0, 0 ); tabNtp = new QWidget( TabWidgetMain, "tabNtp" ); tabNtpLayout = new QGridLayout( tabNtp ); tabNtpLayout->setSpacing( 2 ); tabNtpLayout->setMargin( 1 ); runNtp = new QPushButton( tabNtp, "runNtp" ); runNtp->setText( tr( "Get time from network" ) ); tabNtpLayout->addWidget( runNtp, 1, 0 ); - FrameNtp = new QFrame( tabNtp, "FrameNtp" ); - FrameNtp->setFrameShape( QFrame::StyledPanel ); - FrameNtp->setFrameShadow( QFrame::Raised ); + FrameNtp = new QWidget( tabNtp, "FrameNtp" ); + // FrameNtp->setFrameShape( QFrame::StyledPanel ); + // FrameNtp->setFrameShadow( QFrame::Raised ); FrameNtpLayout = new QGridLayout( FrameNtp ); FrameNtpLayout->setSpacing( 2 ); FrameNtpLayout->setMargin( 2 ); Layout4 = new QVBoxLayout; Layout4->setSpacing( 6 ); Layout4->setMargin( 0 ); TextLabel1 = new QLabel( FrameNtp, "TextLabel1" ); TextLabel1->setAutoMask( FALSE ); TextLabel1->setText( tr( "Start Time:" ) ); Layout4->addWidget( TextLabel1 ); @@ -171,27 +171,27 @@ NtpBase::NtpBase( QWidget* parent, const char* name, WFlags fl ) PushButtonPredict = new QPushButton( tabPredict, "PushButtonPredict" ); PushButtonPredict->setText( tr( "Predict time" ) ); Layout11->addWidget( PushButtonPredict ); tabPredictLayout->addLayout( Layout11, 2, 0 ); TabSettings = new QWidget( TabWidgetMain, "TabSettings" ); TabSettingsLayout = new QGridLayout( TabSettings ); TabSettingsLayout->setSpacing( 2 ); TabSettingsLayout->setMargin( 2 ); - FrameSettings = new QFrame( TabSettings, "FrameSettings" ); - FrameSettings->setFrameShape( QFrame::StyledPanel ); - FrameSettings->setFrameShadow( QFrame::Raised ); + FrameSettings = new QWidget( TabSettings, "FrameSettings" ); + // FrameSettings->setFrameShape( QFrame::StyledPanel ); + // FrameSettings->setFrameShadow( QFrame::Raised ); FrameSettingsLayout = new QVBoxLayout( FrameSettings ); FrameSettingsLayout->setSpacing( 6 ); FrameSettingsLayout->setMargin( 11 ); Layout6 = new QGridLayout; Layout6->setSpacing( 6 ); Layout6->setMargin( 0 ); TextLabel7_2 = new QLabel( FrameSettings, "TextLabel7_2" ); TextLabel7_2->setText( tr( "Use" ) ); Layout6->addWidget( TextLabel7_2, 0, 0 ); @@ -282,27 +282,27 @@ NtpBase::NtpBase( QWidget* parent, const char* name, WFlags fl ) SpinBoxMinLookupDelay->setValue( 720 ); Layout7->addWidget( SpinBoxMinLookupDelay, 0, 1 ); FrameSettingsLayout->addLayout( Layout7 ); TabSettingsLayout->addWidget( FrameSettings, 0, 0 ); tabManualSetTime = new QWidget( TabWidgetMain, "tabManualSetTime" ); tabManualSetTimeLayout = new QVBoxLayout( tabManualSetTime ); tabManualSetTimeLayout->setSpacing( 2 ); tabManualSetTimeLayout->setMargin( 2 ); - FrameSetTime = new QFrame( tabManualSetTime, "FrameSetTime" ); - FrameSetTime->setFrameShape( QFrame::StyledPanel ); - FrameSetTime->setFrameShadow( QFrame::Raised ); + FrameSetTime = new QWidget( tabManualSetTime, "FrameSetTime" ); + // FrameSetTime->setFrameShape( QFrame::StyledPanel ); + // FrameSetTime->setFrameShadow( QFrame::Raised ); tabManualSetTimeLayout->addWidget( FrameSetTime ); PushButtonSetManualTime = new QPushButton( tabManualSetTime, "PushButtonSetManualTime" ); PushButtonSetManualTime->setText( tr( "Set time" ) ); tabManualSetTimeLayout->addWidget( PushButtonSetManualTime ); TabWidgetMain->insertTab( tabMain, tr( "Main" ) ); TabWidgetMain->insertTab( tabManualSetTime, tr( "Manual" ) ); TabWidgetMain->insertTab( TabSettings, tr( "Settings" ) ); TabWidgetMain->insertTab( tabPredict, tr( "Predict" ) ); TabWidgetMain->insertTab( tabNtp, tr( "NTP" ) ); |