예제 #1
0
PreserveEntitiesWidget::PreserveEntitiesWidget()
    :
    m_isDirty(false)
{
    ui.setupUi(this);
    readSettings();
    connectSignalsToSlots();
}
예제 #2
0
PluginWidget::PluginWidget()
    :
    m_isDirty(false),
    m_LastFolderOpen(QString())
{
    ui.setupUi(this);
    readSettings();
    connectSignalsToSlots();
}
예제 #3
0
SpellCheckWidget::SpellCheckWidget()
    :
    m_isDirty(false)
{
    ui.setupUi(this);
    setUpTable();
    readSettings();
    connectSignalsToSlots();
}
예제 #4
0
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();
}
예제 #5
0
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();
}
예제 #6
0
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();
}
예제 #8
0
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();
}
예제 #9
0
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);
    }
}
예제 #10
0
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();
}
예제 #11
0
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();
}