PreserveEntitiesWidget::PreserveEntitiesWidget() : m_isDirty(false) { ui.setupUi(this); readSettings(); connectSignalsToSlots(); }
PluginWidget::PluginWidget() : m_isDirty(false), m_LastFolderOpen(QString()) { ui.setupUi(this); readSettings(); connectSignalsToSlots(); }
SpellCheckWidget::SpellCheckWidget() : m_isDirty(false) { ui.setupUi(this); setUpTable(); readSettings(); connectSignalsToSlots(); }
WorkspaceAlgorithmTab::WorkspaceAlgorithmTab(QWidget *parent) : WorkspaceBasicTab(parent) { //m_splitter.insertWidget(1, &m_viewer); m_newAlgorithm = new QAction(QIcon(""), "", nullptr); m_loadAlgorithms = new QAction(QIcon(""), "", nullptr); connectSignalsToSlots(); }
AppearanceWidget::AppearanceWidget() : m_currentColor(QColor()) { ui.setupUi(this); // Custom delegate for painting the color swatches ui.codeViewColorsList->setItemDelegate(new ColorSwatchDelegate(ui.codeViewColorsList)); m_codeViewAppearance = readSettings(); loadCodeViewColorsList(m_codeViewAppearance); connectSignalsToSlots(); }
ScriptConsoleView::ScriptConsoleView(IScriptConsole *console, QSyntaxHighlighter *hilighter, QWidget *parent) : QWidget(parent) , m_ui(new Ui::ScriptConsoleView) , m_console(console) , m_hilighter(hilighter) { m_ui->setupUi(this); m_hilighter->setParent(m_ui->commandsList->document()); m_hilighter->setDocument(m_ui->commandsList->document()); connectSignalsToSlots(); }
guiDateTimeSettings::guiDateTimeSettings(QWidget *parent): guiWinBase(parent) { this->setFixedSize(UI_SUB_PAGE_W, UI_SUB_PAGE_H); this->setAutoFillBackground(true); mVlayout = new QVBoxLayout(this); mVlayout->setContentsMargins(0, 0, 0, 0); mVlayout->setSpacing(0); createGuiPage(); connectSignalsToSlots(); }
ctrlKeyboard::ctrlKeyboard(QWidget *parent) : ctrlBase(parent) { mIconWidth = QPixmap(RES_IMG_KEYBOARD_NUM0).width() * KEYBOARD_COL_COUNT + KEYBOARD_COL_OFFSET; mIconHeight = QPixmap(RES_IMG_KEYBOARD_NUM0).height() * KEYBOARD_ROW_COUNT + KEYBOARD_ROW_OFFSET; this->setFixedSize(mIconWidth, mIconHeight); mKeyboardArray = new ctrlMatrixArray(this); mKeyboardArray->setMatrixArrayParam(mIconWidth, mIconHeight); createKeyboard(); connectSignalsToSlots(); }
PluginWidget::PluginWidget() : m_isDirty(false) { ui.setupUi(this); readSettings(); connectSignalsToSlots(); m_PluginsPath = PluginRunner::pluginsPath(); QDir pluginDir(m_PluginsPath); if (!pluginDir.exists() ) { pluginDir.mkpath(m_PluginsPath); } }
PlaylistWindow::PlaylistWindow(QWidget *parent) : QDockWidget(parent), ui(new Ui::PlaylistWindow), currentPlaylist(), showSearch(false) { clipboard = new PlaylistSelection; ui->setupUi(this); addNewTab(QUuid(), tr("Quick Playlist")); ui->searchHost->setVisible(false); ui->searchField->installEventFilter(this); connectSignalsToSlots(); }
WorkspaceModelTab::WorkspaceModelTab(QWidget *parent) : WorkspaceBasicTab(parent) { // Fulfill model menu m_newArray = m_newModel.addAction(QIcon(""), ""); m_newMatrix = m_newModel.addAction(QIcon(""), ""); m_newModel.addSeparator(); m_newAutomaton = m_newModel.addAction(QIcon(""), ""); m_newGraph = m_newModel.addAction(QIcon(""), ""); m_newOrientedGraph = m_newModel.addAction(QIcon(""), ""); m_newModel.addSeparator(); m_newMaze = m_newModel.addAction(QIcon(""), ""); // Set load model action m_loadModels = new QAction(QIcon(""), "", nullptr); connectSignalsToSlots(); }