Changeset 793 for Vago


Ignore:
Timestamp:
Apr 7, 2013, 1:30:00 AM (12 years ago)
Author:
s10k
Message:

mac resolutions usually are higher than in pcs. So I've updated the app
to start as 800x600 (in mac).

Location:
Vago/trunk/Vago
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • Vago/trunk/Vago/Vago.pro.user

    r792 r793  
    11<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE QtCreatorProject>
    3 <!-- Written by Qt Creator 2.4.1, 2013-04-07T00:10:12. -->
     3<!-- Written by Qt Creator 2.4.1, 2013-04-07T00:29:09. -->
    44<qtcreator>
    55 <data>
     
    5353   <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop</value>
    5454   <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Target.DesktopTarget</value>
    55    <value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">0</value>
     55   <value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">1</value>
    5656   <value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value>
    5757   <value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value>
  • Vago/trunk/Vago/mainwindow.cpp

    r792 r793  
    118118    ui->actionWindows->setChecked(false);
    119119    ui->actionMac_Windows_demo->setChecked(true);
     120    resize(800,600); // Mac OS pcs should be able to render this resolution without any problem. It's also better
     121    // because the components on mac use more space
    120122#endif
    121123
  • Vago/trunk/Vago/packageWizard/packagepage2.ui

    r792 r793  
    262262      <size>
    263263       <width>20</width>
    264        <height>10</height>
     264       <height>40</height>
    265265      </size>
    266266     </property>
  • Vago/trunk/Vago/packageWizard/packagewizard.cpp

    r789 r793  
    1515
    1616    //Center and resize QWizard (http://www.thedazzlersinc.com/source/2012/06/04/qt-center-window-in-screen/)
     17#ifdef Q_WS_WIN
    1718    myWizard.resize(640,480);
     19#else
     20    myWizard.resize(800,600); // Mac OS pcs should be able to render this resolution without any problem. It's also better
     21    // because the components on mac use more space
     22#endif
    1823    QRect position = myWizard.frameGeometry();
    1924    position.moveCenter(QDesktopWidget().availableGeometry().center());
  • Vago/trunk/Vago/soundWizard/soundpage4.ui

    r792 r793  
    143143      <string>Audio Channels</string>
    144144     </property>
    145      <layout class="QVBoxLayout" name="verticalLayout_2">
     145     <layout class="QHBoxLayout" name="horizontalLayout">
    146146      <item>
    147147       <widget class="QRadioButton" name="rbStereo22">
  • Vago/trunk/Vago/soundWizard/soundwizard.cpp

    r789 r793  
    2222
    2323    //Center and resize QWizard (http://www.thedazzlersinc.com/source/2012/06/04/qt-center-window-in-screen/)
     24#ifdef Q_WS_WIN
    2425    this->myWizard->resize(640,480);
     26#else
     27    this->myWizard->resize(800,600); // Mac OS pcs should be able to render this resolution without any problem. It's also better
     28    // because the components on mac use more space
     29#endif
    2530    QRect position = this->myWizard->frameGeometry();
    2631    position.moveCenter(QDesktopWidget().availableGeometry().center());
Note: See TracChangeset for help on using the changeset viewer.