MyWidget::MyWidget(QWidget* parent) : QWidget(parent) { modelIsChanged=false; typeData=-1; createActions(); createMenus(); createModel(); createDataWidget(); createView(); createDxBar(); connectSignalSlot(); }
BcAdjustDialog::BcAdjustDialog(QWidget *parent) : QDialog(parent), m_ui(new Ui::BcAdjustDialog) { m_ui->setupUi(this); init(); connectSignalSlot(); setLayout(m_ui->overallLayout); }
MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent) { textEdit = new QPlainTextEdit; setCentralWidget(textEdit); createAction(); createMenu(); createToolBar(); createStatusBar(); connectSignalSlot(); readSettings(); setCurrentFile(""); }
MainWindow::MainWindow(QWidget *parent) : BaseWidget(parent) , mURL(nullptr) , mFoundText(nullptr) , mMaxUrlNumber(nullptr) , mMaxThreadNumber(nullptr) , mURLStatusTable(nullptr) , mStartResumeButton(nullptr) , mStopButton(nullptr) , mProssesStarted(false) , mProssesPaused(true) , mProcData(ProcessData()) { initChildWidgets(); addChildWidgets(); updateWidget(); connectSignalSlot(); }
ZProgressManager::ZProgressManager(QObject *parent) : QObject(parent) { connectSignalSlot(); }
FlyEmBodySplitProjectDialog::FlyEmBodySplitProjectDialog(QWidget *parent) : QDialog(parent), ui(new Ui::FlyEmBodySplitProjectDialog) { ui->setupUi(this); m_loadBodyDlg = NULL; //connect(this, SIGNAL(accepted()), this, SLOT(clear())); connect(ui->view2dBodyPushButton, SIGNAL(clicked()), this, SLOT(showData2d())); connect(ui->view3dBodyPushButton, SIGNAL(clicked()), this, SLOT(showData3d())); // connect(ui->viewSplitPushButton, // SIGNAL(clicked()), this, SLOT(showResult3d())); connect(ui->viewResultQuickPushButton, SIGNAL(clicked()), this, SLOT(showResult3dQuick())); connect(ui->donePushButton, SIGNAL(clicked()), this, SLOT(clear())); connect(ui->loadBodyPushButton, SIGNAL(clicked()), this, SLOT(loadBody())); connect(ui->loadBookmarkButton, SIGNAL(clicked()), this, SLOT(loadBookmark())); /* connect(ui->bookmarkVisibleCheckBox, SIGNAL(toggled(bool)), &m_project, SLOT(showBookmark(bool))); */ connect(ui->quickViewPushButton, SIGNAL(clicked()), this, SLOT(quickView())); connect(ui->fullGrayscaleCheckBox, SIGNAL(toggled(bool)), this, SLOT(viewFullGrayscale(bool))); connect(ui->updatePushButton, SIGNAL(clicked()), this, SLOT(viewFullGrayscale())); /* connect(ui->prevPushButton, SIGNAL(clicked()), this, SLOT(viewPreviousSlice())); connect(ui->nextPushButton, SIGNAL(clicked()), this, SLOT(viewNextSlice())); connect(ui->fullGrayscalePushButton, SIGNAL(clicked()), this, SLOT(viewFullGrayscale())); */ connect(ui->saveSeedPushButton, SIGNAL(clicked()), this, SLOT(saveSeed())); ui->bookmarkView->setModel(&m_bookmarkList); updateWidget(); m_project.setBookmarkVisible(ui->bookmarkVisibleCheckBox->isChecked()); m_sideViewScene = new QGraphicsScene(this); //m_sideViewScene->setSceneRect(0, 0, ui->sideView->width(), ui->sideView->height()); ui->sideView->setScene(m_sideViewScene); // ui->sideView->setFocus(); setFocusPolicy(Qt::StrongFocus); //ui->outputWidget->setText("Load a body to start."); #ifndef _DEBUG_ ui->pushButton->hide(); #endif m_dvidDlg = ZDialogFactory::makeDvidDialog(this); createMenu(); connectSignalSlot(); m_messageManager = NULL; }