Ignore:
Timestamp:
Sep 15, 2013, 10:56:29 AM (11 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GnssCenter/monitor/dlgconf.cpp

    r5463 r5464  
    3636
    3737  QPushButton* cancelButton = new QPushButton("Cancel", this);
    38   QPushButton* okButton     = new QPushButton("OK", this);
     38  connect(cancelButton, SIGNAL(clicked()), this, SLOT(reject()));
     39
     40  QPushButton* okButton = new QPushButton("OK", this);
     41  connect(okButton, SIGNAL(clicked()), this, SLOT(accept()));
     42
    3943  QHBoxLayout* buttonLayout = new QHBoxLayout;
    4044  buttonLayout->addWidget(cancelButton);
     
    5862}
    5963
     64// Accept (virtual slot)
     65/////////////////////////////////////////////////////////////////////////////
     66void t_dlgConf::accept() {
     67  qDebug() << "accept hovno";
     68}
     69
Note: See TracChangeset for help on using the changeset viewer.