Examples of QIcon


Examples of com.trolltech.qt.gui.QIcon

   
  // Constructor
  public InsertLatexImage() {
    okPressed = false;
    setWindowTitle(tr("Insert LaTeX Formula"));
    setWindowIcon(new QIcon(iconPath+"link.png"));
    QGridLayout grid = new QGridLayout();
    QGridLayout input = new QGridLayout();
    QGridLayout button = new QGridLayout();
    setLayout(grid);
   
View Full Code Here

Examples of com.trolltech.qt.gui.QIcon

 
  // Constructor
  public SavedSearchEdit() {
    okPressed = false;
    setWindowTitle(tr("Add a search"));
    setWindowIcon(new QIcon(iconPath+"search.png"));
    QGridLayout grid = new QGridLayout();
    setLayout(grid);
   
    QGridLayout textLayout = new QGridLayout();
    searchName = new QLineEdit();
View Full Code Here

Examples of com.trolltech.qt.gui.QIcon

  // Constructor
  public SharedNotebookSyncError(String notebook) {
    okPressed = false;
    setWindowTitle(tr("Shared Notebook Synchronization Error"));
    QGridLayout grid = new QGridLayout();
    setWindowIcon(new QIcon(iconPath+"synchronize.png"));
    QVBoxLayout vLayout = new QVBoxLayout();
    setLayout(vLayout);

    QTextBrowser msg1 = new QTextBrowser();
    msg1.setText(tr("There was an error with notebook ") +notebook
View Full Code Here

Examples of com.trolltech.qt.gui.QIcon

 
  // Constructor
  public UpgradeAvailableDialog() {
    okPressed = false;
    setWindowTitle(tr("Upgrade Available"));
    setWindowIcon(new QIcon(iconPath+"nevernote.png"));
    QVBoxLayout grid = new QVBoxLayout();
    QGridLayout input = new QGridLayout();
    QHBoxLayout button = new QHBoxLayout();
    setLayout(grid);   
     
View Full Code Here

Examples of com.trolltech.qt.gui.QIcon

  private final String iconPath = new String("classpath:cx/fbn/nevernote/icons/");
 
  // Constructor
  public FindDialog() {
    setWindowTitle(tr("Find"));
    setWindowIcon(new QIcon(iconPath+"search.png"));
    QGridLayout grid = new QGridLayout();
    setLayout(grid);

    text = new QLineEdit();
    wrap = new QCheckBox();
View Full Code Here

Examples of com.trolltech.qt.gui.QIcon

    private final String iconPath = new String("classpath:cx/fbn/nevernote/icons/");
 
  public ConfigDialog(QWidget parent) {
   
    contentsWidget = new QListWidget(this);
    setWindowIcon(new QIcon(iconPath+"config.png"));
    contentsWidget.setViewMode(QListView.ViewMode.IconMode);
    contentsWidget.setIconSize(new QSize(96, 84));
    contentsWidget.setMovement(QListView.Movement.Static);
    contentsWidget.setMaximumWidth(128);
    contentsWidget.setSpacing(12);
View Full Code Here

Examples of com.trolltech.qt.gui.QIcon

   
    QListWidgetItem formatsButton = new QListWidgetItem(contentsWidget);
    formatsButton.setText(tr("Appearance"));
    formatsButton.setTextAlignment(AlignmentFlag.AlignHCenter.value());
    formatsButton.setFlags(ItemFlag.ItemIsSelectable, ItemFlag.ItemIsEnabled);
    formatsButton.setIcon(new QIcon(iconPath+"appearance.jpg"));
   
    QListWidgetItem fontButton = new QListWidgetItem(contentsWidget);
    fontButton.setText(tr("Fonts"));
    fontButton.setTextAlignment(AlignmentFlag.AlignHCenter.value());
    fontButton.setFlags(ItemFlag.ItemIsSelectable, ItemFlag.ItemIsEnabled);
    fontButton.setIcon(new QIcon(iconPath+"fontConfig.png"));
   
    QListWidgetItem indexButton = new QListWidgetItem(contentsWidget);
    indexButton.setText(tr("Indexing"));
    indexButton.setTextAlignment(AlignmentFlag.AlignHCenter.value());
    indexButton.setFlags(ItemFlag.ItemIsSelectable, ItemFlag.ItemIsEnabled);
    indexButton.setIcon(new QIcon(iconPath+"search_config.jpg"));

    QListWidgetItem spellButton = new QListWidgetItem(contentsWidget);
    spellButton.setText(tr("Spell Check"));
    spellButton.setTextAlignment(AlignmentFlag.AlignHCenter.value());
    spellButton.setFlags(ItemFlag.ItemIsSelectable, ItemFlag.ItemIsEnabled);
    spellButton.setIcon(new QIcon(iconPath+"dictionary.png"));

    QListWidgetItem configButton = new QListWidgetItem(contentsWidget);
    configButton.setText(tr("Connection"));
    configButton.setTextAlignment(AlignmentFlag.AlignHCenter.value());
    configButton.setFlags(ItemFlag.ItemIsSelectable, ItemFlag.ItemIsEnabled);
    configButton.setIcon(new QIcon(iconPath+"synchronize.png"));

    QListWidgetItem debugButton = new QListWidgetItem(contentsWidget);
    debugButton.setText(tr("Debugging"));
    debugButton.setTextAlignment(AlignmentFlag.AlignHCenter.value());
    debugButton.setFlags(ItemFlag.ItemIsSelectable, ItemFlag.ItemIsEnabled);
    debugButton.setIcon(new QIcon(iconPath+"debug.jpg"));
   
    contentsWidget.currentItemChanged.connect(this, "changePage(QListWidgetItem, QListWidgetItem)");
  }
View Full Code Here

Examples of com.trolltech.qt.gui.QIcon

 
  // Constructor
  public LogFileDialog(List<String> l) {
    setWindowTitle(tr("Application Logs"));
    logs = l;
    setWindowIcon(new QIcon(iconPath+"notebook-green.png"));
    QVBoxLayout main = new QVBoxLayout();
    setLayout(main);
    fileCombo = new QComboBox(this);
   
    QHBoxLayout comboLayout = new QHBoxLayout();
View Full Code Here

Examples of com.trolltech.qt.gui.QIcon

  private final QComboBox      sortOrder;
  private boolean stopButtonPressed = false;
  private final QPushButton stopButton;
 
  public PublishNotebook(String userid, String url, Notebook n) {
    setWindowIcon(new QIcon(iconPath+"globe.png"));
    okClicked = false;

   
    okButton = new QPushButton();
    okButton.setText(tr("OK"));
View Full Code Here

Examples of com.trolltech.qt.gui.QIcon

 
  // Constructor
  public GeoDialog() {
    okPressed = false;
    setWindowTitle(tr("Geo Location"));
    setWindowIcon(new QIcon(iconPath+"globe.png"));
    QGridLayout grid = new QGridLayout();
    setLayout(grid);
    QGridLayout passwordGrid = new QGridLayout();
    QGridLayout buttonGrid = new QGridLayout();
   
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.