Package com.trolltech.qt.gui

Examples of com.trolltech.qt.gui.QTextEdit


        QWebPage.LinkDelegationPolicy.DelegateAllLinks);
    browser.linkClicked.connect(this, "linkClicked(QUrl)");
    currentHyperlink = "";
   
    //Setup the source editor
    sourceEdit = new QTextEdit(this);
    sourceEdit.setVisible(false);
    sourceEdit.setTabChangesFocus(true);
    sourceEdit.setLineWrapMode(LineWrapMode.NoWrap);
    QFont font = new QFont();
    font.setFamily("Courier");
View Full Code Here


    QGridLayout input = new QGridLayout();
    QGridLayout button = new QGridLayout();
    setLayout(grid);
   
   
    url = new QTextEdit("");
   
    input.addWidget(new QLabel(tr("Formula")), 1,1);
    input.addWidget(url, 2, 1);
    input.setContentsMargins(10, 10,  -10, -10);
    grid.addLayout(input, 1,1);
View Full Code Here

    comboLayout.addStretch(100);
    fileCombo.currentIndexChanged.connect(this, "indexChanged(Integer)");
   
    main.addLayout(comboLayout);
       
    textField = new QTextEdit(this);
    main.addWidget(textField);
   
    fileCombo.addItem(tr("Message Log"), "MessageLog");
    fileCombo.addItem(tr("Application Log"), "NeverNoteLog");
    fileCombo.addItem(tr("Synchronization Log"), "SyncLog");
View Full Code Here

    QVBoxLayout textEditLayout = new QVBoxLayout();
    textEditLayout.addWidget(new QLabel(tr("Notebook: ") +n.getName()));
    textEditLayout.addWidget(new QLabel(tr("Public URL")));
    textEditLayout.addLayout(urlLayout);
    textEditLayout.addWidget(new QLabel(tr("Description")));
    description = new QTextEdit();
    textEditLayout.addWidget(description);
   
    sortedBy = new QComboBox(this);
    sortOrder = new QComboBox(this);
    QHBoxLayout orderLayout = new QHBoxLayout();
View Full Code Here

  @SuppressWarnings("unused")
  private void releaseNotes() {
    logger.log(logger.HIGH, "Entering NeverNote.releaseNotes");
    QDialog dialog = new QDialog(this);
    QHBoxLayout layout = new QHBoxLayout();
    QTextEdit textBox = new QTextEdit();
    layout.addWidget(textBox);
    textBox.setReadOnly(true);
    QFile file = new QFile(Global.getFileManager().getProgramDirPath("release.txt"));
    if (!file.open(new QIODevice.OpenMode(QIODevice.OpenModeFlag.ReadOnly,
                QIODevice.OpenModeFlag.Text)))
      return;
    textBox.setText(file.readAll().toString());
    file.close();
    dialog.setWindowTitle(tr("Release Notes"));
    dialog.setLayout(layout);
    dialog.show();
    logger.log(logger.HIGH, "Leaving NeverNote.releaseNotes");
View Full Code Here

TOP

Related Classes of com.trolltech.qt.gui.QTextEdit

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.