Package com.trolltech.qt.gui

Examples of com.trolltech.qt.gui.QIcon


  private final List<Notebook>  notebooks;
  private final List<WatchFolderRecord> records;
  private final String iconPath = new String("classpath:cx/fbn/nevernote/icons/");
 
  public WatchFolder(List<WatchFolderRecord> w, List<Notebook> n) {
    setWindowIcon(new QIcon(iconPath+"folder.png"));
    okClicked = false;
    notebooks = n;
    records = w;
   
    okButton = new QPushButton();
View Full Code Here


 
  // Constructor
  public EnDecryptDialog() {
    okPressed = false;
    setWindowTitle(tr("Decrypt Text"));
    setWindowIcon(new QIcon(iconPath+"password.png"));
    QGridLayout grid = new QGridLayout();
    QGridLayout input = new QGridLayout();
    QGridLayout msgGrid = new QGridLayout();
    QGridLayout button = new QGridLayout();
    setLayout(grid);
View Full Code Here

  // Constructor
  public NotebookEdit() {
    okPressed = false;
    stackEdit = false;
    setWindowTitle(tr("Add Notebook"));
    setWindowIcon(new QIcon(iconPath+"notebook-green.png"));
    QGridLayout grid = new QGridLayout();
    setLayout(grid);
   
    QGridLayout textLayout = new QGridLayout();
    notebook = new QLineEdit();
View Full Code Here

 
  // Constructor
  public InsertLinkDialog(boolean insert) {
    okPressed = false;
    setWindowTitle(tr("Insert Link"));
    setWindowIcon(new QIcon(iconPath+"link.png"));
    QGridLayout grid = new QGridLayout();
    QGridLayout input = new QGridLayout();
    QGridLayout button = new QGridLayout();
    setLayout(grid);
    insertHyperlink = insert;
View Full Code Here

  private final QPushButton    okButton;
 
  public SynchronizationRequiredWarning(QWidget parent) { 
    setWindowTitle(tr("Synchronization Required"));
      String iconPath = new String("classpath:cx/fbn/nevernote/icons/");
      setWindowIcon(new QIcon(new QIcon(iconPath+"synchronize.png")));
    neverSynchronize = new QCheckBox(tr("I never want to synchronize with Evernote so quit bothering me."));
    okButton = new QPushButton(tr("Ok"));
    QTextBrowser warning = new QTextBrowser();
    warning.setText(tr("Please synchronize with Evernote before proceeding.\n\n" +
        "In order to use this feature you need to synchronize with Evernote.  After synchronizing" +
View Full Code Here

  // Constructor
  public TagEdit() {
    okPressed = false;
    setWindowTitle(tr("Add Tag"));
    QGridLayout grid = new QGridLayout();
    setWindowIcon(new QIcon(iconPath+"tag.png"));
    setLayout(grid);
   
    QGridLayout textGrid = new QGridLayout();
    tag = new QLineEdit();
    textGrid.addWidget(new QLabel(tr("Tag Name")), 1,1);
View Full Code Here

  private final String iconPath = new String("classpath:cx/fbn/nevernote/icons/");
 
  // Constructor
  public OnlineNoteHistory(ApplicationLogger l, DatabaseConnection c) {
    setWindowTitle(tr("Online Note History"));
    setWindowIcon(new QIcon(iconPath+"notebook-green.png"));
    QVBoxLayout main = new QVBoxLayout();
    setLayout(main);
    historyCombo = new QComboBox(this);
   
    QHBoxLayout comboLayout = new QHBoxLayout();
View Full Code Here

  private final QPushButton    cancelButton;
  private boolean          okClicked;
  private final String iconPath = new String("classpath:cx/fbn/nevernote/icons/");
 
  public TagMerge(List<Tag> tags) {
    setWindowIcon(new QIcon(iconPath+"tag.png"));
    okClicked = false;
   
    okButton = new QPushButton();
    okButton.setText(tr("OK"));
    okButton.pressed.connect(this, "onClicked()");
View Full Code Here

  private final QPushButton    leftButton;
  private final QPushButton    rightButton;
  private final String iconPath = new String("classpath:cx/fbn/nevernote/icons/");
 
  public NotebookArchive(List<Notebook> allBooks, List<Notebook> archive) {
    setWindowIcon(new QIcon(iconPath+"notebook-green.png"));
    okClicked = false;
    openBookList = new QListWidget();
    openBookList.setSortingEnabled(true);
    openBookList.setSelectionMode(QAbstractItemView.SelectionMode.MultiSelection);
   
    okButton = new QPushButton();
    okButton.setText(tr("OK"));
    okButton.pressed.connect(this, "onClicked()");
   
    cancelButton = new QPushButton();
    cancelButton.setText(tr("Cancel"));
    cancelButton.pressed.connect(this, "onCancel()");
   
    QVBoxLayout openLayout = new QVBoxLayout();
    openLayout.addWidget(new QLabel(tr("Open Notebooks")));
    openLayout.addWidget(openBookList);
   
    rightButton = new QPushButton(this);
    rightButton.setIcon(new QIcon(iconPath+"forward.png"));
    leftButton = new QPushButton(this);
    leftButton.setIcon(new QIcon(iconPath+"back.png"));
    leftButton.setEnabled(false);
    rightButton.setEnabled(false);
   
    QVBoxLayout middleLayout = new QVBoxLayout();
    middleLayout.addSpacerItem(new QSpacerItem(1,1));
View Full Code Here

 
  // Constructor
  public NoteQuickLinkDialog(ApplicationLogger l, DatabaseConnection c, String text) {
    okPressed = false;
    setWindowTitle(tr("Quick Link Notes"));
    setWindowIcon(new QIcon(iconPath+"notebook-green.png"));
    QVBoxLayout main = new QVBoxLayout();
    setLayout(main);
    titleCombo = new QComboBox(this);
   
    QHBoxLayout comboLayout = new QHBoxLayout();
View Full Code Here

TOP

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

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.